|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portaluiinfrastructure.layout.impl.LayoutChooser
public class LayoutChooser
| Field Summary | |
|---|---|
static int |
ALL_LAYOUTS_DISABLED
|
static int |
ALL_LAYOUTS_ENABLED
|
protected int |
m_nLayoutMode
|
static int |
PAGE_LAYOUTS_ENABLED
|
static int |
PORTLET_LAYOUTS_ENABLED
|
| Constructor Summary | |
|---|---|
LayoutChooser(java.lang.Object _oKey)
To make sure people don't create LayoutChoosers directly, we require a special key that only the LayoutService has. |
|
| Method Summary | |
|---|---|
protected void |
CacheLayoutMode(AActivitySpace _asOwner)
This method caches the layout mode if it isn't already cached. |
IPTQueryResult |
GetAvailableWebServices(Layouts _layout,
AActivitySpace _space)
Get the web services that are available for the requested layout. |
protected int |
GetLayoutIDForExperience(Layouts _layout,
AActivitySpace _space)
|
protected boolean |
GetLayoutsEnabledForExperience(AActivitySpace _space)
|
int |
GetLayoutWebService(Layouts _layout,
AActivitySpace _asOwner)
Calculate the web service ID to use for the current page from the current Experience Definition. |
int |
GetLayoutWebServiceBackUp(Layouts _layout,
AActivitySpace _asOwner)
Gets the web services that are available for the requested layout. |
boolean |
GetPageLayoutsEnabled(AActivitySpace _asOwner)
|
boolean |
GetPortletLayoutsEnabled(AActivitySpace _asOwner)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ALL_LAYOUTS_DISABLED
public static final int ALL_LAYOUTS_ENABLED
public static final int PAGE_LAYOUTS_ENABLED
public static final int PORTLET_LAYOUTS_ENABLED
protected int m_nLayoutMode
| Constructor Detail |
|---|
public LayoutChooser(java.lang.Object _oKey)
_oKey - | Method Detail |
|---|
public int GetLayoutWebServiceBackUp(Layouts _layout,
AActivitySpace _asOwner)
ILayoutChooser
GetLayoutWebServiceBackUp in interface ILayoutChooser
public int GetLayoutWebService(Layouts _layout,
AActivitySpace _asOwner)
ILayoutChooser
GetLayoutWebService in interface ILayoutChooserpublic boolean GetPageLayoutsEnabled(AActivitySpace _asOwner)
GetPageLayoutsEnabled in interface ILayoutChooserpublic boolean GetPortletLayoutsEnabled(AActivitySpace _asOwner)
GetPortletLayoutsEnabled in interface ILayoutChooserprotected void CacheLayoutMode(AActivitySpace _asOwner)
_asOwner -
protected int GetLayoutIDForExperience(Layouts _layout,
AActivitySpace _space)
protected boolean GetLayoutsEnabledForExperience(AActivitySpace _space)
public IPTQueryResult GetAvailableWebServices(Layouts _layout,
AActivitySpace _space)
ILayoutChooser
GetAvailableWebServices in interface ILayoutChooser_layout - the requested layout
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||