org.xwiki.wikistream.instance.output
Class DocumentInstanceOutputProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.xwiki.wikistream.instance.output.InstanceOutputProperties
org.xwiki.wikistream.instance.output.DocumentInstanceOutputProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>, org.xwiki.properties.RawProperties
public class DocumentInstanceOutputProperties
- extends InstanceOutputProperties
- Since:
- 5.3RC1
- Version:
- $Id: 10fb4d379478a4592e8d9b42cc3d1d607bec94d0 $
- See Also:
- Serialized Form
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
DocumentInstanceOutputProperties
public DocumentInstanceOutputProperties()
getDefaultReference
public org.xwiki.model.reference.EntityReference getDefaultReference()
- Returns:
- The base reference to use to resolve reference from events
setDefaultReference
public void setDefaultReference(org.xwiki.model.reference.EntityReference defaultReference)
- Parameters:
defaultReference - The base reference to use to resolve reference from events
getSaveComment
public String getSaveComment()
- Returns:
- The comment to set when saving a document
setSaveComment
public void setSaveComment(String saveComment)
- Parameters:
saveComment - The comment to set when saving a document
getDefaultSyntax
public org.xwiki.rendering.syntax.Syntax getDefaultSyntax()
- Returns:
- The default syntax if not is provided in events
setDefaultSyntax
public void setDefaultSyntax(org.xwiki.rendering.syntax.Syntax defaultSyntax)
- Parameters:
defaultSyntax - The default syntax if not is provided in events
isPreviousDeleted
public boolean isPreviousDeleted()
- Returns:
- Indicate if existing document should be deleted before importing the new one
setPreviousDeleted
public void setPreviousDeleted(boolean previousDeleted)
- Parameters:
previousDeleted - Indicate if existing document should be deleted before importing the new one
isVersionPreserved
public boolean isVersionPreserved()
- Returns:
- Indicate if the versions coming from the events should be kept
setVersionPreserved
public void setVersionPreserved(boolean versionPreserved)
- Parameters:
versionPreserved - Indicate if the versions coming from the events should be kept
isAuthorPreserved
public boolean isAuthorPreserved()
- Returns:
- Indicate if the authors coming from the events should be kept.
setAuthorPreserved
public void setAuthorPreserved(boolean authorPreserved)
- Parameters:
authorPreserved - Indicate if the authors coming from the events should be kept. Not taken into account if
#setAuthor(org.xwiki.model.reference.DocumentReference) is used.
Copyright © 2004–2014 XWiki. All rights reserved.