Interface GroupableRelatable<L extends Any<P>,M extends Membership<L>,P extends GroupablePlainAttr<L,M>,R extends Any<?>,REL extends Relationship<L,R>>
- All Superinterfaces:
Any<P>
,Attributable<P>
,Entity
,Serializable
- All Known Implementing Classes:
AbstractGroupableRelatable
,AbstractGroupableRelatable
,JPAAnyObject
,JPAUser
,Neo4jAnyObject
,Neo4jUser
public interface GroupableRelatable<L extends Any<P>,M extends Membership<L>,P extends GroupablePlainAttr<L,M>,R extends Any<?>,REL extends Relationship<L,R>>
extends Any<P>
-
Field Summary
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
getMembership
(String groupKey) getPlainAttr
(String plainSchema, Membership<?> membership) Returns the plain attribute for this instance, the given schema name and the given membership - if found,NULL
otherwise.Collection
<? extends P> 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)
).Collection
<? extends P> getPlainAttrs
(Membership<?> membership) Returns the list of plain attributes for this instance and the given membership.getRelationship
(RelationshipType relationshipType, String otherEndKey) Collection
<? extends REL> getRelationships
(String otherEndKey) Collection
<? extends REL> getRelationships
(RelationshipType relationshipType) boolean
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
add, getPlainAttr, getPlainAttrs, remove
-
Method Details
-
getPlainAttr
Returns the plain attribute for this instance, the given schema name and the given membership - if found,NULL
otherwise.- Parameters:
plainSchema
- plain schema namemembership
- membership- Returns:
- plain attribute for this instance, the given schema name and the given membership
-
getPlainAttrs
Returns the list of plain attributes for this instance and the given schema name (including membeship attributes, as opposite toAttributable.getPlainAttr(java.lang.String)
).- Parameters:
plainSchema
- plain schema name- Returns:
- list of plain attributes for this instance and the given schema name (including membeship attributes)
-
getPlainAttrs
Returns the list of plain attributes for this instance and the given membership.- Parameters:
membership
- membership- Returns:
- list of plain attributes for this instance and the given membership
-
add
-
remove
-
getMembership
-
getMemberships
-
add
-
getRelationship
-
getRelationships
-
getRelationships
-
getRelationships
-