@Deprecated @PageDataType public class Page extends PageInfo
getState()
), which depends
on the method used to retrieve the page object and the user.
If a caching mechanism is implemented for page rendering, the state field
should be
ignored when the page object is retrieved from the cache.PageService
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_ACCESS_LEVEL
Deprecated.
|
static java.lang.Integer |
SORT_BY_APPROVAL_REQUIRED
Deprecated.
|
static java.lang.Integer |
SORT_BY_CATEGORY_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_CREATOR
Deprecated.
|
static java.lang.Integer |
SORT_BY_DATE_CREATED
Deprecated.
|
static java.lang.Integer |
SORT_BY_DATE_MODIFIED
Deprecated.
|
static java.lang.Integer |
SORT_BY_DESCRIPTION
Deprecated.
|
static java.lang.Integer |
SORT_BY_DRAFT_OWNER
Deprecated.
|
static java.lang.Integer |
SORT_BY_GROUP
Deprecated.
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_MODIFIER
Deprecated.
|
static java.lang.Integer |
SORT_BY_NAME
Deprecated.
|
static java.lang.Integer |
SORT_BY_PUBLIC
Deprecated.
|
static java.lang.Integer |
SORT_BY_STATE
Deprecated.
|
static java.lang.Integer |
SORT_BY_TEMPLATE
Deprecated.
|
static java.lang.Integer |
SORT_BY_TYPE
Deprecated.
|
static java.lang.Integer |
SORT_BY_URL
Deprecated.
|
static java.lang.Integer |
SORT_BY_ZONE_COUNT
Deprecated.
|
static int |
STATE_DRAFT
Deprecated.
|
static int |
STATE_LOCKED
Deprecated.
|
static int |
STATE_NEW_DRAFT
Deprecated.
|
static int |
STATE_NEW_SUBMITTED
Deprecated.
|
static int |
STATE_PUBLISHED
Deprecated.
|
static int |
STATE_SUBMITTED
Deprecated.
|
PAGE_ACCESS_LEVEL_ADMIN, PAGE_ACCESS_LEVEL_EDIT, PAGE_ACCESS_LEVEL_NONE, PAGE_ACCESS_LEVEL_VIEW, TYPE_CUSTOM, TYPE_DASHBOARD, TYPE_PORTAL_PAGE
Constructor and Description |
---|
Page()
Deprecated.
|
Page(java.lang.String name,
java.lang.String template,
int zoneCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getAccessLevel()
Deprecated.
The current user's access level with respect to this page.
|
com.appiancorp.type.TypeRef |
getDataContextType()
Deprecated.
Returns the id of the data type that defines the structure of this page's data context.
|
java.lang.String |
getDraftOwner()
Deprecated.
The id of the user who holds the lock on the draft of this page, or
an empty string if it is not locked.
|
Portlet[][] |
getPortlets()
Deprecated.
The portlets that must be rendered in this page.
|
PageRoleMap |
getRoleMap()
Deprecated.
The role map.
|
int |
getState()
Deprecated.
Holds the current state of this portal page.
|
java.lang.String |
getTemplate()
Deprecated.
The name of the template that must be used to render this page.
|
java.lang.String |
getUuid()
Deprecated.
Returns the UUID of this page.
|
int |
getZoneCount()
Deprecated.
Indicates the number of zones in this page's template.
|
boolean |
isApprovalRequired()
Deprecated.
Indicates whether changes to this page require approval or not.
|
void |
setAccessLevel(int p_)
Deprecated.
See
getAccessLevel() |
void |
setApprovalRequired(boolean p_)
Deprecated.
|
void |
setDataContextType(com.appiancorp.type.TypeRef dataContextType)
Deprecated.
Sets the data type id of this page's data context.
|
void |
setDraftOwner(java.lang.String p_)
Deprecated.
See
getDraftOwner() |
void |
setPortlets(Portlet[][] p_)
Deprecated.
See
getPortlets() |
void |
setRoleMap(PageRoleMap role_)
Deprecated.
See
getRoleMap() |
void |
setState(int p_)
Deprecated.
See
getState() |
void |
setTemplate(java.lang.String p_)
Deprecated.
See
getTemplate() |
void |
setUuid(java.lang.String uuid)
Deprecated.
Set the UUID of this page.
|
void |
setZoneCount(int p_)
Deprecated.
See
getZoneCount() |
java.lang.String |
toString()
Deprecated.
|
getCategoryId, getCreator, getDateCreated, getDateModified, getDescription, getGroup, getId, getIds, getModifier, getName, getType, getUrl, isPublic, setCategoryId, setCreator, setDateCreated, setDateModified, setDescription, setGroup, setId, setModifier, setName, setPublic, setType, setUrl
public static final int STATE_NEW_DRAFT
public static final int STATE_NEW_SUBMITTED
public static final int STATE_PUBLISHED
public static final int STATE_DRAFT
public static final int STATE_SUBMITTED
public static final int STATE_LOCKED
public static final java.lang.Integer SORT_BY_NAME
public static final java.lang.Integer SORT_BY_DESCRIPTION
public static final java.lang.Integer SORT_BY_STATE
public static final java.lang.Integer SORT_BY_DRAFT_OWNER
public static final java.lang.Integer SORT_BY_APPROVAL_REQUIRED
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_DATE_CREATED
public static final java.lang.Integer SORT_BY_DATE_MODIFIED
public static final java.lang.Integer SORT_BY_CATEGORY_ID
public static final java.lang.Integer SORT_BY_TEMPLATE
public static final java.lang.Integer SORT_BY_MODIFIER
public static final java.lang.Integer SORT_BY_PUBLIC
public static final java.lang.Integer SORT_BY_ZONE_COUNT
public static final java.lang.Integer SORT_BY_URL
public static final java.lang.Integer SORT_BY_TYPE
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_GROUP
public static final java.lang.Integer SORT_BY_ACCESS_LEVEL
public Page()
public Page(java.lang.String name, java.lang.String template, int zoneCount)
@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getUuid()
public void setUuid(java.lang.String uuid)
public int getZoneCount()
getTemplate()
public void setZoneCount(int p_)
getZoneCount()
public int getState()
public void setState(int p_)
getState()
public java.lang.String getDraftOwner()
public void setDraftOwner(java.lang.String p_)
getDraftOwner()
public boolean isApprovalRequired()
true
only portal administrators (see
AdministrationService.setAdministratorGroup(java.lang.Long)
)
and approvers in this page's role map are allowed to push the current
draft to production.public void setApprovalRequired(boolean p_)
public java.lang.String getTemplate()
getZoneCount()
public void setTemplate(java.lang.String p_)
getTemplate()
public Portlet[][] getPortlets()
public void setPortlets(Portlet[][] p_)
getPortlets()
public int getAccessLevel()
PageRoleMap
and the user making the call.PageInfo
.public void setAccessLevel(int p_)
getAccessLevel()
public PageRoleMap getRoleMap()
PageRoleMap
.public void setRoleMap(PageRoleMap role_)
getRoleMap()
public com.appiancorp.type.TypeRef getDataContextType()
public void setDataContextType(com.appiancorp.type.TypeRef dataContextType)
#getDataContext()
dataContextType
- data type id of this page's data contextCopyright © 2003-2024 Appian Corporation. All Rights Reserved.