Class JPAGroup
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractAny<GPlainAttr>
-
- org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup
-
- All Implemented Interfaces:
Serializable
,Any<GPlainAttr>
,Attributable<GPlainAttr>
,Entity
,Group
- Direct Known Subclasses:
JPAJSONGroup
@Entity @GroupCheck public class JPAGroup extends AbstractAny<GPlainAttr> implements Group
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Group
groupOwner
static String
TABLE
protected User
userOwner
-
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 JPAGroup()
-
Method Summary
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractAny
getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getStatus, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
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.Any
getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getStatus, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
userOwner
protected User userOwner
-
groupOwner
protected Group groupOwner
-
-
Method Detail
-
getType
public AnyType getType()
- Specified by:
getType
in interfaceAny<GPlainAttr>
-
setType
public void setType(AnyType type)
- Specified by:
setType
in interfaceAny<GPlainAttr>
-
add
public boolean add(ExternalResource resource)
- Specified by:
add
in interfaceAny<GPlainAttr>
-
getResources
public List<? extends ExternalResource> getResources()
- Specified by:
getResources
in interfaceAny<GPlainAttr>
-
getUserOwner
public User getUserOwner()
- Specified by:
getUserOwner
in interfaceGroup
-
setUserOwner
public void setUserOwner(User userOwner)
- Specified by:
setUserOwner
in interfaceGroup
-
getGroupOwner
public Group getGroupOwner()
- Specified by:
getGroupOwner
in interfaceGroup
-
setGroupOwner
public void setGroupOwner(Group group)
- Specified by:
setGroupOwner
in interfaceGroup
-
add
public boolean add(GPlainAttr attr)
- Specified by:
add
in interfaceAttributable<GPlainAttr>
-
remove
public boolean remove(GPlainAttr attr)
- Specified by:
remove
in interfaceAttributable<GPlainAttr>
-
getPlainAttr
public Optional<? extends GPlainAttr> getPlainAttr(String plainSchema)
Description copied from interface:Attributable
Returns the plain attribute for this instance and the given schema name.s- Specified by:
getPlainAttr
in interfaceAttributable<GPlainAttr>
- Parameters:
plainSchema
- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
getPlainAttrs
public List<? extends GPlainAttr> getPlainAttrs()
Description copied from interface:Attributable
Returns the plain attributes for this instance.- Specified by:
getPlainAttrs
in interfaceAttributable<GPlainAttr>
- Returns:
- plain attribute for this instance
-
getUDynMembership
public UDynGroupMembership getUDynMembership()
- Specified by:
getUDynMembership
in interfaceGroup
-
setUDynMembership
public void setUDynMembership(UDynGroupMembership uDynMembership)
- Specified by:
setUDynMembership
in interfaceGroup
-
add
public boolean add(AnyTypeClass auxClass)
- Specified by:
add
in interfaceAny<GPlainAttr>
-
getAuxClasses
public List<? extends AnyTypeClass> getAuxClasses()
- Specified by:
getAuxClasses
in interfaceAny<GPlainAttr>
-
add
public boolean add(ADynGroupMembership dynGroupMembership)
-
getADynMembership
public Optional<? extends ADynGroupMembership> getADynMembership(AnyType anyType)
- Specified by:
getADynMembership
in interfaceGroup
-
getADynMemberships
public List<? extends ADynGroupMembership> getADynMemberships()
- Specified by:
getADynMemberships
in interfaceGroup
-
add
public boolean add(TypeExtension typeExtension)
-
getTypeExtension
public Optional<? extends TypeExtension> getTypeExtension(AnyType anyType)
- Specified by:
getTypeExtension
in interfaceGroup
-
getTypeExtensions
public List<? extends TypeExtension> getTypeExtensions()
- Specified by:
getTypeExtensions
in interfaceGroup
-
-