|
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.MenuDefinition
public class MenuDefinition
This class represents a persistent menu.
Constructor Summary | |
---|---|
MenuDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
String webAppName,
String menuFile,
boolean deleted)
Constructs a new MenuDefinition object. |
Method Summary | |
---|---|
Date |
getCreatedDate()
Gets the time that this object was created in the database. |
LocalizationIntersectionId |
getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this menu. |
LocalizationResource |
getLocalizationResource()
Returns the LocalizationResource associated with this
menu based on the locale of the request used for retrieving the
menu. |
MarkupDefinitionId |
getMarkupDefinitionId()
Returns the MarkupDefinitionId for this MarkupDefinition
associated with this menu. |
MenuDefinitionId |
getMenuDefinitionId()
Returns the MenuDefinitionId for this menu. |
String |
getMenuFile()
Returns the path to the menu file. |
Date |
getModifiedDate()
Gets the time that this object was last updated in the database. |
String |
getThumbnailUri()
Get the URI to the thumbnail representation (gif). |
String |
getWebAppName()
Returns the web application name this menu is scoped to. |
boolean |
isDeleted()
Returns whether this menu is deleted. |
void |
setDeleted(boolean deleted)
Sets whether this menu is deleted |
void |
setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this menu. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinition for this menu. |
void |
setMenuFile(String menuFile)
Sets the menu file path |
void |
setThumbnailUri(String thumbnailUri)
Set the URI to the thumbnail represenation (gif). |
void |
setWebAppName(String webAppName)
Scopes this menu to given web applcation. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MenuDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String webAppName, String menuFile, boolean deleted)
MenuDefinition
object.
localizationResource
- localized title and descriptionmarkupDefinitionId
- reference to a persisted MarkupDefinition
that specifies the markup for this menuwebAppName
- name of the J2EE web application this layout is
scoped tomenuFile
- path to the menu file. This file path is relative
to the web application contextdeleted
- is this menu deletedMethod Detail |
---|
public MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId
for this MarkupDefinition
associated with this menu.
MarkupDefinitionId
MarkupDefinition
public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinition
for this menu.
markupDefinitionId
- public LocalizationResource getLocalizationResource()
LocalizationResource
associated with this
menu based on the locale of the request used for retrieving the
menu.
LocalizationResource
associated with this menupublic LocalizationIntersectionId getLocalizationIntersectionId()
LocalizationIntersectionId
for this menu.
Returns null if no LocalizationResource is associated with
this menu. A LocalizationIntersectionId
is a reference to all
localized versions of title and description for an entity.
LocalizationIntersectionId
for this menupublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource
for this menu.
localizationResource
- public MenuDefinitionId getMenuDefinitionId()
MenuDefinitionId
for this menu.
Returns null if this menu has not been retrieved
using the persistence API.
MenuDefinitionId
public String getWebAppName()
public void setWebAppName(String webAppName)
webAppName
- public String getMenuFile()
public void setMenuFile(String menuFile)
menuFile
- public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- public Date getCreatedDate()
getCreatedDate
in interface DateableDefinition
public Date getModifiedDate()
getModifiedDate
in interface DateableDefinition
public String getThumbnailUri()
public void setThumbnailUri(String thumbnailUri)
thumbnailUri
- public 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 |