Class SchemaRestClient
- java.lang.Object
-
- org.apache.syncope.client.enduser.rest.BaseRestClient
-
- org.apache.syncope.client.enduser.rest.SchemaRestClient
-
- All Implemented Interfaces:
Serializable
,RestClient
public class SchemaRestClient extends BaseRestClient
Enduser client for invoking rest schema services.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.client.enduser.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)
DerSchemaTO
deleteDerSchema(String name)
PlainSchemaTO
deletePlainSchema(String name)
VirSchemaTO
deleteVirSchema(String name)
List<String>
getDerSchemaNames()
List<String>
getPlainSchemaNames()
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)
List<String>
getVirSchemaNames()
<T extends SchemaTO>
Tread(SchemaType schemaType, String key)
void
update(SchemaType schemaType, SchemaTO modelObject)
-
Methods inherited from class org.apache.syncope.client.enduser.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)
-
deletePlainSchema
public PlainSchemaTO deletePlainSchema(String name)
-
deleteDerSchema
public DerSchemaTO deleteDerSchema(String name)
-
deleteVirSchema
public VirSchemaTO deleteVirSchema(String name)
-
-