|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.netuix.application.definition.DesktopDefinition
public class DesktopDefinition
This class represents a persistent desktop.
Nested Class Summary | |
---|---|
static class |
DesktopDefinition.AsyncModeType
|
Field Summary | |
---|---|
protected DesktopDefinition.AsyncModeType |
asyncMode
|
Constructor Summary | |
---|---|
protected |
DesktopDefinition(DesktopDefinitionId desktopDefinitionId,
LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
BookDefinitionId bookDefinitionId,
DesktopInstance desktopInstance)
Constructor that takes a DesktopInstance |
|
DesktopDefinition(DesktopDefinitionId desktopDefinitionId,
LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
BookDefinitionId bookDefinitionId,
LookAndFeelDefinitionId lookAndFeelDefinitionId,
ShellDefinitionId shellDefinitionId)
Constructs a new DesktopDefinition object. |
|
DesktopDefinition(DesktopDefinitionId desktopDefinitionId,
LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
BookDefinitionId bookDefinitionId,
LookAndFeelDefinitionId lookAndFeelDefinitionId,
ShellDefinitionId shellDefinitionId,
boolean treeOptimization)
|
Method Summary | |
---|---|
DesktopDefinition.AsyncModeType |
getAsyncMode()
The async mode attribute is used to determine if the desktop should rendered in AJAX mode. |
BookDefinitionId |
getBookDefinitionId()
Returns the BookDefinitionId for the primary BookDefinition
associated with this desktop. |
BookInstanceId |
getBookInstanceId()
Returns BookInstanceId of the BookInstance
associated with the primary desktop instance of this desktop. |
Date |
getCreatedDate()
Gets the time that this object was created in the database. |
DesktopDefinitionId |
getDesktopDefinitionId()
Returns the DesktopDefinitionId for this desktop. |
DesktopType.DesktopTypeValue |
getDesktopType()
|
LocalizationIntersectionId |
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this desktop. |
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
DesktopDefinition based on the locale of the request used
for retrieving the DesktopDefinition . |
LookAndFeelDefinitionId |
getLookAndFeelDefinitionId()
Returns the LookAndFeelDefinitionId for the LookAndFeelDefinition
associated with this desktop. |
MarkupDefinitionId |
getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition
associated with this desktop. |
Date |
getModifiedDate()
Gets the time that this object was last updated in the database. |
DesktopInstanceId |
getPrimaryInstanceId()
Returns the DesktopInstanceId for the primary
DesktopInstance associated with this desktop. |
ShellDefinitionId |
getShellDefinitionId()
Returns the ShellDefinitionId for the ShellDefinition
associated with this desktop. |
TemplateId |
getTemplateId()
Returns the TemplateId of this template. |
TemplateTypeDefinition.TemplateType |
getTemplateType()
Returns the TemplateTypeDefinition.TemplateType associated
with this template |
com.bea.netuix.application.identifier.TemplateTypeId |
getTemplateTypeId()
Returns the TemplateTypeId associated with this template |
String |
getWebAppName()
Returns the name of the J2EE web application this portlet category is scoped to. |
boolean |
isDisc()
During rendering should this desktop import the WLP Goo JS framework. |
boolean |
isDvt()
Is the dynamic visitor tooling functionality enabled for this Desktop? |
boolean |
isGlobal()
|
boolean |
isScrollToWindow()
The scrollToWindow feature will scroll the browser view to the Window
that the user last interacted with on postback requests. |
boolean |
isTemplate()
|
boolean |
isTreeOptimization()
During rendering should this desktop use partial control tree contruction. |
void |
setAsyncMode(DesktopDefinition.AsyncModeType asyncModeType)
The async mode attribute is used to determine if the desktop should rendered in AJAX mode. |
void |
setBookDefinitionId(BookDefinitionId bookDefinitionId)
Sets the BookDefinitionId for the primary book of this dekstop. |
void |
setDesktopDefinitionId(DesktopDefinitionId desktopDefinitionId)
Sets the DesktopDefinitionId for this desktop. |
void |
setDisc(boolean goo)
During rendering should this desktop import the WLP Goo JS framework. |
void |
setDvt(boolean dvt)
Set whether or not the dynamic visitor tooling functionality is enabled for this Desktop. |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this desktop. |
void |
setLookAndFeelDefinitionId(LookAndFeelDefinitionId lookAndFeelDefinitionId)
Associates a LookAndFeelDefinition with this desktop. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this desktop. |
void |
setScrollToWindow(boolean scrollToWindow)
The scrollToWindow feature will scroll the browser view to the Window
that the user last interacted with on postback requests. |
void |
setShellDefinitionId(ShellDefinitionId shellDefinitionId)
Associates a ShellDefinition with this desktop. |
void |
setTreeOptimization(boolean treeOptimization)
During rendering should this desktop use partial control tree contruction. |
String |
toString()
Returns a concatenated string representation of DesktopDefinitionId(web app name + portal path + desktop path) LocalizationIntersectionId(int) BookDefinitionId(int) MarkupDefinitionId(int) Tree Optimized flag(boolean) DesktopType(enum) IsTemplate flag(boolean) IsGlobal flag(boolean) AsyncMode(enum) Scroll To Window flag(boolean) Goo Enabled flag(boolean) DVT Enabled flag(boolean) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected DesktopDefinition.AsyncModeType asyncMode
Constructor Detail |
---|
public DesktopDefinition(DesktopDefinitionId desktopDefinitionId, LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, BookDefinitionId bookDefinitionId, LookAndFeelDefinitionId lookAndFeelDefinitionId, ShellDefinitionId shellDefinitionId)
DesktopDefinition
object.
desktopDefinitionId
- desktopDefinitionId for this desktoplocalizationResource
- localized title and descriptionmarkupDefinitionId
- reference to a persisted MarkupDefinition
that specifies the markup for this desktopbookDefinitionId
- reference to a persisted BookDefinition
that represents the main book of this desktoplookAndFeelDefinitionId
- reference to a persisted LookAndFeelDefinition
to be associated with this desktopshellDefinitionId
- reference to a persisted ShellDefinition
to be associated with this desktoppublic DesktopDefinition(DesktopDefinitionId desktopDefinitionId, LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, BookDefinitionId bookDefinitionId, LookAndFeelDefinitionId lookAndFeelDefinitionId, ShellDefinitionId shellDefinitionId, boolean treeOptimization)
protected DesktopDefinition(DesktopDefinitionId desktopDefinitionId, LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, BookDefinitionId bookDefinitionId, DesktopInstance desktopInstance)
DesktopInstance
desktopDefinitionId
- desktopDefinitionId for this desktoplocalizationResource
- localized title and descriptionmarkupDefinitionId
- reference to a persisted MarkupDefinition
that specifies the markup for this desktopbookDefinitionId
- reference to a persisted BookDefinition
that represents the main book of this desktopdesktopInstance
- referver to the instance for this definitionMethod Detail |
---|
public DesktopDefinitionId getDesktopDefinitionId()
DesktopDefinitionId
for this desktop.
DesktopDefinitionId
public void setDesktopDefinitionId(DesktopDefinitionId desktopDefinitionId)
DesktopDefinitionId
for this desktop.
desktopDefinitionId
- webapp + portapath + desktoppathpublic LocalizationResource getLocalizationResource()
LocalizationResource
associated with this
DesktopDefinition
based on the locale of the request used
for retrieving the DesktopDefinition
.
getLocalizationResource
in interface TemplateDefinition
LocalizationResource
associated with this desktoppublic LocalizationIntersectionId getLocalizationIntersectionId()
LocalizationIntersectionId
for this desktop.
Returns null if no LocalizationResource is associated with
this desktop. A LocalizationIntersectionId
is a reference to all
localized versions of title and description for an entity.
LocalizationIntersectionId
for this desktoppublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this desktop.
localizationResource
- title and descriptionpublic MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId
for the MarkupDefinition
associated with this desktop.
MarkupDefinitionId
MarkupDefinition
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId
for this desktop.
markupDefinitionId
- database unique idpublic BookDefinitionId getBookDefinitionId()
BookDefinitionId
for the primary BookDefinition
associated with this desktop.
BookDefinitionId
BookDefinition
public void setBookDefinitionId(BookDefinitionId bookDefinitionId)
BookDefinitionId
for the primary book of this dekstop.
bookDefinitionId
- databse unique idpublic ShellDefinitionId getShellDefinitionId()
ShellDefinitionId
for the ShellDefinition
associated with this desktop.
ShellDefinitionId
ShellDefinition
public LookAndFeelDefinitionId getLookAndFeelDefinitionId()
LookAndFeelDefinitionId
for the LookAndFeelDefinition
associated with this desktop.
LookAndFeelDefinitionId
LookAndFeelDefinition
public BookInstanceId getBookInstanceId()
BookInstanceId
of the BookInstance
associated with the primary desktop instance of this desktop.
BookInstanceId
BookInstance
public DesktopInstanceId getPrimaryInstanceId()
DesktopInstanceId
for the primary
DesktopInstance
associated with this desktop.
DesktopInstanceId
public void setLookAndFeelDefinitionId(LookAndFeelDefinitionId lookAndFeelDefinitionId)
LookAndFeelDefinition
with this desktop.
lookAndFeelDefinitionId
- database unique idpublic void setShellDefinitionId(ShellDefinitionId shellDefinitionId)
ShellDefinition
with this desktop.
shellDefinitionId
- database unique idpublic DesktopType.DesktopTypeValue getDesktopType()
public boolean isTemplate()
public boolean isGlobal()
public String getWebAppName()
getWebAppName
in interface TemplateDefinition
public TemplateId getTemplateId()
TemplateDefinition
TemplateId
of this template.
getTemplateId
in interface TemplateDefinition
public TemplateTypeDefinition.TemplateType getTemplateType()
TemplateDefinition
TemplateTypeDefinition.TemplateType
associated
with this template
getTemplateType
in interface TemplateDefinition
public com.bea.netuix.application.identifier.TemplateTypeId getTemplateTypeId()
TemplateDefinition
TemplateTypeId
associated with this template
getTemplateTypeId
in interface TemplateDefinition
public boolean isTreeOptimization()
public void setTreeOptimization(boolean treeOptimization)
treeOptimization
- true or falsepublic DesktopDefinition.AsyncModeType getAsyncMode()
public void setAsyncMode(DesktopDefinition.AsyncModeType asyncModeType)
asyncModeType
- - valid values "enabled", "disabled", "compat_9_2"public Date getCreatedDate()
getCreatedDate
in interface DateableDefinition
public Date getModifiedDate()
getModifiedDate
in interface DateableDefinition
public boolean isScrollToWindow()
Window
that the user last interacted with on postback requests. This flag identifies
whether or not the feature is enabled. Defaults to false.
public void setScrollToWindow(boolean scrollToWindow)
Window
that the user last interacted with on postback requests. This method controls
whether or not the feature is enabled. Defaults to false.
scrollToWindow
- true or falsepublic boolean isDisc()
public void setDisc(boolean goo)
goo
- true or falsepublic boolean isDvt()
public void setDvt(boolean dvt)
dvt
- true or falsepublic String toString()
toString
in class Object
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |