Class JPAVirSchemaDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<VirSchema>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAVirSchemaDAO
-
- All Implemented Interfaces:
DAO<VirSchema>
,SchemaDAO<VirSchema>
,VirSchemaDAO
public class JPAVirSchemaDAO extends AbstractDAO<VirSchema> implements VirSchemaDAO
-
-
Field Summary
Fields Modifier and Type Field Description protected ExternalResourceDAO
resourceDAO
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPAVirSchemaDAO(ExternalResourceDAO resourceDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
VirSchema
find(String key)
List<VirSchema>
find(String resource, String anyType)
List<String>
find(ExternalResource resource)
List<VirSchema>
findAll()
List<VirSchema>
findByAnyTypeClasses(Collection<AnyTypeClass> anyTypeClasses)
List<VirSchema>
findByKeyword(String keyword)
VirSchema
save(VirSchema schema)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Field Detail
-
resourceDAO
protected final ExternalResourceDAO resourceDAO
-
-
Constructor Detail
-
JPAVirSchemaDAO
public JPAVirSchemaDAO(ExternalResourceDAO resourceDAO)
-
-
Method Detail
-
findByAnyTypeClasses
public List<VirSchema> findByAnyTypeClasses(Collection<AnyTypeClass> anyTypeClasses)
- Specified by:
findByAnyTypeClasses
in interfaceSchemaDAO<VirSchema>
-
find
public List<String> find(ExternalResource resource)
- Specified by:
find
in interfaceVirSchemaDAO
-
find
public List<VirSchema> find(String resource, String anyType)
- Specified by:
find
in interfaceVirSchemaDAO
-
findByKeyword
public List<VirSchema> findByKeyword(String keyword)
- Specified by:
findByKeyword
in interfaceSchemaDAO<VirSchema>
-
-