|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.beasys.portal.ejb.PortalManagerBean
Copyright (c) 2000 BEA Systems, Inc. All Rights Reserved Wrapper interface for getting portal and administration data.
| Field Summary | |
protected javax.ejb.SessionContext |
ctx
The ejb session context. |
protected java.util.Hashtable |
props
Properties from the session bean descriptor. |
| Fields inherited from interface com.beasys.portal.ejb.PortalConstants |
ALGORITHM,
COLUMN_INFORMATION,
DEFAULT_CATEGORY_NAME,
GROUP_HIERARCHY,
GROUP_PERSONALIZATION,
MAX_QUERIED_USERS,
NAME_MAX,
PORTAL_COLUMN_MAX,
PORTAL_DEFINITION,
PORTAL_GROUP_HIERARCHY,
PORTAL_HIERARCHY,
PORTAL_MANAGER,
PORTAL_PERSONALIZATION,
PORTAL_PROPERTIES,
PORTAL_SIGN_ON,
PORTAL_USER_PROFILE,
PORTLET_DEFINITION,
SEPARATOR,
URL_MAX,
USER_HIERARCHY,
USER_PERSONALIZATION |
| Fields inherited from interface com.beasys.util.ToolkitConstants |
DEFAULT_ID_CACHE,
DEFAULT_ID_PROCEDURE,
DEFAULT_JDBC_POOL_NAME,
DEFAULT_LOGGING_LEVEL,
DEFAULT_WEBLOGIC_HOST,
DEFAULT_WEBLOGIC_PORT,
ID_CACHE,
ID_PROCEDURE,
JDBC_POOL_NAME,
LOG_DEBUG,
LOG_ERROR,
LOG_FATAL,
LOG_INFO,
LOG_SECURITY,
LOG_WARNING,
LOGGING_LEVEL,
WEBLOGIC_HOST,
WEBLOGIC_PORT |
| Constructor Summary | |
PortalManagerBean()
|
|
| 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. |
protected void |
addGroupUser(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String aUserId)
Add a user to a group. |
protected void |
addPortalUser(java.lang.String aPortalId,
java.lang.String aUserId)
Add a user to a portal. |
void |
addPortletTo(Portlet aPortlet,
Portal aPortal)
Add a portlet to a portal. |
protected void |
addPortletTo(Portlet aPortlet,
java.lang.String aPortal)
Add a portlet to a portal name. |
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. |
protected Portlet[] |
availablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUser,
boolean careAboutVisible)
Get all of the available portlets associated to a portal and group if groupName is set. |
protected void |
copyInto(PortalDefinition sso,
Portal portal)
Copy a portal definition (ejb) into lightweight container class. |
protected void |
copyInto(PortalPersonalization aPD,
Portlet aPortlet)
Copy a PortalPersonalization into a simple copy. |
protected void |
copyInto(PortletDefinition aPD,
Portlet aPortlet)
Copy a PortletDefinition into a simple copy. |
protected void |
copyInto(UserPersonalization aPD,
Portlet aPortlet)
Copy a UserPersonalization into a simple copy. |
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 aCategoryName,
java.lang.String aGroupName,
Portlet aPortlet)
Create a GroupPersonalization for a portal and a group. |
void |
createPortletForPortal(java.lang.String aPortalName,
java.lang.String aCategoryName,
Portlet aPortlet)
Create a PortalPersonalization for a portlet. |
void |
createPortletForUser(java.lang.String aPortalName,
java.lang.String aCategoryName,
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. |
protected void |
doContainerPersonalization(java.lang.String aPortalName,
java.util.Hashtable portletMap)
Handle personalizing the portlet from the PortletDefinition. |
protected void |
doDefaultColumnInformation(Portal aPortal,
java.lang.String aCategoryName)
Set the default column information for a portal. |
protected void |
doGroupPersonalization(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.util.Hashtable portletMap)
Handle personalizing the portlet for the portal and group. |
protected void |
doPortalPersonalization(java.lang.String aPortalName,
java.lang.String aCategory,
java.util.Hashtable portletMap)
Handle personalizing the portlet for the portal. |
protected void |
doUserPersonalization(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserId,
java.util.Hashtable portletMap)
Handle personalizing the portlet for the portal, group, and user. |
void |
ejbActivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbCreate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbPassivate()
This method is required by the EJB Specification, but is not used by this example. |
void |
ejbRemove()
This method is required by the EJB Specification, but is not used by this example. |
protected void |
enumerationSweeper(java.util.Enumeration e)
Clean an enumeration. |
PortalColumnInformation[] |
fastGetColumnInformationFor(java.lang.String aPortalName,
java.lang.String aCategoryName)
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 aCategoryName)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUserId)
Using straight JDBC. |
Portlet[][] |
fastGetRCPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUserId)
Using straight JDBC. |
protected void |
finishTransaction(javax.jts.UserTransaction tx,
java.lang.String aMethodName)
Finish a transaction. |
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 aCategoryName)
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. |
protected java.lang.String[] |
getPNamesFor(java.lang.String aName,
boolean findPortalsForPortlet)
Get the portal or portlet name based on whether you are finding by portal or by portlet. |
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 aCategoryName,
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 aPortlet)
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. |
protected java.lang.String[] |
getUserGroupNames(java.lang.String aPortalId,
java.lang.String aUserId)
Retrieve all of the group user names. |
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. |
protected void |
groupSweeper(java.lang.String aGroup)
If a group is removed, go through and cleanup all references to the group. |
java.lang.String |
portalCreateCredentials(java.lang.String portalName,
java.lang.String userName,
java.lang.String password)
Create the credentials for a user. |
protected void |
portalPortletSweeper(java.lang.String aPortal,
java.lang.String aPortlet)
If a portlet is removed, go through and cleanup all references to the portlet. |
java.lang.String |
portalSignOn(java.lang.String portalName,
java.lang.String userName,
java.lang.String password)
Check the signon for a portal. |
protected void |
portalSweeper(java.lang.String aPortal)
If a portal is removed, go through and cleanup all references to the 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.. |
protected void |
portletSweeper(java.lang.String aPortlet)
If a portlet is removed, go through and cleanup all references to the portlet. |
protected void |
removeColumnInformationFor(java.lang.String aPortalName)
Remove the column information. |
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. |
protected void |
removeGroupUser(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String aUserId)
Remove a user from the group. |
void |
removePortal(Portal aPortal)
Remove a portal. |
void |
removePortlet(Portlet aPortlet)
Remove a portlet. |
void |
removePortletForGroup(java.lang.String aPortalName,
java.lang.String aCategoryName,
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 |
removePortletFrom(Portlet aPortlet,
Portal aPortal)
remove a portlet from a portal. |
protected void |
removePortletFrom(Portlet aPortlet,
java.lang.String aPortalName)
Remove the portlet/portal from the hierarchy. |
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 |
setSessionContext(javax.ejb.SessionContext ctx)
Sets the session context. |
protected javax.jts.UserTransaction |
startTransaction()
Start a bean managed UserTransaction. |
protected void |
update(GroupPersonalization gp,
Portlet aPortlet)
Update the ejb with a value from the lightweight object. |
protected void |
update(PortalDefinition pd,
Portal aPortal)
Update the ejb with a value from the lightweight object. |
protected void |
update(PortalPersonalization pp,
Portlet aPortlet)
Update the ejb with a value from the lightweight object. |
protected void |
update(PortletDefinition pd,
Portlet aPortlet)
Update the ejb with a value from the lightweight object. |
protected void |
update(UserPersonalization up,
Portlet aPortlet)
Update the ejb with a value from the lightweight object. |
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. |
protected void |
userSweeper(java.lang.String aUser)
If a user is removed (completely removed), go through and cleanup all references to the user |
protected void |
userSweeper(java.lang.String aUser,
java.lang.String aPortalName)
If a user is removed, go through and cleanup all references to the user and portal |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected transient javax.ejb.SessionContext ctx
protected transient java.util.Hashtable props
| Constructor Detail |
public PortalManagerBean()
| Method Detail |
public void ejbActivate()
public void ejbRemove()
public void ejbPassivate()
public final void setSessionContext(javax.ejb.SessionContext ctx)
ctx - SessionContext Context for session
public void ejbCreate()
throws javax.ejb.CreateException
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
the - userthe - system to get the user credentials for.
public Credentials[] getCredentialsFor(java.lang.String aUserId,
java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - userthe - system to get the user credentials for.
public Credentials[] getCredentialsFor(java.lang.String aUserId)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - user
protected void copyInto(PortalDefinition sso,
Portal portal)
throws java.rmi.RemoteException
the - PortalDefinitionthe - Portal to be copied into.
public Portal getPortalFor(java.lang.String aName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
aPortalName - the name of the portal to retrieve.
protected void copyInto(PortletDefinition aPD,
Portlet aPortlet)
throws java.rmi.RemoteException
aPD - PortletDefinitionaPortlet - Portlet
protected void copyInto(PortalPersonalization aPD,
Portlet aPortlet)
throws java.rmi.RemoteException
aPD - PortalPersonalizationaPortlet - Portlet
protected void copyInto(UserPersonalization aPD,
Portlet aPortlet)
throws java.rmi.RemoteException
aPD - UserPersonalizationaPortlet - Portlet
protected Portlet[] availablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUser,
boolean careAboutVisible)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal name
public Portlet[] getAvailablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - category
public Portlet[] getAvailablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group name
public Portlet[] getAvailablePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group namethe - user name
public Portlet[] getVisiblePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - category
public Portlet[] getVisiblePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group name
public Portlet[] getVisiblePortletsFor(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group namethe - user name
public Portlet[] getPortletDefinitionsFor(java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
protected void doContainerPersonalization(java.lang.String aPortalName,
java.util.Hashtable portletMap)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
ToolkitException,
PortalException
the - portal name.Hashtable - the portlet maps.
protected void doPortalPersonalization(java.lang.String aPortalName,
java.lang.String aCategory,
java.util.Hashtable portletMap)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
ToolkitException
the - portal name.the - categoryHashtable - the portlet maps.
protected void doGroupPersonalization(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.util.Hashtable portletMap)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
ToolkitException
the - portal name.the - categorythe - groupHashtable - the portlet maps.
protected void doUserPersonalization(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
java.lang.String aUserId,
java.util.Hashtable portletMap)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
ToolkitException
the - portal name.the - groupthe - userHashtable - the portlet maps.
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
the - portal namethe - categorythe - group namethe - user id
protected javax.jts.UserTransaction startTransaction()
throws ToolkitException
protected void finishTransaction(javax.jts.UserTransaction tx,
java.lang.String aMethodName)
throws javax.jts.HeuristicMixedException,
javax.jts.HeuristicRollbackException,
javax.jts.TransactionRolledbackException
the - user transaction to end.the - method name. This is used for log messages to identify where the transaction
is ending.
public PortalColumnInformation[] getColumnInformationFor(java.lang.String aPortalName,
java.lang.String aCategoryName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
String - the portal name.the - category
protected void update(PortalDefinition pd,
Portal aPortal)
throws java.rmi.RemoteException
pd - the portal definition (ejb)aPortal - the portal object (lightweight)
protected void removeColumnInformationFor(java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalRemoveException
aPortalName - the portal name.
public void setColumnInformationFor(Portal aPortal,
java.lang.String aCategory,
PortalColumnInformation[] someColumnInformation)
throws java.rmi.RemoteException,
PortalException,
PortalRemoveException,
PortalCreateException
the - portal.the - category.the - new column information.
protected void doDefaultColumnInformation(Portal aPortal,
java.lang.String aCategoryName)
throws java.rmi.RemoteException,
javax.ejb.RemoveException,
ToolkitException,
javax.ejb.CreateException,
PortalException,
PortalRemoveException
aPortal - the portal.aCategoryName - the category name.
public void createPortal(Portal aPortal)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
aPortal - a portal instance.
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.
protected void userSweeper(java.lang.String aUser)
throws java.rmi.RemoteException,
ToolkitException,
javax.ejb.RemoveException,
javax.ejb.FinderException
aUser - the user to clean up for.
protected void userSweeper(java.lang.String aUser,
java.lang.String aPortalName)
throws java.rmi.RemoteException,
ToolkitException,
javax.ejb.RemoveException,
javax.ejb.FinderException
aUser - the user to clean up for.aPortalName - the portal to clean up for.
protected void groupSweeper(java.lang.String aGroup)
throws java.rmi.RemoteException,
ToolkitException,
javax.ejb.RemoveException,
javax.ejb.FinderException
aGroup - the group to clean up for.
protected void portletSweeper(java.lang.String aPortlet)
throws java.rmi.RemoteException,
ToolkitException,
javax.ejb.RemoveException,
javax.ejb.FinderException
the - portlet to clean up for.
protected void portalSweeper(java.lang.String aPortal)
throws java.rmi.RemoteException,
ToolkitException,
javax.ejb.RemoveException,
javax.ejb.FinderException
aPortal - the portal to clean up for.
protected void enumerationSweeper(java.util.Enumeration e)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
the - enumeration to remove.
protected void update(PortletDefinition pd,
Portlet aPortlet)
throws java.rmi.RemoteException
pd - the portlet definition (ejb)aPortlet - the portlet object (lightweight)
public void createPortlet(Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
aPortal - a portal instance.
public void updatePortlet(Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
aPortal - a portal instance.
public void removePortlet(Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalRemoveException
aPortal - a portal instance.
protected void update(PortalPersonalization pp,
Portlet aPortlet)
throws java.rmi.RemoteException
pp - the portal personalization (ejb)aPortlet - the portlet object (lightweight)
public void createPortletForPortal(java.lang.String aPortalName,
java.lang.String aCategoryName,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
aPortal - a portal name.the - categorythe - portlet to create
public void updatePortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
aPortal - a portal name.the - categorythe - portlet to create
public void updatePortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet,
boolean createIfNotFound)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalCreateException
aPortal - a portal name.the - categorythe - portlet to update.if - it is true it will create the object if it doesn't exist
for update.
protected void portalPortletSweeper(java.lang.String aPortal,
java.lang.String aPortlet)
throws java.rmi.RemoteException,
ToolkitException,
javax.ejb.RemoveException,
javax.ejb.FinderException
the - portlet to clean up for.
public void removePortletForPortal(java.lang.String aPortalName,
java.lang.String aCategory,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalRemoveException
aPortal - a portal name.the - categorythe - portlet to remove.
protected void update(GroupPersonalization gp,
Portlet aPortlet)
throws java.rmi.RemoteException
gp - the group personalization (ejb)aPortlet - the portlet object (lightweight)
public void createPortletForGroup(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
aPortal - a portal name.the - categorythe - groupthe - portlet to create
public void updatePortletForGroup(java.lang.String aPortalName,
java.lang.String aCategory,
java.lang.String aGroupName,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
aPortal - a portal name.the - categorythe - groupthe - portlet to create
public 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,
PortalCreateException
aPortal - a portal name.the - categorythe - group namethe - 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 aCategoryName,
java.lang.String aGroupName,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalRemoveException
aPortal - a portal instance.the - portal name.the - categorythe - group namethe - portlet to update.
protected void update(UserPersonalization up,
Portlet aPortlet)
throws java.rmi.RemoteException
up - the user personalization (ejb)aPortlet - the portlet object (lightweight)
public void createPortletForUser(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUserName,
Portlet aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
the - portal name.the - categorythe - group namethe - userthe - 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
the - portal name.the - categorythe - group namethe - userthe - 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,
PortalCreateException
aPortal - a portal name.the - categorythe - group namethe - userthe - portlet to update.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
aPortal - a portal instance.the - categorythe - group namethe - user
public 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
protected java.lang.String[] getPNamesFor(java.lang.String aName,
boolean findPortalsForPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
aName - either the portal name or the portlet name.findPortalsForPortlet - if true find portals for portlet.
public java.lang.String[] getPortletNamesFor(java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal name.
public java.lang.String[] getPortalNamesFor(java.lang.String aPortletName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portlet name.
protected void addPortletTo(Portlet aPortlet,
java.lang.String aPortal)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
the - portlet to addthe - portal name to add it to.
public void addPortletTo(Portlet aPortlet,
Portal aPortal)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
the - portlet to addthe - portal to add it to.
protected void removePortletFrom(Portlet aPortlet,
java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalRemoveException
aPortlet - the portlet objectaPortalName - the portal name.RemoteException - container error.PortalException - general portal error.PortalFinderException - error on query.PortalObjectNotFoundException - the portlet could not be found.PortalRemoveException - the portlet could not be removed.
public void removePortletFrom(Portlet aPortlet,
Portal aPortal)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalRemoveException
the - portlet to remvethe - portal to remove it from.
public Portlet getPortletFor(java.lang.String aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
the - portlet name.
public Portlet getPortletForPortal(java.lang.String aPortal,
java.lang.String aCategory,
java.lang.String aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
the - portal name.the - categorythe - portlet name.
public Portlet getPortletForGroup(java.lang.String aPortal,
java.lang.String aCategoryName,
java.lang.String aGroup,
java.lang.String aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
the - portal name.the - categorythe - group name.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 aPortlet)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
the - portal name.the - categorythe - group name.the - portlet name.the - user 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
the - portal name.the - categorythe - portlet name.boolean - should i allow the waterfall
public 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
the - portal name.the - categorythe - group name.the - portlet name.boolean - should i allow the waterfall
public 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
the - portal name.the - categorythe - group name.the - portlet name.the - user name.boolean - should i allow the waterfall
public void addGroupToPortal(java.lang.String aPortalName,
java.lang.String aGroupId)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
the - portal namethe - group id (name)
public void addGroupToGroup(java.lang.String aParentGroupId,
java.lang.String aGroupId)
throws java.rmi.RemoteException,
PortalException,
PortalCreateException
the - parent group id (name)the - group id (name)
public java.lang.String[] getGroupIdsForPortal(java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal name
public java.lang.String[] getGroupIdsForGroup(java.lang.String aParentGroupId)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - parent group id.
public void removeGroupForPortal(java.lang.String aPortalName,
java.lang.String aGroupId)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException,
PortalRemoveException
the - portal name.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 search
protected java.lang.String[] getUserGroupNames(java.lang.String aPortalId,
java.lang.String aUserId)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
ToolkitException
aPortalId - the portal name.aUserId - the user name.RemoteException - container error.FinderException - query error.ToolkitException - lookup error.
public 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 search
public java.lang.String[] searchGroupForUsers(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String search)
throws java.rmi.RemoteException,
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 group
protected void addGroupUser(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String aUserId)
throws java.rmi.RemoteException,
javax.ejb.CreateException,
ToolkitException
aPortalId - the portal name.aGroupId - the group name.aUserId - the user name.RemoteException - container error.CreateException - error creating the link.ToolkitException - lookup error.
public 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 group
protected void removeGroupUser(java.lang.String aPortalId,
java.lang.String aGroupId,
java.lang.String aUserId)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
javax.ejb.RemoveException,
ToolkitException
aPortalId - the portal name.aGroupId - the group name.aUserId - the user id.RemoteException - container error.FinderException - query error.RemoveException - could not remove user.ToolkitException - lookup error.
public 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 group
protected void addPortalUser(java.lang.String aPortalId,
java.lang.String aUserId)
throws java.rmi.RemoteException,
javax.ejb.CreateException,
ToolkitException
aPortalId - the portal name.aUserId - the user name.RemoteException - container error.CreateException - error creating the link.ToolkitException - lookup error.
public 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 group
public PortalColumnInformation[] fastGetColumnInformationFor(java.lang.String aPortalName,
java.lang.String aCategoryName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - category
public Portlet[][] fastGetRCPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUserId)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group namethe - user id
public Portlet[] fastGetPortletDefinitionsFor(java.lang.String aPortalName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal name
public Portlet[] fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - category
public Portlet[] fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group name
public Portlet[] fastGetPortletsFor(java.lang.String aPortalName,
java.lang.String aCategoryName,
java.lang.String aGroupName,
java.lang.String aUserId)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
the - portal namethe - categorythe - group namethe - user name
public Portal fastGetPortalFor(java.lang.String aName)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException,
PortalObjectNotFoundException
the - portal name
public int getUserCountForPortal(java.lang.String aPortalId)
throws java.rmi.RemoteException,
PortalException,
PortalFinderException
aPortalId - the portal whose group count is sought
public 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 sought
public 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
the - portal namethe - user namethe - old password (to check if they are a valid user.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
the - portal namethe - user namethe - 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
the - portal namethe - user namethe - password.
public java.lang.String createGroupProfileKey(java.lang.String portalName,
java.lang.String groupName)
throws java.rmi.RemoteException
the - portal namethe - group name
public java.lang.String createUserProfileKey(java.lang.String portalName,
java.lang.String userName)
throws java.rmi.RemoteException
the - portal namethe - user name
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||