|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2000 BEA Systems, Inc. All Rights Reserved Wrapper interface for getting portal and administration data.
Field Summary | |
static java.lang.String |
LOOKUP_NAME
The public JNDI lookup name for the Portal Manager session bean. |
Method Summary | |
void |
addGroupToGroup(java.lang.String aParentGroupId,
java.lang.String aGroupId)
Create a group for a parent group. |
void |
addGroupToPortal(java.lang.String aPortalName,
java.lang.String aGroupId)
Create a group for a portal. |
void |
addUserToGroup(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String aUserId)
Add a user name to a particular group. |
void |
addUserToPortal(java.lang.String aPortalId,
java.lang.String aUserId)
Add a user name to a particular portal. |
void |
createCredentials(Credentials someCredentials)
Persist a new set of credentials. |
java.lang.String |
createGroupProfileKey(java.lang.String portalName,
java.lang.String groupName)
Create the group profile key. |
void |
createPortal(Portal aPortal)
Persist a new portal. |
void |
createPortlet(Portlet aPortlet)
Persist a new portlet. |
void |
createPortletForGroup(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
Portlet aPortlet)
Create a GroupPersonalization for a portal and a group. |
void |
createPortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet)
Create a PortalPersonalization for a portlet. |
void |
createPortletForUser(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName,
Portlet aPortlet)
Create a UserPersonalization for a portal, group, and user. |
java.lang.String |
createUserProfileKey(java.lang.String portalName,
java.lang.String userName)
Create the user profile key. |
PortalColumnInformation[] |
fastGetColumnInformationFor(java.lang.String aPortalName,
java.lang.String aCategory)
Using straight JDBC. |
Portal |
fastGetPortalFor(java.lang.String aName)
Using straight JDBC. |
Portlet[] |
fastGetPortletDefinitionsFor(java.lang.String aPortalName)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategory)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserId)
Using straight JDBC. |
Portlet[][] |
fastGetRCPortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserId)
Using straight JDBC. |
java.lang.String[] |
getAllUserNamesForGroup(java.lang.String aPortalId,
java.lang.String aGroupId)
Gets all user names associated with a particular group. |
Portlet[] |
getAvailablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory)
Get all of the available portlets associated to a portal. |
Portlet[] |
getAvailablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName)
Get all of the available portlets associated to a portal and a group. |
Portlet[] |
getAvailablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName)
Get all of the available portlets associated to a portal, a group, and a user. |
PortalColumnInformation[] |
getColumnInformationFor(java.lang.String aPortalName,
java.lang.String aCategory)
Get the column information (sizes) for a given portal and category. |
Credentials[] |
getCredentialsFor(java.lang.String aUserId)
Get all of the credentials for a user. |
Credentials[] |
getCredentialsFor(java.lang.String aUserId,
java.lang.String aPortalName)
Get all of the credentials for a user and a system. |
Credentials |
getCredentialsFor(java.lang.String aUserId,
java.lang.String aPortalName,
java.lang.String aSystemName,
java.lang.String aSystemUserId)
Get all of the credentials for a user and a system. |
java.lang.String[] |
getGroupIdsForGroup(java.lang.String aParentGroupId)
Get the groups associated to a parent group |
java.lang.String[] |
getGroupIdsForPortal(java.lang.String aPortalName)
Get the groups associated to a portal |
java.lang.String[] |
getGroupNamesForUser(java.lang.String aPortalId,
java.lang.String aUserId)
Get the group names to which a particular user belongs. |
Portal |
getPortalFor(java.lang.String aName)
Get a portal from the name. |
java.lang.String[] |
getPortalNamesFor(java.lang.String aPortletName)
Get the portal names associated to a portlet. |
PortalProperties |
getPortalProperties()
Get the portal properties |
Portal[] |
getPortals()
Get all of the portals defined within a system. |
Portlet[] |
getPortletDefinitionsFor(java.lang.String aPortalName)
Get all of the portlets (definitions) associated to a portal, it is just the PORTLET_DEFINITION. |
Portlet |
getPortletFor(java.lang.String aPortlet)
Get the PortletDefinition for the name. |
Portlet |
getPortletForGroup(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aGroup,
java.lang.String aPortlet)
Get the GroupPersonalization for the name. |
Portlet |
getPortletForGroup(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aGroup,
java.lang.String aPortlet,
boolean isWaterfall)
Get the GroupPersonalization for the name. |
Portlet |
getPortletForPortal(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aPortlet)
Get the PortalPersonalization for the name. |
Portlet |
getPortletForPortal(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aPortlet,
boolean isWaterfall)
Get the PortalPersonalization for the name. |
Portlet |
getPortletForUser(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aGroup,
java.lang.String aUser,
java.lang.String aPortletName)
Get the UserPersonalization for the name. |
Portlet |
getPortletForUser(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aGroup,
java.lang.String aUser,
java.lang.String aPortlet,
boolean isWaterfall)
Get the UserPersonalization for the name. |
java.lang.String[] |
getPortletNamesFor(java.lang.String aPortalName)
Get the portlet names associated to a portal. |
Portlet[] |
getPortlets()
Get all of the portlets (PortletDefinition) defined within a system. |
Portlet[][] |
getRCPortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserId)
Get all of the portlets related to a PortalName, aGroup and a user. |
int |
getUserCountForGroup(java.lang.String aPortalId,
java.lang.String aGroupId)
Get a count of users for a particular portal-group combination. |
int |
getUserCountForPortal(java.lang.String aPortalId)
Get a count of users for a particular portal. |
Portlet[] |
getVisiblePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory)
Get all of the available and visible portlets associated to a portal. |
Portlet[] |
getVisiblePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName)
Get all of the available and visible portlets associated to a portal and a group. |
Portlet[] |
getVisiblePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName)
Get all of the available and visible portlets associated to a portal, a group, and a user. |
java.lang.String |
portalCreateCredentials(java.lang.String portalName,
java.lang.String userName,
java.lang.String password)
Create the credentials for a user. |
java.lang.String |
portalSignOn(java.lang.String portalName,
java.lang.String userName,
java.lang.String password)
Check the signon for a portal. |
java.lang.String |
portalUpdateCredentials(java.lang.String portalName,
java.lang.String userName,
java.lang.String oldPassword,
java.lang.String password)
Update the credentials for a user.. |
void |
removeCredentials(Credentials someCredentials)
Remove a Set of credentials. |
void |
removeGroupForPortal(java.lang.String aPortalName,
java.lang.String aGroupId)
Remove a group from the portal. |
void |
removePortal(Portal aPortal)
Remove a portal. |
void |
removePortlet(Portlet aPortlet)
Remove a portlet. |
void |
removePortletForGroup(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
Portlet aPortlet)
Remove a GroupPersonalization for a portal and a group. |
void |
removePortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet)
Remove a PortalPersonalization for a portlet. |
void |
removePortletForUser(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName,
Portlet aPortlet)
Remove a UserPersonalization for a portal, group, and user. |
void |
removeUserFromGroup(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String aUserId)
Remove a user name from a particular group. |
void |
removeUserFromPortal(java.lang.String aPortalId,
java.lang.String aUserId)
Remove a user name from a particular group. |
java.lang.String[] |
searchGroupForUsers(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String search)
Get the user names associated with a particular group, based on a particular search string. |
java.lang.String[] |
searchPortalForUsers(java.lang.String aPortalId,
java.lang.String search)
Get the user names associated with a particular portal, based on a particular search string. |
void |
setColumnInformationFor(Portal aPortal,
java.lang.String aCategory,
PortalColumnInformation[] someColumnInformation)
Set the column information for a portal. |
void |
updateCredentials(Credentials someCredentials)
Update a set of credentials. |
void |
updatePortal(Portal aPortal)
Update a portal. |
void |
updatePortlet(Portlet aPortlet)
Update a portlet. |
void |
updatePortletForGroup(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
Portlet aPortlet)
Update a GroupPersonalization for a portal and a group. |
void |
updatePortletForGroup(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
Portlet aPortlet,
boolean createIfNotFound)
Update a Group Personalization for a portlet. |
void |
updatePortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet)
Update a PortalPersonalization for a portlet. |
void |
updatePortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet,
boolean createIfNotFound)
Update a PortalPersonalization for a portlet. |
void |
updatePortletForUser(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName,
Portlet aPortlet)
Update a UserPersonalization for a portal, group, and user. |
void |
updatePortletForUser(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUser,
Portlet aPortlet,
boolean createIfNotFound)
Update a PortalPersonalization for a portlet. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Field Detail |
public static final java.lang.String LOOKUP_NAME
Method Detail |
public Credentials getCredentialsFor(java.lang.String aUserId, java.lang.String aPortalName, java.lang.String aSystemName, java.lang.String aSystemUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aUserId
- the useraPortalName
- the system to get the user credentials for.public Credentials[] getCredentialsFor(java.lang.String aUserId, java.lang.String aPortalName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aUserId
- the useraPortalName
- the system to get the user credentials for.public Credentials[] getCredentialsFor(java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aUserId
- the userpublic Portal getPortalFor(java.lang.String aName) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aName
- the name of the portal to retrieve.public Portlet[] getPortletDefinitionsFor(java.lang.String aPortalName) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- the portal name.public Portlet[][] getRCPortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group nameaUserId
- the user idpublic Portlet[][] fastGetRCPortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal name.aCategory
- the category.aGroupName
- the group name.aUserId
- the user id.public Portlet[] fastGetPortletDefinitionsFor(java.lang.String aPortalName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal namepublic Portlet[] fastGetPortletsFor(java.lang.String aPortalName, java.lang.String aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categorypublic Portlet[] fastGetPortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group namepublic Portlet[] fastGetPortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group nameaUserId
- the user namepublic PortalColumnInformation[] fastGetColumnInformationFor(java.lang.String aPortalName, java.lang.String aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categorypublic Portal fastGetPortalFor(java.lang.String aName) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aName
- the portal namepublic Portlet[] getAvailablePortletsFor(java.lang.String aPortalName, java.lang.String aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categorypublic Portlet[] getAvailablePortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group namepublic Portlet[] getAvailablePortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group nameaUserName
- the user namepublic Portlet[] getVisiblePortletsFor(java.lang.String aPortalName, java.lang.String aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categorypublic Portlet[] getVisiblePortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group namepublic Portlet[] getVisiblePortletsFor(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal nameaCategory
- the categoryaGroupName
- the group nameaUserName
- the user namepublic PortalColumnInformation[] getColumnInformationFor(java.lang.String aPortalName, java.lang.String aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal name.aCategory
- the categorypublic void createPortal(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortal
- a portal instance.public void setColumnInformationFor(Portal aPortal, java.lang.String aCategory, PortalColumnInformation[] someColumnInformation) throws java.rmi.RemoteException, PortalException, PortalRemoveException, PortalCreateException
aPortal
- the portal.aCategory
- the category.someColumnInformation
- the new column information.public void updatePortal(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- a portal instance.public void removePortal(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortal
- a portal instance.public void createPortlet(Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortlet
- a portlet instance.public void updatePortlet(Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortlet
- a portlet instance.public void removePortlet(Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortlet
- a portlet instance.public void createPortletForPortal(java.lang.String aPortalName, java.lang.String aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortalName
- a portal name.aCategory
- the categoryaPortlet
- the portlet to createpublic void updatePortletForPortal(java.lang.String aPortalName, java.lang.String aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- a portal name.aCategory
- the categoryaPortlet
- the portlet to createpublic void updatePortletForPortal(java.lang.String aPortalName, java.lang.String aCategory, Portlet aPortlet, boolean createIfNotFound) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- a portal name.aCategory
- the categoryaPortlet
- the portlet to update.createIfNotFound
- if it is true it will create the object if it doesn't exist
for update.public void removePortletForPortal(java.lang.String aPortalName, java.lang.String aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortalName
- a portal name.aCategory
- the categoryaPortlet
- the portlet to remove.public void createPortletForGroup(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortalName
- a portal name.aCategory
- the categoryaGroupName
- the groupaPortlet
- the portlet to createpublic void updatePortletForGroup(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- a portal name.aCategory
- the categoryaGroupName
- the groupaPortlet
- the portlet to createpublic void updatePortletForGroup(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, Portlet aPortlet, boolean createIfNotFound) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- a portal name.aCategory
- the categoryaGroupName
- the group nameaPortlet
- the portlet to update.if
- it is true it will create the object if it doesn't exist
for update.public void removePortletForGroup(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortalName
- the portal name.aCategory
- the categoryaGroupName
- the group nameaPortlet
- the portlet to update.public void createPortletForUser(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserName, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortalName
- the portal name.aCategory
- the categoryaGroupName
- the group nameaUserName
- the useraPortlet
- the portlet to update.public void updatePortletForUser(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserName, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- the portal name.aCategory
- the categoryaGroupName
- the group nameaUser
- the useraPortlet
- the portlet to update.public void updatePortletForUser(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUser, Portlet aPortlet, boolean createIfNotFound) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- a portal name.aCategory
- the categoryaGroupName
- the group nameaUser
- the useraPortlet
- the portlet to update.createIfNotFound
- if it is true it will create the object if it doesn't exist
for update.public void removePortletForUser(java.lang.String aPortalName, java.lang.String aCategory, java.lang.String aGroupName, java.lang.String aUserName, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortalName
- a portal instance.aCategory
- the categoryaGroupName
- the group nameaUserNamethe
- userpublic void createCredentials(Credentials someCredentials) throws java.rmi.RemoteException, PortalException, PortalCreateException
someCredentials
- a Credentials instance.public void updateCredentials(Credentials someCredentials) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
someCredentials
- a Credentials instance.public void removeCredentials(Credentials someCredentials) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
someCredentials
- a Credentials instance.public Portal[] getPortals() throws java.rmi.RemoteException, PortalException, PortalFinderException
public Portlet[] getPortlets() throws java.rmi.RemoteException, PortalException, PortalFinderException
public java.lang.String[] getPortletNamesFor(java.lang.String aPortalName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal name.public java.lang.String[] getPortalNamesFor(java.lang.String aPortletName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortletName
- the portlet name.public Portlet getPortletFor(java.lang.String aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortlet
- the portlet name.public Portlet getPortletForPortal(java.lang.String aPortal, java.lang.String aCategory, java.lang.String aPortlet, boolean isWaterfall) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- the portal name.aCategory
- the categoryaPortlet
- the portlet name.isWaterfall
- boolean should i allow the waterfallpublic Portlet getPortletForGroup(java.lang.String aPortal, java.lang.String aCategory, java.lang.String aGroup, java.lang.String aPortlet, boolean isWaterfall) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- the portal name.aCategory
- the categoryaGroup
- the group name.aPortlet
- the portlet name.isWaterfall
- boolean should i allow the waterfallpublic Portlet getPortletForUser(java.lang.String aPortal, java.lang.String aCategory, java.lang.String aGroup, java.lang.String aUser, java.lang.String aPortlet, boolean isWaterfall) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- the portal name.aCategory
- the categoryaGroup
- the group name.aUser
- the user name.aPortlet
- the portlet name.boolean
- should i allow the waterfallpublic Portlet getPortletForPortal(java.lang.String aPortal, java.lang.String aCategory, java.lang.String aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- the portal name.aCategory
- the categoryaPortlet
- the portlet name.public Portlet getPortletForGroup(java.lang.String aPortal, java.lang.String aCategory, java.lang.String aGroup, java.lang.String aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- the portal name.aCategory
- the categoryaGroup
- the group name.aPortlet
- the portlet name.public Portlet getPortletForUser(java.lang.String aPortal, java.lang.String aCategory, java.lang.String aGroup, java.lang.String aUser, java.lang.String aPortletName) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- the portal name.aCategory
- the categoryaGroup
- the group name.aUser
- the user name.aPortlet
- the portlet name.public void addGroupToPortal(java.lang.String aPortalName, java.lang.String aGroupId) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortalName
- the portal nameaGroupId
- the group id (name)public void addGroupToGroup(java.lang.String aParentGroupId, java.lang.String aGroupId) throws java.rmi.RemoteException, PortalException, PortalCreateException
aParentGroupId
- the parent group id (name)aGroupId
- the group id (name)public java.lang.String[] getGroupIdsForPortal(java.lang.String aPortalName) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalName
- the portal namepublic java.lang.String[] getGroupIdsForGroup(java.lang.String aParentGroupId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aParentGroupId
- the parent group id.public void removeGroupForPortal(java.lang.String aPortalName, java.lang.String aGroupId) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortalName
- the portal name.aGroupId
- the group id.public PortalProperties getPortalProperties() throws java.rmi.RemoteException, PortalCreateException, PortalException
public java.lang.String[] getGroupNamesForUser(java.lang.String aPortalId, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException
aPortalId
- the name of the portal associated with the searchaUserId
- the name of the user associated with the searchpublic java.lang.String[] getAllUserNamesForGroup(java.lang.String aPortalId, java.lang.String aGroupId) throws java.rmi.RemoteException
aPortalId
- the name of the portal associated with the searchaGroupId
- the name of the group associated with the searchpublic java.lang.String[] searchGroupForUsers(java.lang.String aPortalId, java.lang.String aGroupId, java.lang.String search) throws java.rmi.RemoteException, PortalException, PortalResultsException
aPortalId
- the name of the portal associated with the searchaGroupId
- the name of the group associated with the searchsearch
- a search string to apply ( e.g. 'bea*')public void addUserToGroup(java.lang.String aPortalId, java.lang.String aGroupId, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalCreateException
aGroupId
- the group to which the user is being addedaUserId
- the user being added to the grouppublic void removeUserFromGroup(java.lang.String aPortalId, java.lang.String aGroupId, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalRemoveException
aGroupId
- the group from which the user is being removedaUserId
- the user being removed from the grouppublic int getUserCountForGroup(java.lang.String aPortalId, java.lang.String aGroupId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalId
- the portal whose user count is soughtaGroupId
- the group whose user count is soughtpublic java.lang.String[] searchPortalForUsers(java.lang.String aPortalId, java.lang.String search) throws java.rmi.RemoteException, PortalException, PortalResultsException
aPortalId
- the name of the portal associated with the searchsearch
- a search string to apply ( e.g. 'bea*')public void addUserToPortal(java.lang.String aPortalId, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortalId
- the group to which the user is being addedaUserId
- the user being added to the grouppublic void removeUserFromPortal(java.lang.String aPortalId, java.lang.String aUserId) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalRemoveException
aPortalId
- the group from which the user is being removedaUserId
- the user being removed from the grouppublic int getUserCountForPortal(java.lang.String aPortalId) throws java.rmi.RemoteException, PortalException, PortalFinderException
aPortalId
- the portal whose group count is soughtpublic java.lang.String portalUpdateCredentials(java.lang.String portalName, java.lang.String userName, java.lang.String oldPassword, java.lang.String password) throws java.rmi.RemoteException, PortalObjectNotFoundException, PortalFinderException, PortalException
portalName
- the portal nameuserName
- the user nameoldPassword
- the old password (to check if they are a valid user.password
- the password.public java.lang.String portalCreateCredentials(java.lang.String portalName, java.lang.String userName, java.lang.String password) throws java.rmi.RemoteException, PortalObjectNotFoundException, PortalFinderException, PortalException
portalName
- the portal nameuserName
- the user namepassword
- the password.public java.lang.String portalSignOn(java.lang.String portalName, java.lang.String userName, java.lang.String password) throws java.rmi.RemoteException, PortalObjectNotFoundException, PortalFinderException, PortalException
portalName
- the portal nameuserName
- the user namepassword
- the password.public java.lang.String createGroupProfileKey(java.lang.String portalName, java.lang.String groupName) throws java.rmi.RemoteException
portalName
- the portal namegroupName
- the group namepublic java.lang.String createUserProfileKey(java.lang.String portalName, java.lang.String userName) throws java.rmi.RemoteException
portalName
- the portal nameuserName
- the user name
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |