public interface IPrincipalSet extends IPrincipalMaint
Note: As this interface can be extended, this interface can be freely used, but must not be implemented.
BYTE_TYPE, CREATED_BY, DATASOURCE, DEFAULT_NAMESPACE, DEFAULT_RELATION_NAMESPACE, DESCRIPTION, DISPLAYNAME, LAST_MODIFIED_BY, PRINCIPAL_CREATION_DATE, PRINCIPAL_MODIFY_DATE, PRINCIPAL_RELATION_MEMBER_ATTRIBUTE, PRINCIPAL_RELATION_PARENT_ATTRIBUTE, STRING_TYPE, TRANSIENT_NAMESPACE, UNIQUE_NAME
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(String newMember)
Add the specified member to the collection.
|
Iterator |
getMembers(boolean getChildMembers)
Returns principals belonging to this collection.
|
boolean |
isMember(String uniqueIdOfPrincipal,
boolean recursive)
Returns true if the passed principal is a member of the collection.
|
boolean |
removeMember(String oldMember)
Remove the specified member from the collection.
|
addAttributeValue, commit, isModified, removeAttributeValue, rollback, save, setAttribute, setBinaryAttribute, setDisplayName
created, equals, getAttribute, getAttributeNames, getAttributeNamespaces, getAttributeType, getBinaryAttribute, getDisplayName, getMessages, getParents, getUniqueID, hashCode, isExistenceChecked, isMutable, lastModified, refresh
Iterator getMembers(boolean getChildMembers)
getChildMembers
is set to
true
. If a principal belongs to a collection which is a
member of this collection, it will also be returned.
Note: Recursive search for principals can lead to performance
degradation if you have a large principals hierarchy. For more
information about recursive searching see
IPrincipal.getParents(String[], boolean)
.
getChildMembers
- This method does a recursive search if the
parameter getChildMembers is set to true.boolean isMember(String uniqueIdOfPrincipal, boolean recursive)
recursive
is set
to true
. If a principal belongs to a collection which is a
member of this collection, true
is returned.
Note: Recursive check for principal assignment can lead to
performance degradation if you have a large principals hierarchy. For
more information about recursive searching see
IPrincipal.getParents(String[], boolean)
.
uniqueIdOfPrincipal
- - the uniqueId of the principal whose
membership is to be checked.recursive
- If set to true a recursive search is done.boolean addMember(String newMember) throws UMException
IPrincipalMaint.commit()
.newMember
- - the uniqueId of the object to add to this collection.UMException
- if an error occursboolean removeMember(String oldMember) throws UMException
IPrincipalMaint.commit()
.oldMember
- - the uniqueId of the object to remove from this
collection.UMException
- if an error occursAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
-
|
BC-JAS-SEC-UME
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-SEC-UME
|
Copyright 2018 SAP AG Complete Copyright Notice