Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.server.layout
Class YUILayoutAdapterImpl

java.lang.Object
  extended by org.nuxeo.opensocial.container.server.layout.YUILayoutAdapterImpl
All Implemented Interfaces:
YUILayoutAdapter

public class YUILayoutAdapterImpl
extends Object
implements YUILayoutAdapter

Author:
Stéphane Fourrier

Field Summary
static String FOOTER
           
static String HEADER
           
static String SIDEBAR
           
static String YUI_LAYOUT_BODY_SIZE_PROPERTY
           
static String YUI_LAYOUT_SIDEBAR_PROPERTY
           
static String YUI_LAYOUT_ZONES_PROPERTY
           
static String YUI_UNIT_POSITION_PROPERTY
           
static String YUI_UNIT_ZONE_INDEX_PROPERTY
           
 
Constructor Summary
YUILayoutAdapterImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
           
 
Method Summary
 YUIComponentZone createZone(YUIComponentZone zone, int zoneIndex)
           
 void deleteZone(int zoneIndex)
           
 YUILayout getLayout()
           
 void initLayout(YUILayout layout)
           
 void save()
           
 void setBodySize(YUIBodySize size)
           
 YUIUnit setFooter(YUIUnit footer)
           
 YUIUnit setHeader(YUIUnit header)
           
 YUIUnit setSideBar(YUISideBarStyle sideBar)
           
 YUIComponentZone updateZone(YUIComponentZone zone, int zoneIndex, YUITemplate template)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

YUI_LAYOUT_BODY_SIZE_PROPERTY

public static final String YUI_LAYOUT_BODY_SIZE_PROPERTY
See Also:
Constant Field Values

YUI_LAYOUT_SIDEBAR_PROPERTY

public static final String YUI_LAYOUT_SIDEBAR_PROPERTY
See Also:
Constant Field Values

YUI_LAYOUT_ZONES_PROPERTY

public static final String YUI_LAYOUT_ZONES_PROPERTY
See Also:
Constant Field Values

YUI_UNIT_POSITION_PROPERTY

public static final String YUI_UNIT_POSITION_PROPERTY
See Also:
Constant Field Values

YUI_UNIT_ZONE_INDEX_PROPERTY

public static final String YUI_UNIT_ZONE_INDEX_PROPERTY
See Also:
Constant Field Values

HEADER

public static final String HEADER
See Also:
Constant Field Values

FOOTER

public static final String FOOTER
See Also:
Constant Field Values

SIDEBAR

public static final String SIDEBAR
See Also:
Constant Field Values
Constructor Detail

YUILayoutAdapterImpl

public YUILayoutAdapterImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
Method Detail

setBodySize

public void setBodySize(YUIBodySize size)
                 throws org.nuxeo.ecm.core.api.ClientException
Specified by:
setBodySize in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

setSideBar

public YUIUnit setSideBar(YUISideBarStyle sideBar)
                   throws org.nuxeo.ecm.core.api.ClientException
Specified by:
setSideBar in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

setHeader

public YUIUnit setHeader(YUIUnit header)
                  throws org.nuxeo.ecm.core.api.ClientException
Specified by:
setHeader in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

setFooter

public YUIUnit setFooter(YUIUnit footer)
                  throws org.nuxeo.ecm.core.api.ClientException
Specified by:
setFooter in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

createZone

public YUIComponentZone createZone(YUIComponentZone zone,
                                   int zoneIndex)
                            throws org.nuxeo.ecm.core.api.ClientException
Specified by:
createZone in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

updateZone

public YUIComponentZone updateZone(YUIComponentZone zone,
                                   int zoneIndex,
                                   YUITemplate template)
                            throws org.nuxeo.ecm.core.api.ClientException
Specified by:
updateZone in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

deleteZone

public void deleteZone(int zoneIndex)
                throws org.nuxeo.ecm.core.api.ClientException
Specified by:
deleteZone in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

save

public void save()
          throws org.nuxeo.ecm.core.api.ClientException
Specified by:
save in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

initLayout

public void initLayout(YUILayout layout)
                throws org.nuxeo.ecm.core.api.ClientException
Specified by:
initLayout in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

getLayout

public YUILayout getLayout()
                    throws org.nuxeo.ecm.core.api.ClientException
Specified by:
getLayout in interface YUILayoutAdapter
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.