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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.wiki.model.WikiPage>
      extended by com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
          extended by com.liferay.portlet.wiki.model.impl.WikiPageImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel<com.liferay.portlet.wiki.model.WikiPage>, com.liferay.portlet.wiki.model.WikiPage, com.liferay.portlet.wiki.model.WikiPageModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.wiki.model.WikiPage>

public class WikiPageImpl
extends WikiPageModelImpl
implements com.liferay.portlet.wiki.model.WikiPage

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer
See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_FORMAT
           
static double DEFAULT_VERSION
           
static java.lang.String[] FORMATS
           
static java.lang.String FRONT_PAGE
           
static java.lang.String MOVED
           
static java.lang.String NEW
           
static java.lang.String REVERTED
           
 
Fields inherited from class com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
WikiPageImpl()
           
 
Method Summary
 java.lang.String getAttachmentsDir()
           
 java.lang.String[] getAttachmentsFiles()
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildPages()
           
 com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
           
 com.liferay.portlet.wiki.model.WikiNode getNode()
           
 com.liferay.portlet.wiki.model.WikiPage getParentPage()
           
 java.util.List<com.liferay.portlet.wiki.model.WikiPage> getParentPages()
           
 com.liferay.portlet.wiki.model.WikiPage getRedirectPage()
           
 java.lang.String getUserUuid()
           
 void setAttachmentsDir(java.lang.String attachmentsDir)
           
 void setUserUuid(java.lang.String userUuid)
           
 
Methods inherited from class com.liferay.portlet.wiki.model.impl.WikiPageModelImpl
clone, compareTo, equals, getCompanyId, getContent, getCreateDate, getFormat, getGroupId, getHead, getMinorEdit, getModifiedDate, getNodeId, getOriginalGroupId, getOriginalNodeId, getOriginalTitle, getOriginalUuid, getOriginalVersion, getPageId, getParentTitle, getPrimaryKey, getPrimaryKeyObj, getRedirectTitle, getResourcePrimKey, getSummary, getTitle, getUserId, getUserName, getUuid, getVersion, hashCode, isHead, isMinorEdit, setCompanyId, setContent, setCreateDate, setFormat, setGroupId, setHead, setMinorEdit, setModifiedDate, setNodeId, setPageId, setParentTitle, setPrimaryKey, setRedirectTitle, setResourcePrimKey, setSummary, setTitle, setUserId, setUserName, setUuid, setVersion, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.wiki.model.WikiPageModel
getCompanyId, getContent, getCreateDate, getFormat, getGroupId, getHead, getMinorEdit, getModifiedDate, getNodeId, getPageId, getParentTitle, getPrimaryKey, getRedirectTitle, getResourcePrimKey, getSummary, getTitle, getUserId, getUserName, getUuid, getVersion, isHead, isMinorEdit, setCompanyId, setContent, setCreateDate, setFormat, setGroupId, setHead, setMinorEdit, setModifiedDate, setNodeId, setPageId, setParentTitle, setPrimaryKey, setRedirectTitle, setResourcePrimKey, setSummary, setTitle, setUserId, setUserName, setUuid, setVersion, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

DEFAULT_FORMAT

public static final java.lang.String DEFAULT_FORMAT

DEFAULT_VERSION

public static final double DEFAULT_VERSION
See Also:
Constant Field Values

FORMATS

public static final java.lang.String[] FORMATS

FRONT_PAGE

public static final java.lang.String FRONT_PAGE

MOVED

public static final java.lang.String MOVED
See Also:
Constant Field Values

NEW

public static final java.lang.String NEW
See Also:
Constant Field Values

REVERTED

public static final java.lang.String REVERTED
See Also:
Constant Field Values
Constructor Detail

WikiPageImpl

public WikiPageImpl()
Method Detail

getAttachmentsDir

public java.lang.String getAttachmentsDir()
Specified by:
getAttachmentsDir in interface com.liferay.portlet.wiki.model.WikiPage

getAttachmentsFiles

public java.lang.String[] getAttachmentsFiles()
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Specified by:
getAttachmentsFiles in interface com.liferay.portlet.wiki.model.WikiPage
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getChildPages

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildPages()
Specified by:
getChildPages in interface com.liferay.portlet.wiki.model.WikiPage

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.wiki.model.WikiPage>
Specified by:
getExpandoBridge in interface com.liferay.portlet.wiki.model.WikiPage
Overrides:
getExpandoBridge in class WikiPageModelImpl

getNode

public com.liferay.portlet.wiki.model.WikiNode getNode()
Specified by:
getNode in interface com.liferay.portlet.wiki.model.WikiPage

getParentPage

public com.liferay.portlet.wiki.model.WikiPage getParentPage()
Specified by:
getParentPage in interface com.liferay.portlet.wiki.model.WikiPage

getParentPages

public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getParentPages()
Specified by:
getParentPages in interface com.liferay.portlet.wiki.model.WikiPage

getRedirectPage

public com.liferay.portlet.wiki.model.WikiPage getRedirectPage()
Specified by:
getRedirectPage in interface com.liferay.portlet.wiki.model.WikiPage

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Specified by:
getUserUuid in interface com.liferay.portlet.wiki.model.WikiPage
Throws:
com.liferay.portal.SystemException

setAttachmentsDir

public void setAttachmentsDir(java.lang.String attachmentsDir)
Specified by:
setAttachmentsDir in interface com.liferay.portlet.wiki.model.WikiPage

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portlet.wiki.model.WikiPage