|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PumaHome
This Interface can be used to access the UserManagement component of WebSphere Portal
from a JSR 168 portlet. An instance can be retrieved using a JNDI lookup for the following JNDI name
portletservice/com.ibm.portal.um.portletservice.PumaHome
The returned instance provides a way to access the three views to the user repository
com.ibm.portal.um.PumaProfile
com.ibm.portal.um.PumaController
com.ibm.portal.um.PumaLocator
The following sample shows you how to perform the JNDI lookup
PortletServiceHome psh; javax.naming.Context ctx = new javax.naming.InitialContext(); try { psh = (PortletServiceHome) ctx.lookup("portletservice/com.ibm.portal.um.portletservice.PumaHome"); } catch(javax.naming.NameNotFoundException ex) { ... error handling ... } ... // use the service PumaHome service = (PumaHome) psh.getPortletService(PumaHome.class);
PumaProfile
,
PumaLocator
,
PumaController
Field Summary | |
---|---|
static java.lang.String |
JNDI_NAME
JNDI name used to lookup this service |
Method Summary | |
---|---|
PumaController |
getController(javax.portlet.ActionRequest aRequest)
The returned instance of PumaController can be used to read/modify attributes
for a Principal |
PumaEnvironment |
getEnvironment()
The returned instance of PumaEnvironment can be used to read the common configuration
of Portal User Management |
PumaLocator |
getLocator(javax.portlet.PortletRequest aRequest)
The returned instance of PumaLocator can be used find Principal |
PumaLocator |
getLocator(javax.portlet.PortletRequest aRequest,
int maxSearchResult)
The returned instance of PumaLocator can be used to find Principal objects |
PumaProfile |
getProfile(javax.portlet.PortletRequest aRequest)
The returned instance of PumaProfile can be used to read attributes
for a Principal |
Field Detail |
---|
static final java.lang.String JNDI_NAME
Method Detail |
---|
PumaController getController(javax.portlet.ActionRequest aRequest)
PumaController
can be used to read/modify attributes
for a Principal
aRequest
- NULL
is not allowed as parameter
PumaLocator getLocator(javax.portlet.PortletRequest aRequest)
PumaLocator
can be used find Principal
aRequest
- NULL
is not allowed as parameter
PumaProfile getProfile(javax.portlet.PortletRequest aRequest)
PumaProfile
can be used to read attributes
for a Principal
aRequest
- NULL
is not allowed as parameter
PumaEnvironment getEnvironment()
PumaEnvironment
can be used to read the common configuration
of Portal User Management
PumaLocator getLocator(javax.portlet.PortletRequest aRequest, int maxSearchResult)
PumaLocator
can be used to find Principal
objects
aRequest
- NULL
is not allowed as parametermaxSearchResult
- the maximal amount of results allowed for any call on the returned PumaLocator
.
null
if called via webservices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |