|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.bea.netuix.application.manager.persistence.jdbc.PortalDefinitionManagerImpl
PortalDefinitionManagerImpl
| Field Summary | |
protected static Debug |
debug
|
| Constructor Summary | |
PortalDefinitionManagerImpl()
|
|
| Method Summary | |
PortalDefinition |
createPortalDefinition(CustomizationContext customizationContext,
PortalDefinition pd)
Creates a persistant version of a PortalDefinition
from the provided PortalDefinition. |
int |
deletePortalDefinition(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
Deletes all (including localized) versions of a PortalDefinition. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
DefinitionCount |
getDefinitionCount(CustomizationContext customizationContext,
boolean _public)
Return a count of all the definitions in the system. |
int |
getDesktopDefinitionCount(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
Returns the number of DesktopDefinitions under
portal portalPath. |
PortalPath[] |
getDesktopDefinitionPortals(CustomizationContext customizationContext,
DesktopPath desktopPath,
String webapp)
Returns all the PortalPaths that a
DesktopDefinition is a part of. |
DesktopDefinition[] |
getDesktopDefinitions(CustomizationContext customizationContext,
PortalPath portalPath,
int begin,
int end,
String webapp)
Returns DesktopDefinitions in the begin
and end range under the portal portalPath.
|
DesktopView[] |
getDesktopViews(CustomizationContext customizationContext,
PortalPath portalPath,
int begin,
int end,
String webapp)
Returns DesktopViews in the begin and
end range under the portal portalPath. |
PortalDefinition |
getPortalDefinition(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
Returns a PortalDefinition corresponding to a
PortalPath. |
int |
getPortalDefinitionCount(CustomizationContext customizationContext,
String webapp)
Returns the number of portals. |
PortalDefinition[] |
getPortalDefinitions(CustomizationContext customizationContext,
PortalPath[] portalPaths,
String webapp)
Returns an array of PortalDefinitions corresponding
to an array of PortalPaths. |
PortalView |
getPortalDefinitionView(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
Returns a PortalView corresponding to a
PortalPath. |
PortalView[] |
getPortalDefinitionViews(CustomizationContext customizationContext,
PortalPath[] portalPaths,
String webapp)
Returns an array of PortalViews corresponding
to an array of PortalPaths. |
PortalPath[] |
getPortalPaths(CustomizationContext customizationContext,
int begin,
int end,
String webapp)
Returns an array of PortalPaths in the
begin and end range. |
String[] |
getPortalWebApps(CustomizationContext customizationContext)
Return a set of portal webapps that are customizable. |
void |
setSessionContext(SessionContext sessionContext)
|
void |
updatePortalDefinition(CustomizationContext customizationContext,
PortalPath portalPath,
PortalDefinition newPd)
Updates a locale specific version of a PortalDefinition based on a new PortalDefinition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static Debug debug
| Constructor Detail |
public PortalDefinitionManagerImpl()
| Method Detail |
public void setSessionContext(SessionContext sessionContext)
throws EJBException
setSessionContext in interface SessionBeanEJBException
public void ejbCreate()
throws CreateException,
RemoteException
CreateException
RemoteException
public void ejbRemove()
throws EJBException
ejbRemove in interface SessionBeanEJBException
public void ejbActivate()
throws EJBException
ejbActivate in interface SessionBeanEJBException
public void ejbPassivate()
throws EJBException
ejbPassivate in interface SessionBeanEJBException
public String[] getPortalWebApps(CustomizationContext customizationContext)
throws RemoteException
IPortalDefinitionManagerReturn a set of portal webapps that are customizable. Customizable webapps are webapps with customization element set to true in the netuix-config.xml file, and have at least on of the following: .shell files.
getPortalWebApps in interface IPortalDefinitionManagercustomizationContext -
RemoteException
public DefinitionCount getDefinitionCount(CustomizationContext customizationContext,
boolean _public)
throws RemoteException
IPortalDefinitionManagerReturn a count of all the definitions in the system.
getDefinitionCount in interface IPortalDefinitionManagercustomizationContext - _public - if true only return public definitions
RemoteException
public int getPortalDefinitionCount(CustomizationContext customizationContext,
String webapp)
throws RemoteException
getPortalDefinitionCount in interface IPortalDefinitionManagerwebapp - web application these desktop definitions are scoped to.
RemoteException
public PortalDefinition getPortalDefinition(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
throws RemoteException,
ObjectNotFoundException
PortalDefinition corresponding to a
PortalPath.
getPortalDefinition in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPath - PortalPathwebapp - web application these desktop definitions are scoped to.
PortalDefinition
ObjectNotFoundException - if no portal is found
RemoteException
public PortalView getPortalDefinitionView(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
throws RemoteException,
ObjectNotFoundException
PortalView corresponding to a
PortalPath.
getPortalDefinitionView in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPath - PortalPathwebapp - web application these desktop definitions are scoped to.
PortalView
ObjectNotFoundException - if no category definition is found
RemoteException
public PortalPath[] getPortalPaths(CustomizationContext customizationContext,
int begin,
int end,
String webapp)
throws RemoteException
PortalPaths in the
begin and end range. If fewer portals
than (begin-end) exist then the former number of portals is
returned. If no definitions are found an empty array is returned.PortalPaths in a consistent
order.
getPortalPaths in interface IPortalDefinitionManagercustomizationContext - customization informationbegin - begin indexend - end indexwebapp - web application these desktop definitions are scoped to.
PortalPaths
RemoteException
public PortalDefinition[] getPortalDefinitions(CustomizationContext customizationContext,
PortalPath[] portalPaths,
String webapp)
throws RemoteException,
ObjectNotFoundException
PortalDefinitions corresponding
to an array of PortalPaths.
getPortalDefinitions in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPaths - array of PortalPathswebapp - web application these desktop definitions are scoped to.
PortalDefinitions
ObjectNotFoundException - if portal for any key does not exist
RemoteException
public PortalView[] getPortalDefinitionViews(CustomizationContext customizationContext,
PortalPath[] portalPaths,
String webapp)
throws RemoteException,
ObjectNotFoundException
PortalViews corresponding
to an array of PortalPaths.
getPortalDefinitionViews in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPaths - array of PortalPathswebapp - web application these desktop definitions are scoped to.
PortalViews
ObjectNotFoundException - if portal for any key does not exist
RemoteException
public int getDesktopDefinitionCount(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
throws RemoteException
DesktopDefinitions under
portal portalPath.
getDesktopDefinitionCount in interface IPortalDefinitionManagerportalPath - PortalPathwebapp - web application these desktop definitions are scoped to.
PortletDefinitions under portal
represented by portalPath
RemoteException
public DesktopDefinition[] getDesktopDefinitions(CustomizationContext customizationContext,
PortalPath portalPath,
int begin,
int end,
String webapp)
throws RemoteException
DesktopDefinitions in the begin
and end range under the portal portalPath.
If fewer DesktopDefinitions than (begin-end) exist
then the former number is returned. If no definitions are
found an empty array is returned.DesktopDefinitions.DesktopDefinitions in a consistent
order.
getDesktopDefinitions in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPath - PortalPathbegin - begin indexend - end indexwebapp - web application these desktop definitions are scoped to.
DesktopDefinitions
RemoteException
public DesktopView[] getDesktopViews(CustomizationContext customizationContext,
PortalPath portalPath,
int begin,
int end,
String webapp)
throws RemoteException,
ObjectNotFoundException
DesktopViews in the begin and
end range under the portal portalPath. If fewer
views than (begin-end) exist then the former number of views is returned.
If no views are found an empty array is returned.DesktopDefinitions.DesktopViews in a consistent
order.
getDesktopViews in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPath - PortalPathbegin - begin indexend - end indexwebapp - web application these desktop definitions are scoped to.
DesktopViews
RemoteException
ObjectNotFoundException
public PortalPath[] getDesktopDefinitionPortals(CustomizationContext customizationContext,
DesktopPath desktopPath,
String webapp)
throws RemoteException
PortalPaths that a
DesktopDefinition is a part of. Returns an empty array
if the latter is noncategorized.
getDesktopDefinitionPortals in interface IPortalDefinitionManagerdesktopPath - DesktopPathwebapp - web application these desktop definitions are scoped to.
PortalPaths
RemoteException
public PortalDefinition createPortalDefinition(CustomizationContext customizationContext,
PortalDefinition pd)
throws RemoteException,
NotEntitledException,
MissingDataException,
DuplicateObjectException
PortalDefinition
from the provided PortalDefinition.
createPortalDefinition in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localespd - PortalDefinition
PortalDefinition
NotEntitledException - if caller does not have permission for this
operation
MissingDataException - if data required to create a portal is
missing
DuplicateObjectException - if this or another webapp already has a portal with the same partial path
RemoteException
public int deletePortalDefinition(CustomizationContext customizationContext,
PortalPath portalPath,
String webapp)
throws RemoteException,
NotEntitledException
deletePortalDefinition in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPath - PortalPath for PortalDefinition to be removedwebapp - web application these desktop definitions are scoped to.
NotEntitledException - if caller does not have permission for this
operation
RemoteException
public void updatePortalDefinition(CustomizationContext customizationContext,
PortalPath portalPath,
PortalDefinition newPd)
throws RemoteException,
ObjectNotFoundException,
ObjectInUseException,
NotEntitledException,
MissingDataException
updatePortalDefinition in interface IPortalDefinitionManagercustomizationContext - customization information such as prefered
localesportalPath - PortalPath to PortalDefinition to be updatednewPd - new PortalDefinition
ObjectNotFoundException - if portal does not exist
NotEntitledException - if caller does not have permission for this
operation
MissingDataException - if data required to update a portal is
missing
RemoteException
ObjectInUseException
|
© 2003 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||