|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CSSGroupIF
This represents a group in the security platform and the directories.
Except for getGroupList()
and getUserList()
, the method invocations do not lead to a query to the
directory. All other data is statically constructed during the creation of this instance.
com.hyperion.css.CSSUserProvisioningAPIIF#getRolesForGroupInProject(Map, CSSPrincipalIF, String, String,
boolean)
Method Summary | |
---|---|
com.hyperion.css.common.CSSApplicationEntry[] |
getAllRolesList(java.util.Map context,
CSSPrincipalIF principal)
Deprecated. - Use CSSUserProvisioningAPIIF.getRolesListForEntry(Map, CSSPrincipalIF, String, String[], boolean) |
java.lang.String |
getDescription()
Gets the description for this group. |
java.util.Map |
getGroupInfo()
This is an EPM mode only API. |
java.lang.String[] |
getGroupList()
Deprecated. Use getGroupList(CSSPrincipalIF, boolean) instead. This is an EPM mode only API. |
java.lang.String[] |
getGroupList(CSSPrincipalIF principal,
boolean returnIndirect)
This is an EPM mode only API. |
com.hyperion.css.cache.CacheNodeIF[] |
getGroupsTree(CSSPrincipalIF principal,
boolean indirect)
This is an EPM mode only API. |
java.lang.String |
getIdentity()
Gets the identity for this group. |
java.lang.String |
getName()
Gets the name for this group. |
java.lang.String[] |
getParentGroups(CSSPrincipalIF principal,
boolean returnIndirect)
This is an EPM mode only API. |
java.lang.String[] |
getRolesList(CSSPrincipalIF principal,
java.lang.String appId,
boolean returnIndirect)
This is an EPM mode only API. |
java.lang.String[] |
getUserList()
Deprecated. Use getUsersList(CSSPrincipalIF, boolean) instead. This is an EPM mode only API. |
java.lang.String[] |
getUsersList(CSSPrincipalIF principal,
boolean returnIndirect)
Deprecated. - Use getUsersList(Map, CSSPrincipalIF, boolean) . |
java.lang.String[] |
getUsersList(java.util.Map context,
CSSPrincipalIF principal,
boolean returnIndirect)
This is an EPM mode only API. |
Methods inherited from interface com.hyperion.css.cache.CacheNodeIF |
---|
clear, getIdentifier, getMembers, getParentGroups, getPrimaryGroupToken, getProviderName, isGroup |
Method Detail |
---|
java.lang.String getIdentity()
Gets the identity for this group.
getIdentity
in interface com.hyperion.css.cache.CacheNodeIF
java.lang.String getName()
Gets the name for this group.
getName
in interface com.hyperion.css.cache.CacheNodeIF
java.lang.String getDescription()
Gets the description for this group.
getDescription
in interface com.hyperion.css.cache.CacheNodeIF
@Deprecated java.lang.String[] getUserList() throws CSSCommunicationException, CSSException
getUsersList(CSSPrincipalIF, boolean)
instead. This is an EPM mode only API.
CSSCommunicationException
CSSException
@Deprecated java.lang.String[] getGroupList() throws CSSCommunicationException, CSSException
getGroupList(CSSPrincipalIF, boolean)
instead. This is an EPM mode only API.
CSSCommunicationException
CSSException
java.util.Map getGroupInfo() throws CSSException
Gets the provider-specific attributes. The provider can return a map of attributes as key-value pairs.
This map should contain the key CSSAPIIF.PROVIDER_REQUEST
and the value should be the URL
or the domain name of the server where this group entry was looked up (server of reference).
CSSMethodNotSupportedException
- - if this method is not supported for a particular CSS mode.
CSSException
- - if there was any other abnormalityjava.lang.String[] getParentGroups(CSSPrincipalIF principal, boolean returnIndirect) throws CSSCommunicationException, CSSException
Returns the parent groups. The complete list of parent groups is returned.
This method has the ability to return both the direct and indirect associations. Please note that a query for indirect associations might be resource heavy and it is recommended to cache the results. Please note that if there is a circular dependency, then only a single identity is returned.
principal
- The caller invoking this method.returnIndirect
- If true then the indirect associations are also returned.
CSSException
- If there is any abnormality.
CSSCommunicationException
@Deprecated java.lang.String[] getUsersList(CSSPrincipalIF principal, boolean returnIndirect) throws CSSCommunicationException, CSSException
getUsersList(Map, CSSPrincipalIF, boolean)
.
CSSCommunicationException
CSSException
java.lang.String[] getGroupList(CSSPrincipalIF principal, boolean returnIndirect) throws CSSCommunicationException, CSSException
Gets the sub-groups (child groups) of this group. The complete list of child groups is returned.
If there is an exception, this method can be called and the instance is not destroyed.
The method returns direct as well as indirect associations.
principal
- The caller invoking this method.returnIndirect
- If true then the indirect associations are also returned.
CSSException
- If there is any abnormality.
CSSCommunicationException
java.lang.String[] getRolesList(CSSPrincipalIF principal, java.lang.String appId, boolean returnIndirect) throws CSSAuthorizationException, CSSCommunicationException, CSSException
Returns the roles associated with this group. The complete list of roles that this group is assigned to is returned.
This method returns the roles associated to this group directly or through indirect association. This behavior is
governed by the indirect
parameter. Aggregate roles are also returned along with its constituents.
principal
- The caller invoking this method.appId
- The unique identifier of the application instance.returnIndirect
- If true then returns the roles associated to the group directly or indirectly through association with
parent groups. If false then only roles granted directly to the group are returned.
CSSAuthorizationException
- If the principal does not have VIEW on the user or the project that the application is contained in.
CSSException
- Any other abnormality.
CSSCommunicationException
java.lang.String[] getUsersList(java.util.Map context, CSSPrincipalIF principal, boolean returnIndirect) throws CSSCommunicationException, CSSException
This method is not available for Joyce.
Gets the users that belong to this group. The complete list of users for that belong to this group is returned.
getUsersList(CSSPrincipalIF, boolean)
except that is allows an option to
return deactivated users as well.
The context
can specify the following:
CSSAPIIF.ENTITY_DEACTIVATE
.
This results in the return of deactivated users along with the active users as well.
If there is an exception, this method can be called and the instance is not destroyed.
The method returns direct as well as indirect associations.
principal
- The caller invoking this method.returnIndirect
- If true then the indirect associations are also returned.
CSSException
- If there is any abnormality.
CSSCommunicationException
@Deprecated com.hyperion.css.common.CSSApplicationEntry[] getAllRolesList(java.util.Map context, CSSPrincipalIF principal) throws CSSException
CSSUserProvisioningAPIIF.getRolesListForEntry(Map, CSSPrincipalIF, String, String[], boolean)
CSSException
com.hyperion.css.cache.CacheNodeIF[] getGroupsTree(CSSPrincipalIF principal, boolean indirect) throws CSSAuthorizationException, CSSCommunicationException, CSSException
Returns an array of CacheNodeIF
depending on the group association for a group. The parents of the
group can be obtained by invoking the getNextLevel()
.
This method returns both the direct and indirect associations depending on the value of the indirect flag specified. Please note that this query might be resource heavy, hence it is recommended to cache the results when you require a recursive group list.
principal
- The identity of the caller. The reason for specifying this argument here is that there is an
associated method for CSS v2.0. The principal has an effect on the outcome of the results of this
call.indirect
- true or false. True fetches indirectly associated parents.
CSSAuthorizationException
- Returned if the principal does not have VIEW on the user or the project in which the application is
contained.
CSSException
- Any other abnormality.
CSSCommunicationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |