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 Static Methods Concrete Methods Modifier and Type Method Description static voidcreate(org.apache.syncope.common.lib.types.SchemaType schemaType, org.apache.syncope.common.lib.to.SchemaTO modelObject)static org.apache.syncope.common.lib.to.DerSchemaTOdeleteDerSchema(String name)static org.apache.syncope.common.lib.to.PlainSchemaTOdeletePlainSchema(String name)static org.apache.syncope.common.lib.to.VirSchemaTOdeleteVirSchema(String name)static List<String>getDerSchemaNames()static List<String>getPlainSchemaNames()static List<String>getSchemaNames(org.apache.syncope.common.lib.types.SchemaType schemaType)static <T extends org.apache.syncope.common.lib.to.SchemaTO>
List<T>getSchemas(org.apache.syncope.common.lib.types.SchemaType schemaType, String keyword, String... anyTypeClasses)static <T extends org.apache.syncope.common.lib.to.SchemaTO>
List<T>getSchemas(org.apache.syncope.common.lib.types.SchemaType schemaType, org.apache.syncope.common.lib.types.AnyTypeKind kind)static List<String>getVirSchemaNames()static <T extends org.apache.syncope.common.lib.to.SchemaTO>
Tread(org.apache.syncope.common.lib.types.SchemaType schemaType, String key)static voidupdate(org.apache.syncope.common.lib.types.SchemaType schemaType, org.apache.syncope.common.lib.to.SchemaTO modelObject)-
Methods inherited from class org.apache.syncope.client.enduser.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
-
-
-
Method Detail
-
getSchemas
public static <T extends org.apache.syncope.common.lib.to.SchemaTO> List<T> getSchemas(org.apache.syncope.common.lib.types.SchemaType schemaType, org.apache.syncope.common.lib.types.AnyTypeKind kind)
-
getSchemas
public static <T extends org.apache.syncope.common.lib.to.SchemaTO> List<T> getSchemas(org.apache.syncope.common.lib.types.SchemaType schemaType, String keyword, String... anyTypeClasses)
-
getSchemaNames
public static List<String> getSchemaNames(org.apache.syncope.common.lib.types.SchemaType schemaType)
-
read
public static <T extends org.apache.syncope.common.lib.to.SchemaTO> T read(org.apache.syncope.common.lib.types.SchemaType schemaType, String key)
-
create
public static void create(org.apache.syncope.common.lib.types.SchemaType schemaType, org.apache.syncope.common.lib.to.SchemaTO modelObject)
-
update
public static void update(org.apache.syncope.common.lib.types.SchemaType schemaType, org.apache.syncope.common.lib.to.SchemaTO modelObject)
-
deletePlainSchema
public static org.apache.syncope.common.lib.to.PlainSchemaTO deletePlainSchema(String name)
-
deleteDerSchema
public static org.apache.syncope.common.lib.to.DerSchemaTO deleteDerSchema(String name)
-
deleteVirSchema
public static org.apache.syncope.common.lib.to.VirSchemaTO deleteVirSchema(String name)
-
-