com.liferay.portlet.wiki.model.impl
Class WikiPageImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<WikiPage>
com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
com.liferay.portlet.wiki.model.impl.WikiPageBaseImpl
com.liferay.portlet.wiki.model.impl.WikiPageImpl
- All Implemented Interfaces:
- AuditedModel, BaseModel<WikiPage>, ClassedModel, GroupedModel, PersistedModel, ResourcedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel, WikiPage, WikiPageModel, Serializable, Cloneable, Comparable<WikiPage>
public class WikiPageImpl
- extends WikiPageBaseImpl
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portlet.wiki.model.impl.WikiPageModelImpl |
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FORMAT_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, HEAD_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, NODEID_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTTITLE_COLUMN_BITMASK, REDIRECTTITLE_COLUMN_BITMASK, RESOURCEPRIMKEY_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TITLE_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK, VERSION_COLUMN_BITMASK |
Methods inherited from class com.liferay.portlet.wiki.model.impl.WikiPageModelImpl |
clone, compareTo, equals, getApproved, getColumnBitmask, getCompanyId, getContent, getCreateDate, getExpandoBridge, getFormat, getGroupId, getHead, getMinorEdit, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getNodeId, getOriginalCompanyId, getOriginalFormat, getOriginalGroupId, getOriginalHead, getOriginalNodeId, getOriginalParentTitle, getOriginalRedirectTitle, getOriginalResourcePrimKey, getOriginalStatus, getOriginalTitle, getOriginalUserId, getOriginalUuid, getOriginalVersion, getPageId, getParentTitle, getPrimaryKey, getPrimaryKeyObj, getRedirectTitle, getResourcePrimKey, getStagedModelType, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSummary, getTitle, getTrashEntry, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isDenied, isDraft, isExpired, isHead, isInactive, isIncomplete, isInTrash, isInTrashContainer, isMinorEdit, isPending, isScheduled, resetOriginalValues, setCompanyId, setContent, setCreateDate, setExpandoBridgeAttributes, setFormat, setGroupId, setHead, setMinorEdit, setModelAttributes, setModifiedDate, setNodeId, setPageId, setParentTitle, setPrimaryKey, setPrimaryKeyObj, setRedirectTitle, setResourcePrimKey, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSummary, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString |
Methods inherited from interface com.liferay.portlet.wiki.model.WikiPageModel |
clone, compareTo, getApproved, getCompanyId, getContent, getCreateDate, getExpandoBridge, getFormat, getGroupId, getHead, getMinorEdit, getModifiedDate, getNodeId, getPageId, getParentTitle, getPrimaryKey, getPrimaryKeyObj, getRedirectTitle, getResourcePrimKey, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSummary, getTitle, getTrashEntry, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isHead, isInactive, isIncomplete, isInTrash, isInTrashContainer, isMinorEdit, isNew, isPending, isScheduled, setCachedModel, setCompanyId, setContent, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFormat, setGroupId, setHead, setMinorEdit, setModifiedDate, setNew, setNodeId, setPageId, setParentTitle, setPrimaryKey, setPrimaryKeyObj, setRedirectTitle, setResourcePrimKey, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSummary, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
WikiPageImpl
public WikiPageImpl()
addAttachmentsFolder
public Folder addAttachmentsFolder()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
fetchParentPage
public WikiPage fetchParentPage()
throws SystemException
- Throws:
SystemException
fetchRedirectPage
public WikiPage fetchRedirectPage()
throws SystemException
- Throws:
SystemException
getAttachmentsFileEntries
public List<FileEntry> getAttachmentsFileEntries()
throws SystemException
- Throws:
SystemException
getAttachmentsFileEntries
public List<FileEntry> getAttachmentsFileEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getAttachmentsFileEntriesCount
public int getAttachmentsFileEntriesCount()
throws SystemException
- Throws:
SystemException
getAttachmentsFolderId
public long getAttachmentsFolderId()
throws SystemException
- Throws:
SystemException
getChildPages
public List<WikiPage> getChildPages()
getDeletedAttachmentsFileEntries
public List<FileEntry> getDeletedAttachmentsFileEntries()
throws SystemException
- Throws:
SystemException
getDeletedAttachmentsFileEntries
public List<FileEntry> getDeletedAttachmentsFileEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getDeletedAttachmentsFileEntriesCount
public int getDeletedAttachmentsFileEntriesCount()
throws SystemException
- Throws:
SystemException
getNode
public WikiNode getNode()
getNodeAttachmentsFolderId
public long getNodeAttachmentsFolderId()
throws SystemException
- Throws:
SystemException
getParentPage
public WikiPage getParentPage()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getParentPages
public List<WikiPage> getParentPages()
throws SystemException
- Throws:
SystemException
getRedirectPage
public WikiPage getRedirectPage()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTrashEntryClassPK
public long getTrashEntryClassPK()
- Description copied from interface:
WikiPageModel
- Returns the class primary key of the trash entry for this wiki page.
- Specified by:
getTrashEntryClassPK
in interface TrashedModel
- Specified by:
getTrashEntryClassPK
in interface WikiPageModel
- Overrides:
getTrashEntryClassPK
in class WikiPageModelImpl
- Returns:
- the class primary key of the trash entry for this wiki page
getViewableChildPages
public List<WikiPage> getViewableChildPages()
getViewableParentPage
public WikiPage getViewableParentPage()
getViewableParentPages
public List<WikiPage> getViewableParentPages()
isInTrashExplicitly
public boolean isInTrashExplicitly()
throws SystemException
- Throws:
SystemException
isResourceMain
public boolean isResourceMain()
- Specified by:
isResourceMain
in interface ResourcedModel
- Specified by:
isResourceMain
in interface WikiPageModel
- Overrides:
isResourceMain
in class WikiPageModelImpl
setAttachmentsFolderId
public void setAttachmentsFolderId(long attachmentsFolderId)