org.alfresco.repo.wiki
Class WikiPageInfoImpl

java.lang.Object
  extended by org.alfresco.repo.wiki.WikiPageInfoImpl
All Implemented Interfaces:
java.io.Serializable, PermissionCheckValue, WikiPageInfo

public class WikiPageInfoImpl
extends java.lang.Object
implements WikiPageInfo

An implementation of WikiPageInfo

Since:
4.0
See Also:
Serialized Form

Constructor Summary
WikiPageInfoImpl()
          Creates a new, empty WikiPageInfo
WikiPageInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, java.lang.String systemName)
          Create a WikiPageInfo object from an existing node
 
Method Summary
 org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
           
 java.lang.String getContents()
           
 java.util.Date getCreatedAt()
           
 java.lang.String getCreator()
           
 java.util.Date getModifiedAt()
           
 java.lang.String getModifier()
           
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Get the underlying node value that needs to be permission checked.
 java.lang.String getSystemName()
           
 java.util.List getTags()
           
 java.lang.String getTitle()
           
 void setContents(java.lang.String contents)
          Sets the (HTML) Content of the wiki page
 void setCreatedAt(java.util.Date createdAt)
           
 void setCreator(java.lang.String creator)
           
 void setModifiedAt(java.util.Date modifiedAt)
           
 void setModifier(java.lang.String modifier)
           
 void setTags(java.util.List tags)
           
 void setTitle(java.lang.String title)
          Sets the Title of the wiki page
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikiPageInfoImpl

public WikiPageInfoImpl()
Creates a new, empty WikiPageInfo


WikiPageInfoImpl

public WikiPageInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                        org.alfresco.service.cmr.repository.NodeRef containerNodeRef,
                        java.lang.String systemName)
Create a WikiPageInfo object from an existing node

Method Detail

getContainerNodeRef

public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
Specified by:
getContainerNodeRef in interface WikiPageInfo
Returns:
the NodeRef of the site container this belongs to

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface: PermissionCheckValue
Get the underlying node value that needs to be permission checked.

Specified by:
getNodeRef in interface PermissionCheckValue
Specified by:
getNodeRef in interface WikiPageInfo
Returns:
the NodeRef of the underlying wiki page

getSystemName

public java.lang.String getSystemName()
Specified by:
getSystemName in interface WikiPageInfo
Returns:
the name of the wiki page

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface WikiPageInfo
Returns:
the Title of the wiki page

getContents

public java.lang.String getContents()
Specified by:
getContents in interface WikiPageInfo
Returns:
the HTML Content of the wiki page

getCreator

public java.lang.String getCreator()
Specified by:
getCreator in interface WikiPageInfo
Returns:
the creator of the wiki page

getModifier

public java.lang.String getModifier()
Specified by:
getModifier in interface WikiPageInfo
Returns:
the modifier of the wiki page

getCreatedAt

public java.util.Date getCreatedAt()
Specified by:
getCreatedAt in interface WikiPageInfo
Returns:
the creation date and time

getModifiedAt

public java.util.Date getModifiedAt()
Specified by:
getModifiedAt in interface WikiPageInfo
Returns:
the modification date and time

getTags

public java.util.List getTags()
Specified by:
getTags in interface WikiPageInfo
Returns:
the Tags associated with the wiki page

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: WikiPageInfo
Sets the Title of the wiki page

Specified by:
setTitle in interface WikiPageInfo

setContents

public void setContents(java.lang.String contents)
Description copied from interface: WikiPageInfo
Sets the (HTML) Content of the wiki page

Specified by:
setContents in interface WikiPageInfo

setCreator

public void setCreator(java.lang.String creator)

setModifier

public void setModifier(java.lang.String modifier)

setCreatedAt

public void setCreatedAt(java.util.Date createdAt)

setModifiedAt

public void setModifiedAt(java.util.Date modifiedAt)

setTags

public void setTags(java.util.List tags)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.