Package org.openiam.idm.srvc.res.dto
Class Resource
-
- All Implemented Interfaces:
Serializable,BaseIdentity,ProvisionObject,ProvisionOperationAware
public class Resource extends AbstractEntitlementsDTO implements ProvisionObject
Resources are items that need to be managed or protected. These can be both logic and physical in nature.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeOperationEnumoperation-
Fields inherited from class org.openiam.idm.srvc.entitlements.AbstractEntitlementsDTO
admin, description, owner
-
Fields inherited from class org.openiam.base.AbstractMetadataTypeDTO
mdGrouping, mdTypeId, metadataTypeName
-
Fields inherited from class org.openiam.base.KeyNameDTO
name_
-
Fields inherited from class org.openiam.base.BaseObject
DELETE, NEW, objectState, requestClientIP, requestorLogin, requestorSessionID, requestorUserId, UPDATE
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChildResource(MembershipXref resource)voidaddParentResource(MembershipXref resource)voidaddResourceProp(ResourceProp prop)MembershipXrefgetAffiliation(String organizationId)MembershipXrefgetChildResource(String resourceId)MembershipXrefgetGroup(String groupId)ProvisioningObjectTypegetObjectType()MembershipXrefgetParentResource(String resourceId)ResourcePropgetResourceProperty(String propName)MembershipXrefgetRole(String roleId)MembershipXrefgetUser(String resourceId)-
Methods inherited from class org.openiam.idm.srvc.entitlements.AbstractEntitlementsDTO
setAccessRightIds
-
Methods inherited from class org.openiam.base.KeyNameDTO
equals, getName, hashCode, setName, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openiam.base.BaseIdentity
getId, setId
-
Methods inherited from interface org.openiam.provision.dto.ProvisionObject
getId, setId
-
Methods inherited from interface org.openiam.provision.dto.ProvisionOperationAware
getOperation
-
-
-
-
Field Detail
-
operation
protected AttributeOperationEnum operation
-
-
Method Detail
-
addResourceProp
public void addResourceProp(ResourceProp prop)
-
getResourceProperty
public ResourceProp getResourceProperty(String propName)
-
addParentResource
public void addParentResource(MembershipXref resource)
-
addChildResource
public void addChildResource(MembershipXref resource)
-
getUser
public MembershipXref getUser(String resourceId)
-
getRole
public MembershipXref getRole(String roleId)
-
getGroup
public MembershipXref getGroup(String groupId)
-
getAffiliation
public MembershipXref getAffiliation(String organizationId)
-
getParentResource
public MembershipXref getParentResource(String resourceId)
-
getChildResource
public MembershipXref getChildResource(String resourceId)
-
getObjectType
public ProvisioningObjectType getObjectType()
- Specified by:
getObjectTypein interfaceProvisionObject
-
-