com.ibm.mashups.enabler.model.state
Interface PageModeAccessor

All Superinterfaces:
Accessor

public PageModeAccessor
extends Accessor

Interface representing an PageModeAccessor.


Field Summary
 String VIEW
           VIEW mode of page, can be used as com.ibm.mashups.enabler.model.state.PageModeAccessor.VIEW with "view" as the actual value
 String EDIT
           EDIT mode of page, can be used as com.ibm.mashups.enabler.model.state.PageModeAccessor.EDIT with "edit" as the actual value
 
Method Summary
 String getPageMode()
           Returns the of the page mode of current page.
 void setPageMode(String pageMode)
           Sets the page mode of the page
 Boolean confirmSetPageMode(String pageMode)
           Confirms if it's possible to set a new page mode
 

Field Detail

VIEW

String VIEW
VIEW mode of page, can be used as com.ibm.mashups.enabler.model.state.PageModeAccessor.VIEW with "view" as the actual value


EDIT

String EDIT
EDIT mode of page, can be used as com.ibm.mashups.enabler.model.state.PageModeAccessor.EDIT with "edit" as the actual value

Method Detail

getPageMode

String getPageMode()
Returns the of the page mode of current page.

Returns:
The page mode of current page

setPageMode

void setPageMode(String pageMode)
Sets the page mode of the page

Parameters:
pageMode - The mode of the page

confirmSetPageMode

Boolean confirmSetPageMode(String pageMode)
Confirms if it's possible to set a new page mode

Parameters:
pageMode - The mode of the page
Returns:
return true if it's possible to set a new page mode


Copyright IBM Corp. 2010 All Rights Reserved.