Class SchemaRestClient
- java.lang.Object
-
- org.apache.syncope.client.console.rest.BaseRestClient
-
- org.apache.syncope.client.console.rest.SchemaRestClient
-
- All Implemented Interfaces:
Serializable
,RestClient
public class SchemaRestClient extends BaseRestClient
Console client for invoking rest schema services.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
-
Constructor Summary
Constructors Constructor Description SchemaRestClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(SchemaType schemaType, SchemaTO modelObject)
void
delete(SchemaType schemaType, String key)
List<String>
getSchemaNames(SchemaType schemaType)
<T extends SchemaTO>
List<T>getSchemas(SchemaType schemaType, String keyword, String... anyTypeClasses)
<T extends SchemaTO>
List<T>getSchemas(SchemaType schemaType, AnyTypeKind kind)
<T extends SchemaTO>
Tread(SchemaType schemaType, String key)
void
update(SchemaType schemaType, SchemaTO modelObject)
-
Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
getSchemas
public <T extends SchemaTO> List<T> getSchemas(SchemaType schemaType, AnyTypeKind kind)
-
getSchemas
public <T extends SchemaTO> List<T> getSchemas(SchemaType schemaType, String keyword, String... anyTypeClasses)
-
getSchemaNames
public List<String> getSchemaNames(SchemaType schemaType)
-
read
public <T extends SchemaTO> T read(SchemaType schemaType, String key)
-
create
public void create(SchemaType schemaType, SchemaTO modelObject)
-
update
public void update(SchemaType schemaType, SchemaTO modelObject)
-
delete
public void delete(SchemaType schemaType, String key)
-
-