Object
ILookAndFeelDefinitionManager, IThemeDefinitionManager, SessionBean
Object
LookAndFeelDefinitionManagerImpl
EnterpriseBean, ILookAndFeelDefinitionManager, IThemeDefinitionManager, Serializable, SessionBean
Field Summary |
protected static |
|
Constructor Summary |
Method Summary |
public |
|
public |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void | |
public void | |
public void | |
public void | |
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public void |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from class com.bea.netuix.application.manager. |
|
Methods from class javax.ejb. |
ejbActivate, ejbPassivate, ejbRemove, setSessionContext |
Field Detail |
protected static Debug debug
Constructor Detail |
public LookAndFeelDefinitionManagerImpl()
Method Detail |
publicDescription copied fromLookAndFeelDefinitioncreateLookAndFeelDefinition(CustomizationContextcustomizationContext,LookAndFeelDefinitionlookAndFeelDefinition)
throwsRemoteException,MissingDataException,NotEntitledException
ILookAndFeelDefinitionManager.createLookAndFeelDefinition(CustomizationContext, LookAndFeelDefinition)
Creates a new LookAndFeelView Definition. While look and feels can be created by this method they should be created via a .laf file. The .laf file may be located anywhere in the webap pdirectory and immediately gets picked up by the system.
RemoteException
MissingDataException
NotEntitledException
publicDescription copied fromThemeDefinitioncreateThemeDefinition(CustomizationContextcustomizationContext,ThemeDefinitionthemeDefinition)
throwsRemoteException,MissingDataException,NotEntitledException
IThemeDefinitionManager.createThemeDefinition(CustomizationContext, ThemeDefinition)
Creates a new ThemeView Definition with its placeholders. Note, while themes can be created via this method they should be created via a .theme file located anywhere in the webapp directory. Once the file is created it will be immediately be picked up by the system.
RemoteException
MissingDataException
NotEntitledException
public void deleteLookAndFeelDefinition(Description copied fromCustomizationContextcustomizationContext,LookAndFeelDefinitionIdlookAndFeelDefinitionId)
throwsRemoteException,ObjectNotFoundException,ObjectInUseException,NotEntitledException
ILookAndFeelDefinitionManager.deleteLookAndFeelDefinition(CustomizationContext, LookAndFeelDefinitionId)
Delete a lookAndFeel definition. Note if the .laf file still exist the look and feel will get recreated. This method is for deleting a look and feel after the .laf file has been deleted.
RemoteException
ObjectNotFoundException
ObjectInUseException
NotEntitledException
public void deleteLookAndFeelDefinitionWithReplacement(Description copied fromCustomizationContextcustomizationContext,LookAndFeelDefinitionIddeleteLookAndFeelDefinitionId,LookAndFeelDefinitionIdreplacementLookAndFeelDefinitionId)
throwsRemoteException,ObjectNotFoundException,NotEntitledException
ILookAndFeelDefinitionManager.deleteLookAndFeelDefinitionWithReplacement(CustomizationContext, LookAndFeelDefinitionId, LookAndFeelDefinitionId)
Delete a lookAndFeel definition (and its skins, skeletons and themes) and replace any uses of that lookAndFeel with a replacement lookAndFeel. This method is useful for deleting a lookAndFeel that is in use by desktop instances and not having to delete those dektopinstances instances. Note if the .laf file still exist the look and feel will get recreated. This method is for deleting a look and feel after the .laf file has been deleted.
RemoteException
ObjectNotFoundException
NotEntitledException
public void deleteThemeDefinition(Description copied fromCustomizationContextcustomizationContext,ThemeDefinitionIdthemeDefinitionId)
throwsRemoteException,ObjectNotFoundException,ObjectInUseException,NotEntitledException
IThemeDefinitionManager.deleteThemeDefinition(CustomizationContext, ThemeDefinitionId)
Delete a theme definition that is not in use.
RemoteException
ObjectNotFoundException
ObjectInUseException
NotEntitledException
public void deleteThemeDefinitionWithCascade(Description copied fromCustomizationContextcustomizationContext,ThemeDefinitionIdthemeDefinitionId)
throwsRemoteException,ObjectNotFoundException,NotEntitledException
IThemeDefinitionManager.deleteThemeDefinitionWithCascade(CustomizationContext, ThemeDefinitionId)
Delete a theme definition and remove anrefernces to it from book, pages or portlets This method is useful for deleting a theme that is in use by book, pages or portlets.
RemoteException
ObjectNotFoundException
NotEntitledException
public void ejbActivate()
throwsEJBException,RemoteException
EJBException
RemoteException
public void ejbCreate()
throwsCreateException,RemoteException
CreateException
RemoteException
public void ejbPassivate()
throwsEJBException,RemoteException
EJBException
RemoteException
public void ejbRemove()
throwsEJBException,RemoteException
EJBException
RemoteException
publicDescription copied fromLookAndFeelDefinitiongetLookAndFeelDefinition(CustomizationContextcustomizationContext,LookAndFeelDefinitionIdlookAndFeelDefinitionId)
throwsRemoteException
ILookAndFeelDefinitionManager.getLookAndFeelDefinition(CustomizationContext, LookAndFeelDefinitionId)
Getter for returning a single LookAndFeelDefinition object given a supplied lookAndFeel
definition identifier.
LookAndFeelDefinition object fully populated and internationalized, otherwise,
null>/code> if the object does not exist. RemoteException
publicDescription copied fromLookAndFeelDefinitiongetLookAndFeelDefinitionFromFile(CustomizationContextcustomizationContext,StringlookAndFeelFile,StringwebAppName)
throwsRemoteException
ILookAndFeelDefinitionManager.getLookAndFeelDefinitionFromFile(CustomizationContext, String, String)
Getter for returning a single LookAndFeelDefinition object given a supplied lookAndFeel
file name.
LookAndFeelDefinition object fully populated and internationalized, otherwise,
null>/code> if the object does not exist. RemoteException
publicDescription copied fromLookAndFeelDefinitionIdgetLookAndFeelDefinitionId(CustomizationContextcustomizationContext,StringmarkupName,StringwebAppName)
throwsRemoteException
ILookAndFeelDefinitionManager.getLookAndFeelDefinitionId(CustomizationContext, String, String)
Getter for returning a single LookAndFeelDefinitionId object given a supplied lookAndFeel
markup name and webapp.
RemoteException
publicDescription copied fromLookAndFeelDefinition[] getLookAndFeelDefinitions(CustomizationContextcustomizationContext,Stringwebapp)
throwsRemoteException
ILookAndFeelDefinitionManager.getLookAndFeelDefinitions(CustomizationContext, String)
Getter for returning a list of all LookAndFeelDefinitions scoped to the supplied webapp.
LookAndFeelDefinition objects if they exist, otherwise, an empty array. RemoteException
publicDescription copied fromLookAndFeelDefinition[] getLookAndFeelDefinitions(CustomizationContextcustomizationContext,Stringwebapp,LookAndFeelDefinitionIdfirstLookAndFeelDefinitionId, int limit)
throwsRemoteException
ILookAndFeelDefinitionManager.getLookAndFeelDefinitions(CustomizationContext, String, LookAndFeelDefinitionId, int)
Returns LookAndFeelDefinitions in definitionId order (create order). Starting
with the supplied definitionId and limiting the result set to size limit
If fewer LookAndFeelDefinitions exist than limit,
then a smaller result set will be returned. If no definitions are
found an empty array is returned.
To start at the beginning of the list specify null as the lookAndFeelDefinitionId.
To retrieve from the end of the list and back specify null as the lookAndFeelDefinitionId
and a negative limit.
To retrieve all the lookAndFeelDefinitions in the database supply a limit of 0.
Implementation has to ensure that repeated calls to this
method return LookAndFeelDefinitions in a consistent
order.
LookAndFeelDefinitions no greater than limit in size. RemoteException
publicDescription copied fromLookAndFeelViewgetLookAndFeelView(CustomizationContextcustomizationContext,LookAndFeelDefinitionIdlookAndFeelDefinitionId)
ILookAndFeelDefinitionManager.getLookAndFeelView(CustomizationContext, LookAndFeelDefinitionId)
Getter for returning an immutable deep copy of a LookAndFeelView. The LookAndFeelView
object, unlike the LookAndFeelDefinition or the LookAndFeelInstance objects
contains a full set of references to all child pages, lookAndFeels and so on. The
LookAndFeelView object however is immutable.
publicDescription copied fromThemeDefinitiongetThemeDefinition(CustomizationContextcustomizationContext,ThemeDefinitionIdthemeDefinitionId)
throwsRemoteException
IThemeDefinitionManager.getThemeDefinition(CustomizationContext, ThemeDefinitionId)
Getter for returning a single ThemeDefinition object given a supplied theme
definition identifier.
ThemeDefinition object fully populated and internationalized, otherwise,
null>/code> if the object does not exist. RemoteException
publicDescription copied fromThemeDefinitiongetThemeDefinitionFromFile(CustomizationContextcustomizationContext,StringthemeFile,StringwebAppName)
throwsRemoteException
IThemeDefinitionManager.getThemeDefinitionFromFile(CustomizationContext, String, String)
Getter for returning a single ThemeDefinition object given a supplied theme
file name.
ThemeDefinition object fully populated and internationalized, otherwise,
null>/code> if the object does not exist. RemoteException
publicDescription copied fromThemeDefinitionIdgetThemeDefinitionId(CustomizationContextcustomizationContext,StringmarkupName,StringwebAppName)
throwsRemoteException
IThemeDefinitionManager.getThemeDefinitionId(CustomizationContext, String, String)
Getter for returning a single ThemeDefinitionId object given a supplied theme
markup name and webapp.
RemoteException
publicDescription copied fromThemeDefinition[] getThemeDefinitions(CustomizationContextcustomizationContext,Stringwebapp)
throwsRemoteException
IThemeDefinitionManager.getThemeDefinitions(CustomizationContext, String)
Getter for returning a list of all ThemeDefinitions scoped to the supplied webapp.
ThemeDefinition objects if they exist, otherwise, an empty array. RemoteException
publicDescription copied fromThemeDefinition[] getThemeDefinitions(CustomizationContextcustomizationContext,Stringwebapp,ThemeDefinitionIdfirstThemeDefinitionId, int limit)
throwsRemoteException
IThemeDefinitionManager.getThemeDefinitions(CustomizationContext, String, ThemeDefinitionId, int)
Returns ThemeDefinitions in definitionId order (create order). Starting
with the supplied definitionId and limiting the result set to size limit
If fewer ThemeDefinitions exist than limit,
then a smaller result set will be returned. If no definitions are
found an empty array is returned.
To start at the beginning of the list specify null as the themeDefinitionId.
To retrieve from the end of the list and back specify null as the themeDefinitionId
and a negative limit.
To retrieve all the themeDefinitions in the database supply a limit of 0.
Implementation has to ensure that repeated calls to this
method return ThemeDefinitions in a consistent
order.
ThemeDefinitions no greater than limit in size. RemoteException
publicDescription copied fromThemeViewgetThemeView(CustomizationContextcustomizationContext,ThemeDefinitionIdthemeDefinitionId)
throwsRemoteException
IThemeDefinitionManager.getThemeView(CustomizationContext, ThemeDefinitionId)
Getter for returning an immutable deep copy of a ThemeView. The ThemeView
object, unlike the ThemeDefinition or the ThemeInstance objects
contains a full set of references to all child pages, themes and so on. The
ThemeView object however is immutable.
RemoteException
public void setSessionContext(SessionContextsessionContext)
throwsEJBException,RemoteException
EJBException
RemoteException
public void updateLookAndFeelDefinition(Description copied fromCustomizationContextcustomizationContext,LookAndFeelDefinitionlookAndFeelDefinition)
throwsRemoteException,ObjectNotFoundException,NotEntitledException,MissingDataException
ILookAndFeelDefinitionManager.updateLookAndFeelDefinition(CustomizationContext, LookAndFeelDefinition)
Update the lookAndFeel definition with the new data.
RemoteException
ObjectNotFoundException
NotEntitledException
MissingDataException
public void updateThemeDefinition(Description copied fromCustomizationContextcustomizationContext,ThemeDefinitionthemeDefinition)
throwsRemoteException,ObjectNotFoundException,NotEntitledException
IThemeDefinitionManager.updateThemeDefinition(CustomizationContext, ThemeDefinition)
Update the theme definition with the new data.
RemoteException
ObjectNotFoundException
NotEntitledException