|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.iam.platform.authopss.vo.AdminRoleMembership
public class AdminRoleMembership
This class represents a role membership object and its attributes. Instances should be obtained using AdminRoleService. If more extensive relationship needs to be set on admin role (such as capability, SoC etc) then use AdminRoleVO instead.
Constructor Summary | |
---|---|
AdminRoleMembership() Default constructor for eclipselink. |
|
AdminRoleMembership(java.lang.String userId, AdminRole adminRole, java.lang.Long scopeId, boolean includeScopeHierarchy) Constructor for the class. |
Method Summary | |
---|---|
AdminRole |
getAdminRole() Getter for the admin-role. |
java.lang.Long |
getAdminRoleId() Delegate method to conveniently return the admin role-id from AdminRole object |
java.lang.String |
getAdminRoleName() Delegate method to conveniently return the admin role-name from AdminRole object |
java.lang.Long |
getRoleMembershipId() The primary key representing the membership-id. |
java.lang.String |
getRootScopeId() |
java.lang.String |
getScopeId() Getter for the organization-id |
java.lang.Long |
getScopeIdAsLong() |
java.lang.String |
getUserId() Getter for the user-id. |
boolean |
isHierarchicalScope() Getter for the hierarchical flag that indicates whether user has admin rights on the the child organizations too. |
void |
setAdminRole(AdminRole adminRole) Setter for the admin role. |
void |
setHierarchicalScope(boolean scopeHierarchical) Setter for the hierarchical flag that indicates whether user has admin rights on the the child organizations too. |
void |
setRoleMembershipId(java.lang.Long roleMembershipId) Setter for the unique membership-id. |
void |
setRootScopeId(java.lang.String rootScopeId) |
void |
setRootScopeIdAsLong(java.lang.Long rootScopeIdAsLong) |
void |
setScopeId(java.lang.String scopeId) Setter for the scope(organization)-id |
void |
setUserId(java.lang.String userId) Setter for the user-id. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AdminRoleMembership(java.lang.String userId, AdminRole adminRole, java.lang.Long scopeId, boolean includeScopeHierarchy)
userId
- - the user-id of the user to whom the Admin-Role membership is being assigned.adminRole
- - The Admin Role object.scopeId
- - The organization on which the admin-role is being grnated to the user.includeScopeHierarchy
- - The hierarchy flag that represnts that user also has admin role on the child organizations.public AdminRoleMembership()
Method Detail |
---|
public java.lang.Long getRoleMembershipId()
public void setRoleMembershipId(java.lang.Long roleMembershipId)
roleMembershipId
-public final void setUserId(java.lang.String userId)
userId
-public final java.lang.String getUserId()
public AdminRole getAdminRole()
public void setAdminRole(AdminRole adminRole)
adminRole
- the adminRole to setpublic final java.lang.Long getAdminRoleId()
public final java.lang.String getAdminRoleName()
public final void setScopeId(java.lang.String scopeId)
scopeId
-public final java.lang.String getScopeId()
public final void setHierarchicalScope(boolean scopeHierarchical)
scopeHierarchical
-public final boolean isHierarchicalScope()
public final java.lang.String getRootScopeId()
public final void setRootScopeId(java.lang.String rootScopeId)
rootScopeId
- the rootScopeId to setpublic java.lang.Long getScopeIdAsLong()
public void setRootScopeIdAsLong(java.lang.Long rootScopeIdAsLong)
rootScopeIdAsLong
- the rootScopeIdAsLong to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |