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 String
TABLE
protected 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 boolean
add(DynRealm dynamicRealm)
boolean
add(Privilege privilege)
boolean
add(Realm realm)
String
getAnyLayout()
DynRoleMembership
getDynMembership()
List<? extends DynRealm>
getDynRealms()
Set<String>
getEntitlements()
Set<? extends Privilege>
getPrivileges()
Set<? extends Privilege>
getPrivileges(Application application)
List<? extends Realm>
getRealms()
protected void
json2list(boolean clearFirst)
void
list2json()
void
postLoad()
void
postSave()
void
setAnyLayout(String anyLayout)
void
setDynMembership(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:
getEntitlements
in interfaceRole
-
getDynRealms
public List<? extends DynRealm> getDynRealms()
- Specified by:
getDynRealms
in interfaceRole
-
getDynMembership
public DynRoleMembership getDynMembership()
- Specified by:
getDynMembership
in interfaceRole
-
setDynMembership
public void setDynMembership(DynRoleMembership dynMembership)
- Specified by:
setDynMembership
in interfaceRole
-
getAnyLayout
public String getAnyLayout()
- Specified by:
getAnyLayout
in interfaceRole
-
setAnyLayout
public void setAnyLayout(String anyLayout)
- Specified by:
setAnyLayout
in interfaceRole
-
getPrivileges
public Set<? extends Privilege> getPrivileges(Application application)
- Specified by:
getPrivileges
in interfaceRole
-
getPrivileges
public Set<? extends Privilege> getPrivileges()
- Specified by:
getPrivileges
in interfaceRole
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-