Package org.openiam.idm.searchbeans
Class EntitlementsSearchBean<T extends AbstractMetadataTypeDTO,KeyType extends Serializable>
- java.lang.Object
-
- org.openiam.idm.searchbeans.AbstractSearchBean<T,KeyType>
-
- org.openiam.idm.searchbeans.AbstractKeyNameSearchBean<T,KeyType>
-
- org.openiam.idm.searchbeans.AbstractMetadataTypeSearchBean<T,KeyType>
-
- org.openiam.idm.searchbeans.EntitlementsSearchBean<T,KeyType>
-
- All Implemented Interfaces:
Serializable
,DisplayNameAwareSearchBean
,SearchBean<T,KeyType>
- Direct Known Subclasses:
AbstractAttributeAwareSearchBean
,OrganizationSearchBean
public abstract class EntitlementsSearchBean<T extends AbstractMetadataTypeDTO,KeyType extends Serializable> extends AbstractMetadataTypeSearchBean<T,KeyType>
Created by: Alexander Duckardt Date: 8/4/14.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
excludeOwnersAndAdmins
is used avoid owners and admins attachement with group/role object.protected Set<String>
groupIdSet
Set of Group IDs that this object belongs to.protected boolean
includeAccessRights
requires custom service logicprotected Set<String>
organizationIdSet
Set of Organization IDs that this object belongs to.protected Set<String>
resourceIdSet
Set of Resource IDs that this object is entitled to.protected Set<String>
roleIdSet
Set of Role IDs that this object belongs to.protected Set<String>
userIdSet
-
Fields inherited from class org.openiam.idm.searchbeans.AbstractKeyNameSearchBean
name
-
-
Constructor Summary
Constructors Constructor Description EntitlementsSearchBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChildId(String childId)
void
addGroupId(String groupId)
void
addOrganizationId(String organizationId)
void
addOrganizationIdList(Collection<String> organizationIdList)
void
addParentId(String parentId)
void
addResourceId(String resourceId)
void
addRoleId(String roleId)
void
addUserId(String userId)
void
setIncludeAccessRights(boolean includeAccessRights)
-
Methods inherited from class org.openiam.idm.searchbeans.AbstractMetadataTypeSearchBean
addMetadataType
-
Methods inherited from class org.openiam.idm.searchbeans.AbstractKeyNameSearchBean
getName, isCaseSensitive, setDisplayNameToken, setName, setNameToken
-
Methods inherited from class org.openiam.idm.searchbeans.AbstractSearchBean
addKey, addKeys, addSortParam, getCacheKey, getKeySet, setKey, setKeySet
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openiam.idm.searchbeans.DisplayNameAwareSearchBean
getDisplayNameToken
-
-
-
-
Field Detail
-
includeAccessRights
protected boolean includeAccessRights
requires custom service logic
-
excludeOwnersAndAdmins
protected boolean excludeOwnersAndAdmins
is used avoid owners and admins attachement with group/role object. In huge entitlements impacts performance. known use case - when we select multiple groups in ResourceDataService#selectAccess it brong huge performace decrease and timeout exception on UI as a result
-
groupIdSet
protected Set<String> groupIdSet
Set of Group IDs that this object belongs to. The obj must belong to at leat one of these groups
-
roleIdSet
protected Set<String> roleIdSet
Set of Role IDs that this object belongs to. The obj must belong to at least one of these roles
-
resourceIdSet
protected Set<String> resourceIdSet
Set of Resource IDs that this object is entitled to. The obj must be entitled to at least one of these
-
-
Method Detail
-
setIncludeAccessRights
public void setIncludeAccessRights(boolean includeAccessRights)
-
addParentId
public void addParentId(String parentId)
-
addChildId
public void addChildId(String childId)
-
addGroupId
public void addGroupId(String groupId)
-
addRoleId
public void addRoleId(String roleId)
-
addResourceId
public void addResourceId(String resourceId)
-
addUserId
public void addUserId(String userId)
-
addOrganizationId
public void addOrganizationId(String organizationId)
-
addOrganizationIdList
public void addOrganizationIdList(Collection<String> organizationIdList)
-
-