Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.netuix.application.definition
Class DesktopDefinition

    java.lang.Object
      com.bea.netuix.application.definition.DesktopDefinition

All Implemented Interfaces:
  Serializable

public class DesktopDefinition
extends Object
implements Serializable

This class represents a persistant desktop.

See Also:
  Serialized Form

Field Summary
`protected DesktopDefinitionId` | `desktopDefinitionId`
`protected DesktopInstance` | `desktopInstance`

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.

Method Summary
`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.
`DesktopDefinitionId` | `getDesktopDefinitionId()` Returns the `DesktopDefinitionId` for this desktop.
`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.
`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.
`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` | `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` | `setShellDefinitionId(ShellDefinitionId shellDefinitionId)` Associates a `ShellDefinition` with this desktop.
`String` | `toString()` Returns a concatenated string representation of DesktopDefinitionId(web app name + portal path + desktop path) LocalizationIntersectionId(int) BookDefinitionId(int) MarkupDefinitionId(int)

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### desktopDefinitionId

    protected DesktopDefinitionId desktopDefinitionId

### desktopInstance

    protected DesktopInstance desktopInstance

Constructor Detail

### DesktopDefinition

    public DesktopDefinition(DesktopDefinitionId desktopDefinitionId,
                             LocalizationResource localizationResource,
                             MarkupDefinitionId markupDefinitionId,
                             BookDefinitionId bookDefinitionId,
                             LookAndFeelDefinitionId lookAndFeelDefinitionId,
                             ShellDefinitionId shellDefinitionId)

  Constructs a new `DesktopDefinition` object.

Parameters:
  `desktopDefinitionId` - desktopDefinitionId for this desktop
  `localizationResource` - localized title and description
  `markupDefinitionId` - reference to a persisted `MarkupDefinition` that specifies the markup for this desktop
  `bookDefinitionId` - reference to a persisted `BookDefinition` that represents the main book of this desktop
  `lookAndFeelDefinitionId` - reference to a persisted `LookAndFeelDefinition` to be associated with this desktop
  `shellDefinitionId` - reference to a persisted `ShellDefinition` to be associated with this desktop

### DesktopDefinition

    protected DesktopDefinition(DesktopDefinitionId desktopDefinitionId,
                                LocalizationResource localizationResource,
                                MarkupDefinitionId markupDefinitionId,
                                BookDefinitionId bookDefinitionId,
                                DesktopInstance desktopInstance)

  Constructor that takes a `DesktopInstance`

Parameters:
  `desktopDefinitionId` - desktopDefinitionId for this desktop
  `localizationResource` - localized title and description
  `markupDefinitionId` - reference to a persisted `MarkupDefinition` that specifies the markup for this desktop
  `bookDefinitionId` - reference to a persisted `BookDefinition` that represents the main book of this desktop
  `desktopInstance` -

Method Detail

### getDesktopDefinitionId

    public DesktopDefinitionId getDesktopDefinitionId()

  Returns the `DesktopDefinitionId` for this desktop.

  Returns:
    `DesktopDefinitionId`

### setDesktopDefinitionId

    public void setDesktopDefinitionId(DesktopDefinitionId desktopDefinitionId)

  Sets the `DesktopDefinitionId` for this desktop.

  Parameters:
    `desktopDefinitionId` -

### getLocalizationResource

    public LocalizationResource getLocalizationResource()

  Returns the `LocalizationResource` associated with this `DesktopDefinition` based on the locale of the request used for retrieving the `DesktopDefinition`.

  Returns:
    `LocalizationResource` associated with this desktop

### getLocalizationIntersectionId

    public LocalizationIntersectionId getLocalizationIntersectionId()

  Returns the `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.

  Returns:
    `LocalizationIntersectionId` for this desktop

### setLocalizationResource

    public void setLocalizationResource(LocalizationResource localizationResource)

  Sets the `LocalizationResource` for this desktop.

  Parameters:
    `localizationResource` -

### getMarkupDefinitionId

    public MarkupDefinitionId getMarkupDefinitionId()

  Returns the `MarkupDefinitionId` for the `MarkupDefinition` associated with this desktop.

  Returns:
    `MarkupDefinitionId`
  See Also:
    `MarkupDefinition`

### setMarkupDefinitionId

    public void setMarkupDefinitionId(MarkupDefinitionId markupDefinitionId)

  Sets the `MarkupDefinitionId` for this desktop.

  Parameters:
    `markupDefinitionId` -

### getBookDefinitionId

    public BookDefinitionId getBookDefinitionId()

  Returns the `BookDefinitionId` for the primary `BookDefinition` associated with this desktop.

  Returns:
    `BookDefinitionId`
  See Also:
    `BookDefinition`

### setBookDefinitionId

    public void setBookDefinitionId(BookDefinitionId bookDefinitionId)

  Sets the `BookDefinitionId` for the primary book of this dekstop.

  Parameters:
    `bookDefinitionId` -

### getShellDefinitionId

    public ShellDefinitionId getShellDefinitionId()

  Returns the `ShellDefinitionId` for the `ShellDefinition` associated with this desktop.

  Returns:
    `ShellDefinitionId`
  See Also:
    `ShellDefinition`

### getLookAndFeelDefinitionId

    public LookAndFeelDefinitionId getLookAndFeelDefinitionId()

  Returns the `LookAndFeelDefinitionId` for the `LookAndFeelDefinition` associated with this desktop.

  Returns:
    `LookAndFeelDefinitionId`
  See Also:
    `LookAndFeelDefinition`

### getBookInstanceId

    public BookInstanceId getBookInstanceId()

  Returns `BookInstanceId` of the `BookInstance` associated with the primary desktop instance of this desktop.

  Returns:
    `BookInstanceId`
  See Also:
    `BookInstance`

### getPrimaryInstanceId

    public DesktopInstanceId getPrimaryInstanceId()

  Returns the `DesktopInstanceId` for the primary `DesktopInstance` associated with this desktop.

  Returns:
    `DesktopInstanceId`

### setLookAndFeelDefinitionId

    public void setLookAndFeelDefinitionId(LookAndFeelDefinitionId lookAndFeelDefinitionId)

  Associates a `LookAndFeelDefinition` with this desktop.

  Parameters:
    `lookAndFeelDefinitionId` -

### setShellDefinitionId

    public void setShellDefinitionId(ShellDefinitionId shellDefinitionId)

  Associates a `ShellDefinition` with this desktop.

  Parameters:
    `shellDefinitionId` -

### toString

    public String toString()

  Returns a concatenated string representation of
  - DesktopDefinitionId(web app name + portal path + desktop path)
  - LocalizationIntersectionId(int)
  - BookDefinitionId(int)
  - MarkupDefinitionId(int)

  Returns:

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved