Class PGJPAJSONPlainSchemaDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<PlainSchema>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAPlainSchemaDAO
-
- org.apache.syncope.core.persistence.jpa.dao.PGJPAJSONPlainSchemaDAO
-
- All Implemented Interfaces:
DAO<PlainSchema>
,PlainSchemaDAO
,SchemaDAO<PlainSchema>
public class PGJPAJSONPlainSchemaDAO extends JPAPlainSchemaDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description PGJPAJSONPlainSchemaDAO(AnyUtilsFactory anyUtilsFactory, PlainAttrDAO plainAttrDAO, ExternalResourceDAO resourceDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deleteAttrs(PlainSchema schema)
<T extends PlainAttr<?>>
List<T>findAttrs(PlainSchema schema, Class<T> reference)
protected <T extends PlainAttr<?>>
AnyTypeKindgetAnyTypeKind(Class<T> plainAttrClass)
<T extends PlainAttr<?>>
booleanhasAttrs(PlainSchema schema, Class<T> reference)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.JPAPlainSchemaDAO
delete, find, findAll, findByAnyTypeClasses, findByKeyword, findByValidator, save
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Constructor Detail
-
PGJPAJSONPlainSchemaDAO
public PGJPAJSONPlainSchemaDAO(AnyUtilsFactory anyUtilsFactory, PlainAttrDAO plainAttrDAO, ExternalResourceDAO resourceDAO)
-
-
Method Detail
-
hasAttrs
public <T extends PlainAttr<?>> boolean hasAttrs(PlainSchema schema, Class<T> reference)
- Specified by:
hasAttrs
in interfacePlainSchemaDAO
- Overrides:
hasAttrs
in classJPAPlainSchemaDAO
-
findAttrs
public <T extends PlainAttr<?>> List<T> findAttrs(PlainSchema schema, Class<T> reference)
- Specified by:
findAttrs
in interfacePlainSchemaDAO
- Overrides:
findAttrs
in classJPAPlainSchemaDAO
-
getAnyTypeKind
protected <T extends PlainAttr<?>> AnyTypeKind getAnyTypeKind(Class<T> plainAttrClass)
-
deleteAttrs
protected void deleteAttrs(PlainSchema schema)
- Overrides:
deleteAttrs
in classJPAPlainSchemaDAO
-
-