Package org.alfresco.repo.wiki
Class WikiPageInfoImpl
- java.lang.Object
-
- org.alfresco.repo.wiki.WikiPageInfoImpl
-
- All Implemented Interfaces:
Serializable,org.alfresco.repo.security.permissions.PermissionCheckValue,WikiPageInfo
public class WikiPageInfoImpl extends Object implements WikiPageInfo
An implementation ofWikiPageInfo- Since:
- 4.0
- Author:
- Nick Burch (based on existing webscript controllers in the REST API)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WikiPageInfoImpl()Creates a new, empty WikiPageInfoWikiPageInfoImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef containerNodeRef, String systemName)Create a WikiPageInfo object from an existing node
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefgetContainerNodeRef()StringgetContents()DategetCreatedAt()StringgetCreator()DategetModifiedAt()StringgetModifier()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()StringgetSystemName()List<String>getTags()StringgetTitle()voidsetContents(String contents)Sets the (HTML) Content of the wiki pagevoidsetCreatedAt(Date createdAt)voidsetCreator(String creator)voidsetModifiedAt(Date modifiedAt)voidsetModifier(String modifier)voidsetTags(List<String> tags)voidsetTitle(String title)Sets the Title of the wiki page
-
-
-
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, String systemName)Create a WikiPageInfo object from an existing node
-
-
Method Detail
-
getContainerNodeRef
public org.alfresco.service.cmr.repository.NodeRef getContainerNodeRef()
- Specified by:
getContainerNodeRefin interfaceWikiPageInfo- Returns:
- the NodeRef of the site container this belongs to
-
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
- Specified by:
getNodeRefin interfaceorg.alfresco.repo.security.permissions.PermissionCheckValue- Specified by:
getNodeRefin interfaceWikiPageInfo- Returns:
- the NodeRef of the underlying wiki page
-
getSystemName
public String getSystemName()
- Specified by:
getSystemNamein interfaceWikiPageInfo- Returns:
- the name of the wiki page
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceWikiPageInfo- Returns:
- the Title of the wiki page
-
getContents
public String getContents()
- Specified by:
getContentsin interfaceWikiPageInfo- Returns:
- the HTML Content of the wiki page
-
getCreator
public String getCreator()
- Specified by:
getCreatorin interfaceWikiPageInfo- Returns:
- the creator of the wiki page
-
getModifier
public String getModifier()
- Specified by:
getModifierin interfaceWikiPageInfo- Returns:
- the modifier of the wiki page
-
getCreatedAt
public Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceWikiPageInfo- Returns:
- the creation date and time
-
getModifiedAt
public Date getModifiedAt()
- Specified by:
getModifiedAtin interfaceWikiPageInfo- Returns:
- the modification date and time
-
getTags
public List<String> getTags()
- Specified by:
getTagsin interfaceWikiPageInfo- Returns:
- the Tags associated with the wiki page
-
setTitle
public void setTitle(String title)
Description copied from interface:WikiPageInfoSets the Title of the wiki page- Specified by:
setTitlein interfaceWikiPageInfo
-
setContents
public void setContents(String contents)
Description copied from interface:WikiPageInfoSets the (HTML) Content of the wiki page- Specified by:
setContentsin interfaceWikiPageInfo
-
setCreator
public void setCreator(String creator)
-
setModifier
public void setModifier(String modifier)
-
setCreatedAt
public void setCreatedAt(Date createdAt)
-
setModifiedAt
public void setModifiedAt(Date modifiedAt)
-
-