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
An implementation of
WikiPageInfo- Since:
- 4.0
- Author:
- Nick Burch (based on existing webscript controllers in the REST API)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates 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
Modifier and TypeMethodDescriptionorg.alfresco.service.cmr.repository.NodeReforg.alfresco.service.cmr.repository.NodeRefgetTags()getTitle()voidsetContents(String contents) Sets the (HTML) Content of the wiki pagevoidsetCreatedAt(Date createdAt) voidsetCreator(String creator) voidsetModifiedAt(Date modifiedAt) voidsetModifier(String modifier) voidvoidSets the Title of the wiki page
-
Constructor Details
-
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 Details
-
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
- Specified by:
getSystemNamein interfaceWikiPageInfo- Returns:
- the name of the wiki page
-
getTitle
- Specified by:
getTitlein interfaceWikiPageInfo- Returns:
- the Title of the wiki page
-
getContents
- Specified by:
getContentsin interfaceWikiPageInfo- Returns:
- the HTML Content of the wiki page
-
getCreator
- Specified by:
getCreatorin interfaceWikiPageInfo- Returns:
- the creator of the wiki page
-
getModifier
- Specified by:
getModifierin interfaceWikiPageInfo- Returns:
- the modifier of the wiki page
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceWikiPageInfo- Returns:
- the creation date and time
-
getModifiedAt
- Specified by:
getModifiedAtin interfaceWikiPageInfo- Returns:
- the modification date and time
-
getTags
- Specified by:
getTagsin interfaceWikiPageInfo- Returns:
- the Tags associated with the wiki page
-
setTitle
Description copied from interface:WikiPageInfoSets the Title of the wiki page- Specified by:
setTitlein interfaceWikiPageInfo
-
setContents
Description copied from interface:WikiPageInfoSets the (HTML) Content of the wiki page- Specified by:
setContentsin interfaceWikiPageInfo
-
setCreator
-
setModifier
-
setCreatedAt
-
setModifiedAt
-
setTags
-