Class JPAJSONGroup
- 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
-
- org.apache.syncope.core.persistence.jpa.entity.group.JPAJSONGroup
-
- All Implemented Interfaces:
Serializable
,Any<GPlainAttr>
,Attributable<GPlainAttr>
,Entity
,Group
,JSONAttributable<Group>
@Entity @JPAJSONAttributableCheck public class JPAJSONGroup extends JPAGroup implements JSONAttributable<Group>, Group
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup
groupOwner, TABLE, 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 JPAJSONGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(GPlainAttr attr)
boolean
add(JSONPlainAttr<Group> attr)
List<JPAJSONGPlainAttr>
getPlainAttrList()
List<? extends GPlainAttr>
getPlainAttrs()
Returns the plain attributes for this instance.String
getPlainAttrsJSON()
boolean
remove(GPlainAttr attr)
void
setPlainAttrsJSON(String plainAttrs)
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.group.JPAGroup
add, add, add, add, getADynMembership, getADynMemberships, getAuxClasses, getGroupOwner, getName, getPlainAttr, getResources, getType, getTypeExtension, getTypeExtensions, getUDynMembership, getUserOwner, setGroupOwner, setName, setType, setUDynMembership, setUserOwner
-
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
add, add, getAuxClasses, getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getResources, getStatus, getType, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus, setType
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
getPlainAttr
-
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.group.Group
add, add, getADynMembership, getADynMemberships, getGroupOwner, getName, getTypeExtension, getTypeExtensions, getUDynMembership, getUserOwner, setGroupOwner, setName, setUDynMembership, setUserOwner
-
-
-
-
Method Detail
-
getPlainAttrsJSON
public String getPlainAttrsJSON()
- Specified by:
getPlainAttrsJSON
in interfaceJSONAttributable<Group>
-
setPlainAttrsJSON
public void setPlainAttrsJSON(String plainAttrs)
- Specified by:
setPlainAttrsJSON
in interfaceJSONAttributable<Group>
-
getPlainAttrList
public List<JPAJSONGPlainAttr> getPlainAttrList()
- Specified by:
getPlainAttrList
in interfaceJSONAttributable<Group>
-
add
public boolean add(JSONPlainAttr<Group> attr)
- Specified by:
add
in interfaceJSONAttributable<Group>
-
add
public boolean add(GPlainAttr attr)
- Specified by:
add
in interfaceAttributable<GPlainAttr>
- Overrides:
add
in classJPAGroup
-
remove
public boolean remove(GPlainAttr attr)
- Specified by:
remove
in interfaceAttributable<GPlainAttr>
- Overrides:
remove
in classJPAGroup
-
getPlainAttrs
public List<? extends GPlainAttr> getPlainAttrs()
Description copied from interface:Attributable
Returns the plain attributes for this instance.- Specified by:
getPlainAttrs
in interfaceAttributable<GPlainAttr>
- Overrides:
getPlainAttrs
in classJPAGroup
- Returns:
- plain attribute for this instance
-
-