|
© 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.MarkupDefinitionManagerImpl
Field Summary | |
protected static Debug |
debug
|
Constructor Summary | |
MarkupDefinitionManagerImpl()
|
Method Summary | |
MarkupDefinition |
createMarkupDefinition(CustomizationContext customizationContext,
MarkupDefinition markupDefinition)
Creates a new MarkupView Definition with its placeholders. |
void |
deleteMarkupDefinition(CustomizationContext customizationContext,
MarkupDefinitionId markupDefinitionId)
Delete a markup definition. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
MarkupDefinition |
getMarkupDefinition(CustomizationContext customizationContext,
MarkupDefinitionId markupDefinitionId)
Getter for returning a single MarkupDefinition object given a supplied markup
definition identifier. |
MarkupDefinition |
getMarkupDefinition(CustomizationContext customizationContext,
String markupName,
String webAppName)
Getter for returning a single MarkupDefinition object given a supplied markup
name. |
MarkupDefinition |
getMarkupDefinitionFromFile(CustomizationContext customizationContext,
String markupFileName,
String webAppName)
Getter for returning a single MarkupDefinition object given a supplied markup file name
name. |
MarkupDefinition[] |
getMarkupDefinitions(CustomizationContext customizationContext,
String webapp)
Getter for returning a list of all MarkupDefinitions scoped to the supplied webapp. |
MarkupView |
getMarkupView(CustomizationContext customizationContext,
MarkupDefinitionId markupDefinitionId)
Getter for returning an immutable deep copy of a MarkupView. |
void |
setSessionContext(SessionContext sessionContext)
|
void |
updateMarkupDefinition(CustomizationContext customizationContext,
MarkupDefinition markupDefinition)
Update the markup definition with the new data. |
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 MarkupDefinitionManagerImpl()
Method Detail |
public void ejbCreate() throws CreateException, RemoteException
CreateException
RemoteException
public void ejbActivate() throws EJBException, RemoteException
ejbActivate
in interface SessionBean
EJBException
RemoteException
public void ejbPassivate() throws EJBException, RemoteException
ejbPassivate
in interface SessionBean
EJBException
RemoteException
public void ejbRemove() throws EJBException, RemoteException
ejbRemove
in interface SessionBean
EJBException
RemoteException
public void setSessionContext(SessionContext sessionContext) throws EJBException, RemoteException
setSessionContext
in interface SessionBean
EJBException
RemoteException
public MarkupView getMarkupView(CustomizationContext customizationContext, MarkupDefinitionId markupDefinitionId) throws RemoteException
IMarkupDefinitionManager
Getter for returning an immutable deep copy of a MarkupView. The MarkupView
object, unlike the MarkupDefinition
or the MarkupInstance
objects
contains a full set of references to all child pages, markups and so on. The
MarkupView
object however is immutable.
getMarkupView
in interface IMarkupDefinitionManager
markupDefinitionId
- the unique markupDefinitionId.
RemoteException
public MarkupDefinition[] getMarkupDefinitions(CustomizationContext customizationContext, String webapp) throws RemoteException
IMarkupDefinitionManager
Getter for returning a list of all MarkupDefinitions
scoped to the supplied webapp.
getMarkupDefinitions
in interface IMarkupDefinitionManager
customizationContext
- for customization informationwebapp
- the web application these markup definitions are scoped to.
RemoteException
MarkupDefinition
public MarkupDefinition getMarkupDefinition(CustomizationContext customizationContext, MarkupDefinitionId markupDefinitionId) throws RemoteException
IMarkupDefinitionManager
Getter for returning a single MarkupDefinition
object given a supplied markup
definition identifier.
getMarkupDefinition
in interface IMarkupDefinitionManager
customizationContext
- for customization informationmarkupDefinitionId
- the unique markup definition identifier.
MarkupDefinition
object fully populated and internationalized, otherwise,
null>/code> if the object does not exist.
RemoteException
- See Also:
MarkupDefinition
public MarkupDefinition getMarkupDefinition(CustomizationContext customizationContext, String markupName, String webAppName) throws RemoteException
IMarkupDefinitionManager
Getter for returning a single MarkupDefinition
object given a supplied markup
name.
getMarkupDefinition
in interface IMarkupDefinitionManager
customizationContext
- for customization informationmarkupName
- the markup name.
MarkupDefinition
object fully populated and internationalized, otherwise,
null>/code> if the object does not exist.
RemoteException
- See Also:
MarkupDefinition
public MarkupDefinition getMarkupDefinitionFromFile(CustomizationContext customizationContext, String markupFileName, String webAppName) throws RemoteException
IMarkupDefinitionManager
Getter for returning a single MarkupDefinition
object given a supplied markup file name
name.
getMarkupDefinitionFromFile
in interface IMarkupDefinitionManager
customizationContext
- for customization informationmarkupFileName
- the name of the markup file relative to the webapp (/frameworks/markup/shell/my.shell)
MarkupDefinition
object fully populated and internationalized, otherwise,
null>/code> if the object does not exist.
RemoteException
- See Also:
MarkupDefinition
public MarkupDefinition createMarkupDefinition(CustomizationContext customizationContext, MarkupDefinition markupDefinition) throws MissingDataException, NotEntitledException, RemoteException, DuplicateObjectException
IMarkupDefinitionManager
createMarkupDefinition
in interface IMarkupDefinitionManager
customizationContext
- for customization informationmarkupDefinition
- the markup data and associated placeholders
DuplicateObjectException
- another markup definition has the same markup name, type and webapp
NotEntitledException
- the caller is not entitled to create a new markup.
MissingDataException
- the markupDefiniiton supplied as an argument is missing some vital data.
RemoteException
public void updateMarkupDefinition(CustomizationContext customizationContext, MarkupDefinition markupDefinition) throws ObjectNotFoundException, NotEntitledException, RemoteException
IMarkupDefinitionManager
Update the markup definition with the new data.
updateMarkupDefinition
in interface IMarkupDefinitionManager
customizationContext
- for customization informationmarkupDefinition
- the markup definition containing the new data
ObjectNotFoundException
- if the LocalizationIntersectionId in the LocalizationResource is bogus.
NotEntitledException
RemoteException
public void deleteMarkupDefinition(CustomizationContext customizationContext, MarkupDefinitionId markupDefinitionId) throws ObjectNotFoundException, NotEntitledException, RemoteException
IMarkupDefinitionManager
Delete a markup definition. The markup definition will not be deleted if it is a built in type
or the markup is in use. This method will not throw an ObjectInUseException
instead
it will abort silently. To determine if these special conditions are occuring turn on debuging
for com.bea.netuix.application.manager.persistence.jdbc.MarkupDefinitionDelegate
.
deleteMarkupDefinition
in interface IMarkupDefinitionManager
customizationContext
- for customization informationmarkupDefinitionId
- the id of the markup definition to delete.
NotEntitledException
- the caller is not entitled to perform this operation.
ObjectNotFoundException
- if the markupDefinitionId is bogus
RemoteException
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |