| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PumaController
The PumaController provides functions to read and/or write
attributes of com.ibm.portal.um.User,com.ibm.portal.um.Group
objects.
An instance of this Interface can be retrieved by calling
com.ibm.portal.um.PumaHome,
com.ibm.portal.um.portletservice.PumaHome or
com.ibm.portal.um.portletservice.legacy.PumaHome
| Field Summary |
|---|
| Fields inherited from interface com.ibm.portal.um.PumaProfile |
|---|
| EXTERNAL_USERS_PARENT_DN_ALIAS |
| Method Summary | |
|---|---|
| void | addAttributes(Principal aPrincipal,
java.util.Map<java.lang.String,?> aValueMap)
Adds the given Attributes to the given Principal. |
| void | addToGroup(Group aGroup,
java.util.List<? extends Principal> aPrincipals)
Adds the given Principals to the given Group |
| Group | createGroup(java.lang.String aName,
java.lang.String parentDN,
java.util.Map<java.lang.String,?> aInitialAttributes)
Creates a new Groups with the given shortname for the given Parent dn and the available initial Attributes |
| User | createUser(java.lang.String aName,
java.lang.String parentDN,
java.util.Map<java.lang.String,?> aInitialAttributes)
Creates a new User with the given shortname for the given Parent DN and the available initial Attributes. |
| User | createUser(java.lang.String aName,
java.lang.String parentDN,
java.util.Map<java.lang.String,?> aInitialAttributes,
java.lang.String initalApplicationRole)
Creates a new User with the given shortname for the given Parent DN and the available initial Attributes and assigns it the given application role |
| void | deleteGroup(Group aGroup)
Removes the provided Group from the backend system. |
| void | deleteUser(User aUser)
Removes the provided User from the backend system. |
| void | removeAttributes(Principal aPrincipal,
java.util.List<java.lang.String> aAttributeNames)
Removes the given attributes from the given Principal |
| void | removeFromGroup(Group aGroup,
java.util.List<? extends Principal> aPrincipals)
Removes the given Principals from the given Group |
| void | setAttributes(Principal aPrincipal,
java.util.Map<java.lang.String,?> aValueMap)
Sets the given Attributes at the given Principal. |
| Method Detail |
|---|
void setAttributes(Principal aPrincipal,
java.util.Map<java.lang.String,?> aValueMap)
throws PumaAttributeException,
PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is
not allowed as input parameter
void addAttributes(Principal aPrincipal,
java.util.Map<java.lang.String,?> aValueMap)
throws PumaAttributeException,
PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is
not allowed as input parameter
void removeAttributes(Principal aPrincipal,
java.util.List<java.lang.String> aAttributeNames)
throws PumaAttributeException,
PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is
not allowed as input parameter
void addToGroup(Group aGroup,
java.util.List<? extends Principal> aPrincipals)
throws PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is
not allowed as input parameter
void removeFromGroup(Group aGroup,
java.util.List<? extends Principal> aPrincipals)
throws PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is
not allowed as input parameter
User createUser(java.lang.String aName,
java.lang.String parentDN,
java.util.Map<java.lang.String,?> aInitialAttributes)
throws PumaAttributeException,
PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null
is provided the system default will be used
User createUser(java.lang.String aName,
java.lang.String parentDN,
java.util.Map<java.lang.String,?> aInitialAttributes,
java.lang.String initalApplicationRole)
throws PumaAttributeException,
PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null
is provided the system default will be used
Group createGroup(java.lang.String aName,
java.lang.String parentDN,
java.util.Map<java.lang.String,?> aInitialAttributes)
throws PumaAttributeException,
PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null
is provided the system default will be used
void deleteUser(User aUser)
throws PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is not allowed
as input
void deleteGroup(Group aGroup)
throws PumaSystemException,
PumaModelException,
PumaMissingAccessRightsException
null is not allowed
as input
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||