Package org.openiam.idm.srvc.grp.domain
Class GroupEntity
- java.lang.Object
-
- org.openiam.base.domain.KeyEntity
-
- org.openiam.base.domain.AbstractKeyNameEntity
-
- org.openiam.base.domain.AbstractMetadataTypeEntity
-
- org.openiam.base.domain.AbstractEntitlementPolicyEntity
-
- org.openiam.idm.srvc.grp.domain.GroupEntity
-
- All Implemented Interfaces:
Serializable
,BaseIdentity
,IManagedSystemEntity
,IUserToObjectLimitedEntity
,GraphIdAware
@Entity public class GroupEntity extends AbstractEntitlementPolicyEntity implements IManagedSystemEntity, IUserToObjectLimitedEntity, GraphIdAware
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.openiam.base.domain.AbstractMetadataTypeEntity
type
-
Fields inherited from class org.openiam.base.domain.AbstractKeyNameEntity
name
-
-
Constructor Summary
Constructors Constructor Description GroupEntity()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openiam.base.BaseIdentity
getId, setId
-
Methods inherited from interface org.openiam.graph.model.GraphIdAware
getGraphId
-
Methods inherited from interface org.openiam.base.domain.IManagedSystemEntity
getManagedSystem, setManagedSystem
-
Methods inherited from interface org.openiam.base.domain.IUserToObjectLimitedEntity
getMaxUserNumber, setMaxUserNumber
-
-
-
-
Method Detail
-
getName
@Size(max=255, message="group.name.too.long") public @Size(max=255,message="group.name.too.long") String getName()
-
addChildGroup
public void addChildGroup(GroupEntity entity, AccessRightEntity right, Date startDate, Date endDate)
-
addParentGroup
public void addParentGroup(GroupEntity parent, AccessRightEntity right, Date startDate, Date endDate)
-
addParentGroup
public void addParentGroup(GroupEntity parent, Collection<AccessRightEntity> rights, Date startDate, Date endDate)
-
addChildGroup
public void addChildGroup(GroupEntity entity, Collection<AccessRightEntity> rights, Date startDate, Date endDate)
-
hasChildGroup
public boolean hasChildGroup(String groupId)
-
removeChildGroup
public void removeChildGroup(GroupEntity entity)
-
getOrganization
public GroupToOrgMembershipXrefEntity getOrganization(String organizationId)
-
getRole
public RoleToGroupMembershipXrefEntity getRole(String roleId)
-
getChild
public GroupToGroupMembershipXrefEntity getChild(String childId)
-
getParent
public GroupToGroupMembershipXrefEntity getParent(String parentId)
-
removeAttribute
public void removeAttribute(String id)
-
addAttribute
public void addAttribute(GroupAttributeEntity entity)
-
addUser
public void addUser(UserEntity entity, AccessRightEntity right, Date startDate, Date endDate)
-
addUser
public void addUser(UserEntity entity, Collection<AccessRightEntity> rights, Date startDate, Date endDate)
-
getResource
public GroupToResourceMembershipXrefEntity getResource(String resourceId)
-
addResource
public void addResource(ResourceEntity entity, Collection<AccessRightEntity> rights, Date startDate, Date endDate)
-
removeResource
public void removeResource(ResourceEntity entity)
-
getUser
public UserToGroupMembershipXrefEntity getUser(String userId)
-
addApproverAssociation
public void addApproverAssociation(ApproverAssociationEntity entity)
-
addOrganization
public void addOrganization(OrganizationEntity entity, Collection<AccessRightEntity> rights, Date startDate, Date endDate)
-
-