org.gatein.mop.api.workspace.ui
Interface UIWindow

All Superinterfaces:
CustomizationContext, UIComponent, WorkspaceObject

public interface UIWindow
extends UIComponent, CustomizationContext

The window is user interface component that points to a content.

Version:
$Revision$
Author:
Julien Viet

Method Summary
<S> Customization<S>
customize(ContentType<S> contentType, String contentId, S state)
          Customizes the specified content.
<S> Customization<S>
customize(Customization<S> customization)
          Specialize the specified customization.
 Customization<?> getCustomization()
          Returns the customization of this window or null if no customization exists.
 
Methods inherited from interface org.gatein.mop.api.workspace.ui.UIComponent
getName, getObjectType, getPage, getParent
 
Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceObject
getAttributes, getObjectId
 
Methods inherited from interface org.gatein.mop.api.content.CustomizationContext
contains, getContextId, getContextType
 

Method Detail

getCustomization

Customization<?> getCustomization()
Returns the customization of this window or null if no customization exists.

Returns:
the window customization

customize

<S> Customization<S> customize(ContentType<S> contentType,
                               String contentId,
                               S state)
Customizes the specified content.

Type Parameters:
S - the content type parameter
Parameters:
contentType - the content type
contentId - the content id
state - the content state
Returns:
the created customization

customize

<S> Customization<S> customize(Customization<S> customization)
Specialize the specified customization.

Type Parameters:
S - the content type parameter
Parameters:
customization - the customization to specialise
Returns:
the created customization


Copyright © 2009 eXo Platform SAS. All Rights Reserved.