© 2005 BEA Systems, Inc.

com.bea.netuix.application.definition
Class LookAndFeelDefinition

java.lang.Object
  extended bycom.bea.netuix.application.definition.LookAndFeelDefinition
All Implemented Interfaces:
Serializable

public class LookAndFeelDefinition
extends Object
implements Serializable

This class represents a persistant lookandfeel.

See Also:
Serialized Form

Constructor Summary
LookAndFeelDefinition(LocalizationResource localizationResource, MarkupDefinitionId markupDefinitionId, String webAppName, String lookAndFeelFile, boolean deleted, String definitionLabel)
          Constructs a new LookAndFeelDefinition object.
 
Method Summary
 String getDefinitionLabel()
          Returns the definition label for this lookandfeel.
 LocalizationIntersectionId getLocalizationIntersectionId()
          Returns the LocalizationIntersectionId for this lookandfeel.
 LocalizationResource getLocalizationResource()
          Returns the LocalizationResource associated with this lookandfeel based on the locale of the request used for retrieving the lookandfeel.
 LookAndFeelDefinitionId getLookAndFeelDefinitionId()
          Returns the LookAndFeelDefinitionId for this lookandfeel.
 String getLookAndFeelFile()
          Returns the path to the lookandfeel file.
 MarkupDefinitionId getMarkupDefinitionId()
          Returns the MarkupDefinitionId for the MarkupDefinition associated with this lookandfeel.
 String getWebAppName()
          Returns the web application name this lookandfeel is scoped to.
 boolean isDeleted()
          Returns whether this lookandfeel is deleted.
 void setDefinitionLabel(String definitionLabel)
          Sets the definition label for this lookandfeel
 void setDeleted(boolean deleted)
          Sets whether this lookandfeel is deleted
 void setLocalizationResource(LocalizationResource localizationResource)
          Sets the LocalizationResource for this lookandfeel.
 void setLookAndFeelFile(String lookAndFeelFile)
          Sets the lookandfeel file path
 void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
          Sets the MarkupDefinitionId for this lookandfeel.
 void setWebAppName(String webAppName)
          Scopes this lookandfeel 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

LookAndFeelDefinition

public LookAndFeelDefinition(LocalizationResource localizationResource,
                             MarkupDefinitionId markupDefinitionId,
                             String webAppName,
                             String lookAndFeelFile,
                             boolean deleted,
                             String definitionLabel)
Constructs a new LookAndFeelDefinition object.

Method Detail

getDefinitionLabel

public String getDefinitionLabel()
Returns the definition label for this lookandfeel.

Returns:
definition label

getLocalizationIntersectionId

public LocalizationIntersectionId getLocalizationIntersectionId()
Returns the LocalizationIntersectionId for this lookandfeel. Returns NULL if no LocalizationResource is associated with this lookandfeel. A LocalizationIntersectionId is a reference to all localized versions of title and description for an entity.

Returns:
LocalizationIntersectionId for this lookandfeel

getLocalizationResource

public LocalizationResource getLocalizationResource()
Returns the LocalizationResource associated with this lookandfeel based on the locale of the request used for retrieving the lookandfeel.

Returns:
LocalizationResource associated with this lookandfeel

getLookAndFeelDefinitionId

public LookAndFeelDefinitionId getLookAndFeelDefinitionId()
Returns the LookAndFeelDefinitionId for this lookandfeel. Returns NULL if this lookandfeel has not been retrieved using the persistence API.

Returns:
LookAndFeelDefinitionId

getLookAndFeelFile

public String getLookAndFeelFile()
Returns the path to the lookandfeel file. This path is relative to the web application context.

Returns:
lookandfeel file path

getMarkupDefinitionId

public MarkupDefinitionId getMarkupDefinitionId()
Returns the MarkupDefinitionId for the MarkupDefinition associated with this lookandfeel.

Returns:
MarkupDefinitionId
See Also:
MarkupDefinition

getWebAppName

public String getWebAppName()
Returns the web application name this lookandfeel is scoped to.

Returns:
web application name

isDeleted

public boolean isDeleted()
Returns whether this lookandfeel is deleted.

Returns:
true if this lookandfeel is deleted

setDefinitionLabel

public void setDefinitionLabel(String definitionLabel)
Sets the definition label for this lookandfeel

Parameters:
definitionLabel -

setDeleted

public void setDeleted(boolean deleted)
Sets whether this lookandfeel is deleted

Parameters:
deleted -

setLocalizationResource

public void setLocalizationResource(LocalizationResource localizationResource)
Sets the LocalizationResource for this lookandfeel.

Parameters:
localizationResource -

setLookAndFeelFile

public void setLookAndFeelFile(String lookAndFeelFile)
Sets the lookandfeel file path

Parameters:
lookAndFeelFile -

setMarkupDefinitionId

public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)
Sets the MarkupDefinitionId for this lookandfeel.

Parameters:
markupDefinitionId -

setWebAppName

public void setWebAppName(String webAppName)
Scopes this lookandfeel to given web applcation.

Parameters:
webAppName -

toString

public String toString()

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved