|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.netuix.application.definition.LayoutDefinition
public class LayoutDefinition
This class represents a persistent layout.
| Constructor Summary | |
|---|---|
LayoutDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, PlaceholderDefinition[] placeholderDefinitions, String iconUri, String htmlLayoutUri, String webAppName, String layoutFile, boolean deleted)Constructs a new LayoutDefinition object. |
|
| Method Summary | |
|---|---|
Date |
getCreatedDate()Gets the time that this object was created in the database. |
String |
getHtmlLayoutUri()Getter for property htmlLayoutUri. |
String |
getIconUri()Getter for property iconUri. |
LayoutDefinitionId |
getLayoutDefinitionId()Returns the LayoutDefinitionId for this layout. |
String |
getLayoutFile()Returns the path to the layout file. |
LocalizationResource |
getLocalizationResource()Returns the LocalizationResource associated with this layout based on the locale of the request used for retrieving the layout. |
MarkupDefinitionId |
getMarkupDefinitionId()Returns the MarkupDefinitionId for the MarkupDefinition associated with this layout. |
Date |
getModifiedDate()Gets the time that this object was last updated in the database. |
PlaceholderDefinition |
getPlaceholderDefinition(int layoutLocation)Returns a PlaceholderDefinition defined by this layout location. |
PlaceholderDefinition |
getPlaceholderDefinition(PlaceholderDefinitionId placeholderDefinitionId)Returns a PlaceholderDefinition defined by this layout given the PlaceholderDefinitionId for the placeholder. |
PlaceholderDefinition[] |
getPlaceholderDefinitions()Returns the PlaceholderDefinitions defined by this layout. |
String |
getThumbnailUri()Get the URI to the thumbnail representation (gif). |
String |
getWebAppName()Returns the web application name this layout is scoped to. |
boolean |
isDeleted()Returns whether this layout has been deleted. |
void |
setDeleted(boolean deleted)Sets whether this layout has been deleted |
void |
setHtmlLayoutUri(String htmlLayoutUri)Setter for property htmlLayoutUri. |
void |
setIconUri(String iconUri)Setter for property iconUri. |
void |
setLayoutFile(String layoutFile)Sets the layout file path for this layout. |
void |
setLocalizationResource(LocalizationResource localizationResource)Sets the LocalizationResource for this layout. |
void |
setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)Sets the MarkupDefinitionId for this layout. |
void |
setPlaceholderDefinitions(PlaceholderDefinition[] placeholderDefinitions)Sets placeholer on this layout |
void |
setThumbnailUri(String thumbnailUri)Set the URI to the thumbnail represenation (gif). |
void |
setWebAppName(String webAppName)Scopes this layout 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 LayoutDefinition(LocalizationResource localizationResource,
MarkupDefinitionId markupDefinitionId,
PlaceholderDefinition[] placeholderDefinitions,
String iconUri,
String htmlLayoutUri,
String webAppName,
String layoutFile,
boolean deleted)
LayoutDefinition object.
localizationResource - localized title and descriptionmarkupDefinitionId - reference to a persisted MarkupDefinition that specifies the markup for this layoutplaceholderDefinitions - an array of PlaceholderDefinitions defined by this layouticonUri - uri of the icon to be used for this layouthtmlLayoutUri - path to the layout file that specifies the partitioning of an html page. This file path is relative to the web application contextwebAppName - name of the J2EE web application this layout is scoped tolayoutFile - path to the layout file. This file path is relative to the web application contextdeleted - is this layout deleted| Method Detail |
|---|
public LayoutDefinitionId getLayoutDefinitionId()
LayoutDefinitionId for this layout. Returns null if this layout has not been retrieved using the persistence API.LayoutDefinitionIdpublic PlaceholderDefinition[] getPlaceholderDefinitions()
PlaceholderDefinitions defined by this layout.PlaceholderDefinitionspublic PlaceholderDefinition getPlaceholderDefinition(PlaceholderDefinitionId placeholderDefinitionId)
PlaceholderDefinition defined by this layout given the PlaceholderDefinitionId for the placeholder. Returns null if this layout defines no placeholders or the placeholder with given PlaceholderDefinitionId does not exist in this layout.placeholderDefinitionId - PlaceholderDefinitionId of placeholder to be retrievedPlaceholderDefinitionIdpublic PlaceholderDefinition getPlaceholderDefinition(int layoutLocation)
PlaceholderDefinition defined by this layout location. first column == 0, second column == 1, ... Returns null if this layout does not have a placeholder with the supplied layout location.layoutLocation - index into the layoutPlaceholderDefinitionpublic void setPlaceholderDefinitions(PlaceholderDefinition[] placeholderDefinitions)
placeholderDefinitions - PlaceholderDefinitions to be set on this layoutpublic MarkupDefinitionId getMarkupDefinitionId()
MarkupDefinitionId for the MarkupDefinition associated with this layout.MarkupDefinitionIdMarkupDefinitionpublic void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
MarkupDefinitionId for this layout.markupDefinitionId -public LocalizationResource getLocalizationResource()
LocalizationResource associated with this layout based on the locale of the request used for retrieving the layout.LocalizationResource associated with this layoutpublic void setLocalizationResource(LocalizationResource localizationResource)
LocalizationResource for this layout.localizationResource -public String getIconUri()
public void setIconUri(String iconUri)
iconUri - New value of property iconUri.public String getHtmlLayoutUri()
public void setHtmlLayoutUri(String htmlLayoutUri)
htmlLayoutUri - New value of property htmlLayoutUri.public String getWebAppName()
public void setWebAppName(String webAppName)
webAppName -public String getLayoutFile()
public void setLayoutFile(String layoutFile)
layoutFile -public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted -public Date getCreatedDate()
getCreatedDate in interface DateableDefinitionpublic Date getModifiedDate()
getModifiedDate in interface DateableDefinitionpublic String getThumbnailUri()
public void setThumbnailUri(String thumbnailUri)
thumbnailUri -public String toString()
toString in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.