|
SAP NetWeaver 7.1 Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPrincipalSet
This interface provides read and write access to attributes and the state of an IPrincipalSet object. IPrincipalSet extends IPrincipalMaint.
NOTE: As this interface�can be extended, this interface can be freely used, but must not be implemented.
| Field Summary | |
|---|---|
static String |
VERSIONSTRING
|
| Fields inherited from interface com.sap.security.api.IPrincipal |
|---|
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 |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.sap.security.api.IPrincipalMaint |
|---|
addAttributeValue, commit, isModified, removeAttributeValue, rollback, save, setAttribute, setBinaryAttribute, setDisplayName |
| Methods inherited from interface com.sap.security.api.IPrincipal |
|---|
created, equals, getAttribute, getAttributeNames, getAttributeNamespaces, getAttributeType, getBinaryAttribute, getDisplayName, getMessages, getParents, getUniqueID, hashCode, isExistenceChecked, isMutable, lastModified, refresh |
| Field Detail |
|---|
static final String VERSIONSTRING
| Method Detail |
|---|
Iterator getMembers(boolean getChildMembers)
getChildMembers - This method does a recursive search if the parameter getChildMembers
is set to true.
boolean isMember(String uniqueIdOfPrincipal,
boolean recursive)
true. If a principal belongs to a
collection which is a member of this collection, true is returned.
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 occurs
boolean removeMember(String oldMember)
throws UMException
IPrincipalMaint.commit().
oldMember - - the uniqueId of the object to remove from this collection.
UMException - if an error occurs
|
SAP NetWeaver 7.1 Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||