Liferay 7.0-ce-m3

com.liferay.portlet.wiki.model.impl
Class WikiPageImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<WikiPage>
      extended by com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
          extended by com.liferay.portlet.wiki.model.impl.WikiPageBaseImpl
              extended by com.liferay.portlet.wiki.model.impl.WikiPageImpl
All Implemented Interfaces:
AuditedModel, BaseModel<WikiPage>, ClassedModel, ContainerModel, GroupedModel, PersistedModel, ResourcedModel, StagedGroupedModel, StagedModel, TrashedModel, WorkflowedModel, WikiPage, WikiPageModel, Serializable, Cloneable, Comparable<WikiPage>

public class WikiPageImpl
extends WikiPageBaseImpl

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
WikiPageImpl()
           
 
Method Summary
 Folder addAttachmentsFolder()
           
 WikiPage fetchParentPage()
           
 WikiPage fetchRedirectPage()
           
 List<FileEntry> getAttachmentsFileEntries()
           
 List<FileEntry> getAttachmentsFileEntries(int start, int end)
           
 int getAttachmentsFileEntriesCount()
           
 long getAttachmentsFolderId()
           
 List<WikiPage> getChildPages()
           
 List<FileEntry> getDeletedAttachmentsFileEntries()
           
 List<FileEntry> getDeletedAttachmentsFileEntries(int start, int end)
           
 int getDeletedAttachmentsFileEntriesCount()
           
 WikiNode getNode()
           
 long getNodeAttachmentsFolderId()
           
 WikiPage getParentPage()
           
 List<WikiPage> getParentPages()
           
 WikiPage getRedirectPage()
           
 long getTrashEntryClassPK()
          Returns the class primary key of the trash entry for this wiki page.
 List<WikiPage> getViewableChildPages()
           
 WikiPage getViewableParentPage()
           
 List<WikiPage> getViewableParentPages()
           
 boolean isResourceMain()
           
 void setAttachmentsFolderId(long attachmentsFolderId)
           
 
Methods inherited from class com.liferay.portlet.wiki.model.impl.WikiPageBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
clone, compareTo, equals, getApproved, getColumnBitmask, getCompanyId, getContainerModelId, getContainerModelName, 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, getParentContainerModelId, getParentTitle, getPrimaryKey, getPrimaryKeyObj, getRedirectTitle, getResourcePrimKey, getStagedModelType, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSummary, getTitle, getTrashEntry, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isHead, isInactive, isIncomplete, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isMinorEdit, isPending, isScheduled, resetOriginalValues, setCompanyId, setContainerModelId, setContent, setCreateDate, setExpandoBridgeAttributes, setFormat, setGroupId, setHead, setMinorEdit, setModelAttributes, setModifiedDate, setNodeId, setPageId, setParentContainerModelId, 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 class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.wiki.model.WikiPageModel
clone, compareTo, getApproved, getCompanyId, getContainerModelId, getContainerModelName, getContent, getCreateDate, getExpandoBridge, getFormat, getGroupId, getHead, getMinorEdit, getModifiedDate, getNodeId, getPageId, getParentContainerModelId, 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, isInTrashExplicitly, isInTrashImplicitly, isMinorEdit, isNew, isPending, isScheduled, setCachedModel, setCompanyId, setContainerModelId, setContent, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFormat, setGroupId, setHead, setMinorEdit, setModifiedDate, setNew, setNodeId, setPageId, setParentContainerModelId, setParentTitle, setPrimaryKey, setPrimaryKeyObj, setRedirectTitle, setResourcePrimKey, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSummary, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ContainerModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 

Constructor Detail

WikiPageImpl

public WikiPageImpl()
Method Detail

addAttachmentsFolder

public Folder addAttachmentsFolder()
                            throws PortalException
Throws:
PortalException

fetchParentPage

public WikiPage fetchParentPage()

fetchRedirectPage

public WikiPage fetchRedirectPage()

getAttachmentsFileEntries

public List<FileEntry> getAttachmentsFileEntries()

getAttachmentsFileEntries

public List<FileEntry> getAttachmentsFileEntries(int start,
                                                 int end)

getAttachmentsFileEntriesCount

public int getAttachmentsFileEntriesCount()

getAttachmentsFolderId

public long getAttachmentsFolderId()

getChildPages

public List<WikiPage> getChildPages()

getDeletedAttachmentsFileEntries

public List<FileEntry> getDeletedAttachmentsFileEntries()

getDeletedAttachmentsFileEntries

public List<FileEntry> getDeletedAttachmentsFileEntries(int start,
                                                        int end)

getDeletedAttachmentsFileEntriesCount

public int getDeletedAttachmentsFileEntriesCount()

getNode

public WikiNode getNode()

getNodeAttachmentsFolderId

public long getNodeAttachmentsFolderId()

getParentPage

public WikiPage getParentPage()
                       throws PortalException
Throws:
PortalException

getParentPages

public List<WikiPage> getParentPages()

getRedirectPage

public WikiPage getRedirectPage()
                         throws PortalException
Throws:
PortalException

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()

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)

Liferay 7.0-ce-m3