public class SimpleDocumentationItem extends AbstractDocumentationItem implements DocumentationItem
| Modifier and Type | Field and Description | 
|---|---|
protected List<String> | 
applicableVersion  | 
protected boolean | 
approved  | 
protected Map<String,String> | 
attachments  | 
protected String | 
content  | 
protected String | 
id  | 
protected String | 
renderingType  | 
protected String | 
target  | 
protected String | 
targetType  | 
protected String | 
title  | 
protected String | 
type  | 
protected String | 
uuid  | 
logPROP_APPLICABLE_VERSIONS, PROP_DOCUMENTATION_ID, PROP_NUXEO_APPROVED, PROP_RENDERING_TYPE, PROP_TARGET, PROP_TARGET_TYPE, PROP_TYPE, TYPE_NAME| Constructor and Description | 
|---|
SimpleDocumentationItem(NuxeoArtifact nxItem)  | 
SimpleDocumentationItem(String typeLabel)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<String> | 
getApplicableVersion()
Gets versions. 
 | 
Map<String,String> | 
getAttachments()
Returns attachments. 
 | 
String | 
getContent()
Gets the main content of the Documentation 
 | 
String | 
getEditId()
Return the id used by quick editor (can contains a real UUID for existing
 doc or an artifact id for new one). 
 | 
String | 
getId()
Local documentation identifier. 
 | 
String | 
getRenderingType()
Gets the output rendering format for the content (wiki, html ...) 
 | 
String | 
getTarget()
Gets identifier of the target documented artifact 
 | 
String | 
getTargetType()
Gets the Type of the target documented artifact (NXBundle, NXComponent
 ...). 
 | 
String | 
getTitle()
Gets Title of the Documentation 
 | 
String | 
getType()
Gets the type of the documentation (description, how-to, samples ...) 
 | 
String | 
getTypeLabel()
Gets label for the documentation type 
 | 
String | 
getUUID()
UUID of the underlying DocumentModel. 
 | 
boolean | 
isApproved()
Indicates if documentation has been validated by Nuxeo. 
 | 
boolean | 
isPlaceHolder()
Return true if item is a placeholder automatically generated. 
 | 
boolean | 
isReadOnly()  | 
compareTo, typeLabelOfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareToprotected final List<String> applicableVersion
protected String renderingType
protected String targetType
protected boolean approved
protected Map<String,String> attachments
public SimpleDocumentationItem(String typeLabel)
public SimpleDocumentationItem(NuxeoArtifact nxItem)
public List<String> getApplicableVersion()
DocumentationItemgetApplicableVersion in interface DocumentationItempublic String getContent()
DocumentationItemgetContent in interface DocumentationItempublic String getId()
DocumentationItemgetId in interface DocumentationItempublic String getRenderingType()
DocumentationItemgetRenderingType in interface DocumentationItempublic String getTarget()
DocumentationItemgetTarget in interface DocumentationItempublic String getTargetType()
DocumentationItemgetTargetType in interface DocumentationItempublic String getTitle()
DocumentationItemgetTitle in interface DocumentationItempublic String getType()
DocumentationItemgetType in interface DocumentationItempublic String getTypeLabel()
DocumentationItemgetTypeLabel in interface DocumentationItemgetTypeLabel in class AbstractDocumentationItempublic String getUUID()
DocumentationItemgetUUID in interface DocumentationItempublic boolean isApproved()
DocumentationItemisApproved in interface DocumentationItempublic Map<String,String> getAttachments()
DocumentationItemgetAttachments in interface DocumentationItempublic boolean isPlaceHolder()
DocumentationItemisPlaceHolder in interface DocumentationItempublic String getEditId()
DocumentationItemgetEditId in interface DocumentationItempublic boolean isReadOnly()
isReadOnly in interface DocumentationItemCopyright © 2019 Nuxeo. All rights reserved.