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 fromLookAndFeelDefinition
createLookAndFeelDefinition(CustomizationContext
customizationContext,LookAndFeelDefinition
lookAndFeelDefinition)
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 fromThemeDefinition
createThemeDefinition(CustomizationContext
customizationContext,ThemeDefinition
themeDefinition)
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 fromCustomizationContext
customizationContext,LookAndFeelDefinitionId
lookAndFeelDefinitionId)
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 fromCustomizationContext
customizationContext,LookAndFeelDefinitionId
deleteLookAndFeelDefinitionId,LookAndFeelDefinitionId
replacementLookAndFeelDefinitionId)
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 fromCustomizationContext
customizationContext,ThemeDefinitionId
themeDefinitionId)
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 fromCustomizationContext
customizationContext,ThemeDefinitionId
themeDefinitionId)
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 fromLookAndFeelDefinition
getLookAndFeelDefinition(CustomizationContext
customizationContext,LookAndFeelDefinitionId
lookAndFeelDefinitionId)
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 fromLookAndFeelDefinition
getLookAndFeelDefinitionFromFile(CustomizationContext
customizationContext,String
lookAndFeelFile,String
webAppName)
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 fromLookAndFeelDefinitionId
getLookAndFeelDefinitionId(CustomizationContext
customizationContext,String
markupName,String
webAppName)
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(CustomizationContext
customizationContext,String
webapp)
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(CustomizationContext
customizationContext,String
webapp,LookAndFeelDefinitionId
firstLookAndFeelDefinitionId, int limit)
throwsRemoteException
ILookAndFeelDefinitionManager.getLookAndFeelDefinitions(CustomizationContext, String, LookAndFeelDefinitionId, int)
Returns LookAndFeelDefinition
s in definitionId
order (create order). Starting
with the supplied definitionId and limiting the result set to size limit
If fewer LookAndFeelDefinition
s 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 LookAndFeelDefinition
s in a consistent
order.
LookAndFeelDefinition
s no greater than limit
in size. RemoteException
publicDescription copied fromLookAndFeelView
getLookAndFeelView(CustomizationContext
customizationContext,LookAndFeelDefinitionId
lookAndFeelDefinitionId)
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 fromThemeDefinition
getThemeDefinition(CustomizationContext
customizationContext,ThemeDefinitionId
themeDefinitionId)
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 fromThemeDefinition
getThemeDefinitionFromFile(CustomizationContext
customizationContext,String
themeFile,String
webAppName)
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 fromThemeDefinitionId
getThemeDefinitionId(CustomizationContext
customizationContext,String
markupName,String
webAppName)
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(CustomizationContext
customizationContext,String
webapp)
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(CustomizationContext
customizationContext,String
webapp,ThemeDefinitionId
firstThemeDefinitionId, int limit)
throwsRemoteException
IThemeDefinitionManager.getThemeDefinitions(CustomizationContext, String, ThemeDefinitionId, int)
Returns ThemeDefinition
s in definitionId
order (create order). Starting
with the supplied definitionId and limiting the result set to size limit
If fewer ThemeDefinition
s 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 ThemeDefinition
s in a consistent
order.
ThemeDefinition
s no greater than limit
in size. RemoteException
publicDescription copied fromThemeView
getThemeView(CustomizationContext
customizationContext,ThemeDefinitionId
themeDefinitionId)
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(SessionContext
sessionContext)
throwsEJBException
,RemoteException
EJBException
RemoteException
public void updateLookAndFeelDefinition(Description copied fromCustomizationContext
customizationContext,LookAndFeelDefinition
lookAndFeelDefinition)
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 fromCustomizationContext
customizationContext,ThemeDefinition
themeDefinition)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IThemeDefinitionManager.updateThemeDefinition(CustomizationContext, ThemeDefinition)
Update the theme definition with the new data.
RemoteException
ObjectNotFoundException
NotEntitledException