Class JPAPlainAttrDAO
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.dao.AbstractDAO<PlainAttr<?>>
-
- org.apache.syncope.core.persistence.jpa.dao.JPAPlainAttrDAO
-
- All Implemented Interfaces:
DAO<PlainAttr<?>>
,PlainAttrDAO
public class JPAPlainAttrDAO extends AbstractDAO<PlainAttr<?>> implements PlainAttrDAO
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
LOG
-
-
Constructor Summary
Constructors Constructor Description JPAPlainAttrDAO()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends PlainAttr<?>>
voiddelete(T plainAttr)
Deletes the given plain attribute and removes it from its owner.static <T extends PlainAttr<?>>
Class<? extends AbstractPlainAttr<?>>getEntityReference(Class<T> reference)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.dao.AbstractDAO
detach, entityManager, entityManagerFactory, isOracle, refresh
-
-
-
-
Method Detail
-
getEntityReference
public static <T extends PlainAttr<?>> Class<? extends AbstractPlainAttr<?>> getEntityReference(Class<T> reference)
-
delete
public <T extends PlainAttr<?>> void delete(T plainAttr)
Description copied from interface:PlainAttrDAO
Deletes the given plain attribute and removes it from its owner.- Specified by:
delete
in interfacePlainAttrDAO
- Type Parameters:
T
- actual plain attr class- Parameters:
plainAttr
- plain attribute
-
-