Class AbstractGroupableRelatable<L extends Any,M extends Membership<L>,REL extends Relationship<L,AnyObject>>
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.AbstractAttributable
org.apache.syncope.core.persistence.jpa.entity.AbstractAny
org.apache.syncope.core.persistence.jpa.entity.AbstractRelatable<L,REL>
org.apache.syncope.core.persistence.jpa.entity.AbstractGroupableRelatable<L,M,REL>
- All Implemented Interfaces:
Serializable,Any,Attributable,Entity,Groupable<L,,M, REL> Relatable<L,REL>
- Direct Known Subclasses:
JPAAnyObject,JPAUser
public abstract class AbstractGroupableRelatable<L extends Any,M extends Membership<L>,REL extends Relationship<L,AnyObject>>
extends AbstractRelatable<L,REL>
implements Groupable<L,M,REL>
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOGFields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMembership(String groupKey) getPlainAttr(String plainSchema) Returns the plain attribute for this instance and the given schema name.sgetPlainAttr(String plainSchema, Membership<?> membership) Returns the plain attribute for this instance, the given schema name and the given membership - if found,NULLotherwise.Returns the plain attributes for this instance.getPlainAttrs(String plainSchema) Returns the list of plain attributes for this instance and the given schema name (including membeship attributes, as opposite toAttributable.getPlainAttr(java.lang.String)).getPlainAttrs(Membership<?> membership) Returns the list of plain attributes for this instance and the given membership.Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractRelatable
getRelationship, getRelationships, getRelationshipsMethods 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, setStatusMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractAttributable
getPlainAttrsJSON, getPlainAttrsList, list2json, setPlainAttrsJSONMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKeyMethods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, setTypeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
add, removeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Groupable
add, getMemberships, removeMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Relatable
add, getRelationships
-
Constructor Details
-
AbstractGroupableRelatable
public AbstractGroupableRelatable()
-
-
Method Details
-
getPlainAttrs
Description copied from interface:AttributableReturns the plain attributes for this instance.- Specified by:
getPlainAttrsin interfaceAttributable- Returns:
- plain attribute for this instance
-
getPlainAttr
Description copied from interface:AttributableReturns the plain attribute for this instance and the given schema name.s- Specified by:
getPlainAttrin interfaceAttributable- Parameters:
plainSchema- plain schema name- Returns:
- plain attribute for this instance and the given schema name
-
getPlainAttr
Description copied from interface:GroupableReturns the plain attribute for this instance, the given schema name and the given membership - if found,NULLotherwise.- Specified by:
getPlainAttrin interfaceGroupable<L extends Any,M extends Membership<L>, REL extends Relationship<L, AnyObject>> - Parameters:
plainSchema- plain schema namemembership- membership- Returns:
- plain attribute for this instance, the given schema name and the given membership
-
getPlainAttrs
Description copied from interface:GroupableReturns the list of plain attributes for this instance and the given schema name (including membeship attributes, as opposite toAttributable.getPlainAttr(java.lang.String)).- Specified by:
getPlainAttrsin interfaceGroupable<L extends Any,M extends Membership<L>, REL extends Relationship<L, AnyObject>> - Parameters:
plainSchema- plain schema name- Returns:
- list of plain attributes for this instance and the given schema name (including membeship attributes)
-
getPlainAttrs
Description copied from interface:GroupableReturns the list of plain attributes for this instance and the given membership.- Specified by:
getPlainAttrsin interfaceGroupable<L extends Any,M extends Membership<L>, REL extends Relationship<L, AnyObject>> - Parameters:
membership- membership- Returns:
- list of plain attributes for this instance and the given membership
-
getMembership
- Specified by:
getMembershipin interfaceGroupable<L extends Any,M extends Membership<L>, REL extends Relationship<L, AnyObject>>
-