Class JPARole
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.JPARole
-
- All Implemented Interfaces:
Serializable,Entity,ProvidedKeyEntity,Role
@Entity @RoleCheck public class JPARole extends AbstractProvidedKeyEntity implements Role
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTABLEprotected static TypeReference<Set<String>>TYPEREF-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPARole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(DynRealm dynamicRealm)booleanadd(Privilege privilege)booleanadd(Realm realm)StringgetAnyLayout()DynRoleMembershipgetDynMembership()List<? extends DynRealm>getDynRealms()Set<String>getEntitlements()Set<? extends Privilege>getPrivileges()Set<? extends Privilege>getPrivileges(Application application)List<? extends Realm>getRealms()protected voidjson2list(boolean clearFirst)voidlist2json()voidpostLoad()voidpostSave()voidsetAnyLayout(String anyLayout)voidsetDynMembership(DynRoleMembership dynMembership)-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractProvidedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.ProvidedKeyEntity
setKey
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
TYPEREF
protected static final TypeReference<Set<String>> TYPEREF
-
-
Method Detail
-
getEntitlements
public Set<String> getEntitlements()
- Specified by:
getEntitlementsin interfaceRole
-
getDynRealms
public List<? extends DynRealm> getDynRealms()
- Specified by:
getDynRealmsin interfaceRole
-
getDynMembership
public DynRoleMembership getDynMembership()
- Specified by:
getDynMembershipin interfaceRole
-
setDynMembership
public void setDynMembership(DynRoleMembership dynMembership)
- Specified by:
setDynMembershipin interfaceRole
-
getAnyLayout
public String getAnyLayout()
- Specified by:
getAnyLayoutin interfaceRole
-
setAnyLayout
public void setAnyLayout(String anyLayout)
- Specified by:
setAnyLayoutin interfaceRole
-
getPrivileges
public Set<? extends Privilege> getPrivileges(Application application)
- Specified by:
getPrivilegesin interfaceRole
-
getPrivileges
public Set<? extends Privilege> getPrivileges()
- Specified by:
getPrivilegesin interfaceRole
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-