public class WcmModeModel extends Object
WCMMode| Modifier and Type | Field and Description |
|---|---|
static String |
REAL_AUTHOR
TODO what is this?
|
| Constructor and Description |
|---|
WcmModeModel(com.day.cq.wcm.api.WCMMode wcmMode)
Creates model instance.
|
| Modifier and Type | Method and Description |
|---|---|
com.day.cq.wcm.api.WCMMode |
getWcmMode() |
boolean |
isAuthor() |
boolean |
isDesign() |
boolean |
isDisabled() |
boolean |
isEdit() |
boolean |
isPreview() |
boolean |
isPublish() |
boolean |
isReadOnly() |
public static final String REAL_AUTHOR
@Inject public WcmModeModel(com.day.cq.wcm.api.WCMMode wcmMode)
wcmMode - the WCM mode.public com.day.cq.wcm.api.WCMMode getWcmMode()
public boolean isDisabled()
public boolean isEdit()
public boolean isPreview()
public boolean isReadOnly()
public boolean isDesign()
public boolean isAuthor()
public boolean isPublish()
Copyright © 2012-2013 Cognifide Limited. All Rights Reserved.