|
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 |
addGroupToPortal(Portal aPortal,
long aGroup)
Create a group for a portal. |
void |
addPortletTo(Portlet aPortlet,
Portal aPortal)
Add a portlet to a portal name. |
void |
createPortal(Portal aPortal)
Persist a new portal. |
void |
createPortlet(Portlet aPortlet)
Persist a new portlet. |
void |
createPortletForGroup(Portal aPortal,
PortalCategory aCategory,
long aGroup,
Portlet aPortlet)
Create a GroupPersonalization for a portal and a group. |
void |
createPortletForPortal(Portal aPortal,
PortalCategory aCategory,
Portlet aPortlet)
Create a PortalPersonalization for a portlet. |
void |
createPortletForUser(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser,
Portlet aPortlet)
Create a UserPersonalization for a portal, group, and user. |
Portlet[] |
fastGetAvailablePortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser)
Get all of the available portlets associated to a portal, a group, and a user. |
PortalColumnInformation[] |
fastGetColumnInformationFor(Portal aPortal,
PortalCategory aCategory)
Using straight JDBC. |
Portal |
fastGetPortalFor(java.lang.String aName)
Using straight JDBC. |
Portlet[] |
fastGetPortletDefinitionsFor(Portal aPortal)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(Portal aPortal,
PortalCategory aCategory)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup)
Using straight JDBC. |
Portlet[] |
fastGetPortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser)
Using straight JDBC. |
Portlet[][] |
fastGetRCPortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser)
Using straight JDBC. |
Portlet[] |
getAvailablePortletsFor(Portal aPortal,
PortalCategory aCategory)
Get all of the available portlets associated to a portal. |
Portlet[] |
getAvailablePortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup)
Get all of the available portlets associated to a portal and a group. |
Portlet[] |
getAvailablePortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser)
Get all of the available portlets associated to a portal, a group, and a user. |
PortalColumnInformation[] |
getColumnInformationFor(Portal aPortal,
PortalCategory aCategory)
Get the column information (sizes) for a given portal and category. |
PortalCategory |
getDefaultCategory(Portal aPortal)
|
long[] |
getGroupsForPortal(Portal aPortal)
Get the groups associated to a portal |
Portal |
getPortalFor(java.lang.String aName)
Get a portal from the name. |
Portal[] |
getPortals()
Get all of the portals defined within a system. |
Portal[] |
getPortalsFor(Portlet aPortlet)
Get the portal names associated to a portlet. |
Portlet[] |
getPortletDefinitionsFor(Portal aPortal)
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(Portal aPortal,
PortalCategory aCategoryName,
long aGroup,
Portlet aPortlet)
Get the GroupPersonalization for the name. |
Portlet |
getPortletForGroup(Portal aPortal,
PortalCategory aCategory,
long aGroup,
Portlet aPortlet,
boolean isWaterfall)
Get the GroupPersonalization for the name. |
Portlet |
getPortletForPortal(Portal aPortal,
PortalCategory aCategory,
Portlet aPortlet)
Get the PortalPersonalization for the name. |
Portlet |
getPortletForPortal(Portal aPortal,
PortalCategory aCategory,
Portlet aPortlet,
boolean isWaterfall)
Get the PortalPersonalization for the name. |
Portlet |
getPortletForUser(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser,
Portlet aPortlet)
Get the UserPersonalization for the name. |
Portlet |
getPortletForUser(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser,
Portlet aPortlet,
boolean isWaterfall)
Get the UserPersonalization for the name. |
long[] |
getPortletIdsForPortal(Portal aPortal)
Get the portlet uids associated to a portal |
Portlet[] |
getPortlets()
Get all of the portlets (PortletDefinition) defined within a system. |
Portlet[][] |
getRCPortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser)
Get all of the portlets related to a PortalName, aGroup and a user. |
Portlet[] |
getVisiblePortletsFor(Portal aPortal,
PortalCategory aCategory)
Get all of the available and visible portlets associated to a portal. |
Portlet[] |
getVisiblePortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup)
Get all of the available and visible portlets associated to a portal and a group. |
Portlet[] |
getVisiblePortletsFor(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser)
Get all of the available and visible portlets associated to a portal, a group, and a user. |
void |
removeGroupForPortal(Portal aPortal,
long aGroup)
Remove a group from the portal. |
void |
removePortal(Portal aPortal)
Remove a portal. |
void |
removePortlet(Portlet aPortlet)
Remove a portlet. |
void |
removePortletForGroup(Portal aPortal,
PortalCategory aCategory,
long aGroup,
Portlet aPortlet)
Remove a GroupPersonalization for a portal and a group. |
void |
removePortletForPortal(Portal aPortal,
PortalCategory aCategory,
Portlet aPortlet)
Remove a PortalPersonalization for a portlet. |
void |
removePortletForUser(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser,
Portlet aPortlet)
Remove a UserPersonalization for a portal, group, and user. |
void |
removePortletFrom(Portlet aPortlet,
Portal aPortal)
Remove the portlet/portal from the hierarchy. |
void |
setColumnInformationFor(Portal aPortal,
PortalCategory aCategory,
PortalColumnInformation[] someColumnInformation)
Set the column information for a portal. |
void |
updatePortal(Portal aPortal)
Update a portal. |
void |
updatePortlet(Portlet aPortlet)
Update a portlet. |
void |
updatePortletForGroup(Portal aPortal,
PortalCategory aCategory,
long aGroup,
Portlet aPortlet)
Update a GroupPersonalization for a portal and a group. |
void |
updatePortletForGroup(Portal aPortal,
PortalCategory aCategory,
long aGroup,
Portlet aPortlet,
boolean createIfNotFound)
Update a Group Personalization for a portlet. |
void |
updatePortletForPortal(Portal aPortal,
PortalCategory aCategory,
Portlet aPortlet)
Update a PortalPersonalization for a portlet. |
void |
updatePortletForPortal(Portal aPortal,
PortalCategory aCategory,
Portlet aPortlet,
boolean createIfNotFound)
Update a PortalPersonalization for a portlet. |
void |
updatePortletForUser(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long aUser,
Portlet aPortlet)
Update a UserPersonalization for a portal, group, and user. |
void |
updatePortletForUser(Portal aPortal,
PortalCategory aCategory,
long aGroup,
long 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 Portal getPortalFor(java.lang.String aName) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortalName
- the name of the portal to retrieve.public Portlet[] getAvailablePortletsFor(Portal aPortal, PortalCategory aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorypublic Portlet[] getAvailablePortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namepublic Portlet[] getAvailablePortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namethe
- user namepublic Portlet[] fastGetAvailablePortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namethe
- user namepublic Portlet[] getVisiblePortletsFor(Portal aPortal, PortalCategory aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorypublic Portlet[] getVisiblePortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namepublic Portlet[] getVisiblePortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namethe
- user namepublic Portlet[] getPortletDefinitionsFor(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException
public Portlet[][] getRCPortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namethe
- user idpublic PortalColumnInformation[] getColumnInformationFor(Portal aPortal, PortalCategory aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
String
- the portal name.the
- categorypublic void setColumnInformationFor(Portal aPortal, PortalCategory aCategory, PortalColumnInformation[] someColumnInformation) throws java.rmi.RemoteException, PortalException, PortalRemoveException, PortalCreateException
the
- portal.the
- category.the
- new column information.public PortalCategory getDefaultCategory(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalCreateException
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.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.public void createPortletForPortal(Portal aPortal, PortalCategory aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortal
- a portal name.the
- categorythe
- portlet to createpublic void updatePortletForPortal(Portal aPortal, PortalCategory aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- a portal name.the
- categorythe
- portlet to createpublic void updatePortletForPortal(Portal aPortal, PortalCategory 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.public void removePortletForPortal(Portal aPortal, PortalCategory aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortal
- a portal name.the
- categorythe
- portlet to remove.public void createPortletForGroup(Portal aPortal, PortalCategory aCategory, long aGroup, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
aPortal
- a portal name.the
- categorythe
- groupthe
- portlet to createpublic void updatePortletForGroup(Portal aPortal, PortalCategory aCategory, long aGroup, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
aPortal
- a portal name.the
- categorythe
- groupthe
- portlet to createpublic void updatePortletForGroup(Portal aPortal, PortalCategory aCategory, long aGroup, 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(Portal aPortal, PortalCategory aCategory, long aGroup, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortal
- a portal instance.the
- portal name.the
- categorythe
- group namethe
- portlet to update.public void createPortletForUser(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalCreateException
the
- portal name.the
- categorythe
- group namethe
- userthe
- portlet to update.public void updatePortletForUser(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portal name.the
- categorythe
- group namethe
- userthe
- portlet to update.public void updatePortletForUser(Portal aPortal, PortalCategory aCategory, long aGroup, long 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(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
aPortal
- a portal instance.the
- categorythe
- group namethe
- userpublic Portal[] getPortals() throws java.rmi.RemoteException, PortalException, PortalFinderException
public Portlet[] getPortlets() throws java.rmi.RemoteException, PortalException, PortalFinderException
public Portal[] getPortalsFor(Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portlet name.public void addPortletTo(Portlet aPortlet, Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalCreateException
the
- portlet to addthe
- portal name to add it to.public void removePortletFrom(Portlet aPortlet, Portal aPortal) 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 Portlet getPortletFor(java.lang.String aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portlet name.public Portlet getPortletForPortal(Portal aPortal, PortalCategory aCategory, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portal name.the
- categorythe
- portlet name.public Portlet getPortletForGroup(Portal aPortal, PortalCategory aCategoryName, long aGroup, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portal name.the
- categorythe
- group name.the
- portlet name.public Portlet getPortletForUser(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser, Portlet aPortlet) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portal name.the
- categorythe
- group name.the
- portlet name.the
- user name.public Portlet getPortletForPortal(Portal aPortal, PortalCategory aCategory, Portlet aPortlet, boolean isWaterfall) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portal name.the
- categorythe
- portlet name.boolean
- should i allow the waterfallpublic Portlet getPortletForGroup(Portal aPortal, PortalCategory aCategory, long aGroup, Portlet 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 waterfallpublic Portlet getPortletForUser(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser, Portlet 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 waterfallpublic void addGroupToPortal(Portal aPortal, long aGroup) throws java.rmi.RemoteException, PortalException, PortalCreateException
the
- portal namethe
- group id (name)public long[] getGroupsForPortal(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namepublic long[] getPortletIdsForPortal(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portalpublic void removeGroupForPortal(Portal aPortal, long aGroup) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException, PortalRemoveException
the
- portal name.the
- group id.public PortalColumnInformation[] fastGetColumnInformationFor(Portal aPortal, PortalCategory aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorypublic Portlet[][] fastGetRCPortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namethe
- user idpublic Portlet[] fastGetPortletDefinitionsFor(Portal aPortal) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namepublic Portlet[] fastGetPortletsFor(Portal aPortal, PortalCategory aCategory) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorypublic Portlet[] fastGetPortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namepublic Portlet[] fastGetPortletsFor(Portal aPortal, PortalCategory aCategory, long aGroup, long aUser) throws java.rmi.RemoteException, PortalException, PortalFinderException
the
- portal namethe
- categorythe
- group namethe
- user namepublic Portal fastGetPortalFor(java.lang.String aName) throws java.rmi.RemoteException, PortalException, PortalFinderException, PortalObjectNotFoundException
the
- portal name
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |