Package org.xwiki.filter.instance.output
Class EntityInstanceOutputProperties
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- org.xwiki.filter.instance.output.InstanceOutputProperties
-
- org.xwiki.filter.instance.output.EntityInstanceOutputProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>,org.xwiki.filter.FilterStreamProperties,org.xwiki.properties.RawProperties
- Direct Known Subclasses:
DocumentInstanceOutputProperties
@Unstable public class EntityInstanceOutputProperties extends InstanceOutputProperties
Entity Instance output filter stream properties (shared between DocumentInstanceOutputProperties and UserInstanceOutputProperties).- Since:
- 16.0.0RC1
- Version:
- $Id: 6b23537752dcdad287b117227352f9248f0179f2 $
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description EntityInstanceOutputProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xwiki.model.reference.DocumentReferencegetAuthor()StringgetSaveComment()booleanisAuthorSet()booleanisVersionPreserved()voidsetAuthor(org.xwiki.model.reference.DocumentReference author)voidsetSaveComment(String saveComment)voidsetVersionPreserved(boolean versionPreserved)-
Methods inherited from class org.xwiki.filter.instance.output.InstanceOutputProperties
isVerbose, set, setVerbose
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-
-
-
Method Detail
-
getSaveComment
public String getSaveComment()
- Returns:
- the comment to use when saving documents
-
setSaveComment
public void setSaveComment(String saveComment)
- Parameters:
saveComment- the version comment to use when saving documents
-
getAuthor
public org.xwiki.model.reference.DocumentReference getAuthor()
- Returns:
- the author to use when saving documents
-
setAuthor
public void setAuthor(org.xwiki.model.reference.DocumentReference author)
- Parameters:
author- the author to use when saving documents
-
isAuthorSet
public boolean isAuthorSet()
- Returns:
- true if the author have been explicitly set
-
isVersionPreserved
public boolean isVersionPreserved()
- Returns:
- Indicate if the version related information coming from the events should be kept
-
setVersionPreserved
public void setVersionPreserved(boolean versionPreserved)
- Parameters:
versionPreserved- Indicate if the version related information coming from the events should be kept
-
-