Class SaveDocumentRequest
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.SaveDocumentRequest
-
- All Implemented Interfaces:
Serializable
public class SaveDocumentRequest extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="executionUser" type="{http://www.iknowbase.com/ws/iknowbase-2}userReference"/> <element ref="{http://www.iknowbase.com/ws/iknowbase-2}document"/> <element name="documentOperation" type="{http://www.iknowbase.com/ws/iknowbase-2}saveOperationEnumeration"/> <element name="attributeOperation" type="{http://www.iknowbase.com/ws/iknowbase-2}saveOperationEnumeration"/> <element name="contentOperation" type="{http://www.iknowbase.com/ws/iknowbase-2}saveOperationEnumeration"/> <element name="versioningMode" type="{http://www.iknowbase.com/ws/iknowbase-2}documentVersioningModeEnumeration" minOccurs="0"/> <element name="versionComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="eventMode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="external" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SaveOperationEnumeration
attributeOperation
protected SaveOperationEnumeration
contentOperation
protected Document
document
protected SaveOperationEnumeration
documentOperation
protected String
eventMode
protected UserReference
executionUser
protected boolean
external
protected String
versionComment
protected DocumentVersioningModeEnumeration
versioningMode
-
Constructor Summary
Constructors Constructor Description SaveDocumentRequest()
Default no-arg constructorSaveDocumentRequest(UserReference executionUser, Document document, SaveOperationEnumeration documentOperation, SaveOperationEnumeration attributeOperation, SaveOperationEnumeration contentOperation, DocumentVersioningModeEnumeration versioningMode, String versionComment, String eventMode, boolean external)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaveOperationEnumeration
getAttributeOperation()
Gets the value of the attributeOperation property.SaveOperationEnumeration
getContentOperation()
Gets the value of the contentOperation property.Document
getDocument()
Gets the value of the document property.SaveOperationEnumeration
getDocumentOperation()
Gets the value of the documentOperation property.String
getEventMode()
Gets the value of the eventMode property.UserReference
getExecutionUser()
Gets the value of the executionUser property.String
getVersionComment()
Gets the value of the versionComment property.DocumentVersioningModeEnumeration
getVersioningMode()
Gets the value of the versioningMode property.boolean
isExternal()
Gets the value of the external property.void
setAttributeOperation(SaveOperationEnumeration value)
Sets the value of the attributeOperation property.void
setContentOperation(SaveOperationEnumeration value)
Sets the value of the contentOperation property.void
setDocument(Document value)
Sets the value of the document property.void
setDocumentOperation(SaveOperationEnumeration value)
Sets the value of the documentOperation property.void
setEventMode(String value)
Sets the value of the eventMode property.void
setExecutionUser(UserReference value)
Sets the value of the executionUser property.void
setExternal(boolean value)
Sets the value of the external property.void
setVersionComment(String value)
Sets the value of the versionComment property.void
setVersioningMode(DocumentVersioningModeEnumeration value)
Sets the value of the versioningMode property.SaveDocumentRequest
withAttributeOperation(SaveOperationEnumeration value)
SaveDocumentRequest
withContentOperation(SaveOperationEnumeration value)
SaveDocumentRequest
withDocument(Document value)
SaveDocumentRequest
withDocumentOperation(SaveOperationEnumeration value)
SaveDocumentRequest
withEventMode(String value)
SaveDocumentRequest
withExecutionUser(UserReference value)
SaveDocumentRequest
withExternal(boolean value)
SaveDocumentRequest
withVersionComment(String value)
SaveDocumentRequest
withVersioningMode(DocumentVersioningModeEnumeration value)
-
-
-
Field Detail
-
executionUser
protected UserReference executionUser
-
document
protected Document document
-
documentOperation
protected SaveOperationEnumeration documentOperation
-
attributeOperation
protected SaveOperationEnumeration attributeOperation
-
contentOperation
protected SaveOperationEnumeration contentOperation
-
versioningMode
protected DocumentVersioningModeEnumeration versioningMode
-
versionComment
protected String versionComment
-
eventMode
protected String eventMode
-
external
protected boolean external
-
-
Constructor Detail
-
SaveDocumentRequest
public SaveDocumentRequest()
Default no-arg constructor
-
SaveDocumentRequest
public SaveDocumentRequest(UserReference executionUser, Document document, SaveOperationEnumeration documentOperation, SaveOperationEnumeration attributeOperation, SaveOperationEnumeration contentOperation, DocumentVersioningModeEnumeration versioningMode, String versionComment, String eventMode, boolean external)
Fully-initialising value constructor
-
-
Method Detail
-
getExecutionUser
public UserReference getExecutionUser()
Gets the value of the executionUser property.- Returns:
- possible object is
UserReference
-
setExecutionUser
public void setExecutionUser(UserReference value)
Sets the value of the executionUser property.- Parameters:
value
- allowed object isUserReference
-
getDocument
public Document getDocument()
Gets the value of the document property.- Returns:
- possible object is
Document
-
setDocument
public void setDocument(Document value)
Sets the value of the document property.- Parameters:
value
- allowed object isDocument
-
getDocumentOperation
public SaveOperationEnumeration getDocumentOperation()
Gets the value of the documentOperation property.- Returns:
- possible object is
SaveOperationEnumeration
-
setDocumentOperation
public void setDocumentOperation(SaveOperationEnumeration value)
Sets the value of the documentOperation property.- Parameters:
value
- allowed object isSaveOperationEnumeration
-
getAttributeOperation
public SaveOperationEnumeration getAttributeOperation()
Gets the value of the attributeOperation property.- Returns:
- possible object is
SaveOperationEnumeration
-
setAttributeOperation
public void setAttributeOperation(SaveOperationEnumeration value)
Sets the value of the attributeOperation property.- Parameters:
value
- allowed object isSaveOperationEnumeration
-
getContentOperation
public SaveOperationEnumeration getContentOperation()
Gets the value of the contentOperation property.- Returns:
- possible object is
SaveOperationEnumeration
-
setContentOperation
public void setContentOperation(SaveOperationEnumeration value)
Sets the value of the contentOperation property.- Parameters:
value
- allowed object isSaveOperationEnumeration
-
getVersioningMode
public DocumentVersioningModeEnumeration getVersioningMode()
Gets the value of the versioningMode property.- Returns:
- possible object is
DocumentVersioningModeEnumeration
-
setVersioningMode
public void setVersioningMode(DocumentVersioningModeEnumeration value)
Sets the value of the versioningMode property.- Parameters:
value
- allowed object isDocumentVersioningModeEnumeration
-
getVersionComment
public String getVersionComment()
Gets the value of the versionComment property.- Returns:
- possible object is
String
-
setVersionComment
public void setVersionComment(String value)
Sets the value of the versionComment property.- Parameters:
value
- allowed object isString
-
getEventMode
public String getEventMode()
Gets the value of the eventMode property.- Returns:
- possible object is
String
-
setEventMode
public void setEventMode(String value)
Sets the value of the eventMode property.- Parameters:
value
- allowed object isString
-
isExternal
public boolean isExternal()
Gets the value of the external property.
-
setExternal
public void setExternal(boolean value)
Sets the value of the external property.
-
withExecutionUser
public SaveDocumentRequest withExecutionUser(UserReference value)
-
withDocument
public SaveDocumentRequest withDocument(Document value)
-
withDocumentOperation
public SaveDocumentRequest withDocumentOperation(SaveOperationEnumeration value)
-
withAttributeOperation
public SaveDocumentRequest withAttributeOperation(SaveOperationEnumeration value)
-
withContentOperation
public SaveDocumentRequest withContentOperation(SaveOperationEnumeration value)
-
withVersioningMode
public SaveDocumentRequest withVersioningMode(DocumentVersioningModeEnumeration value)
-
withVersionComment
public SaveDocumentRequest withVersionComment(String value)
-
withEventMode
public SaveDocumentRequest withEventMode(String value)
-
withExternal
public SaveDocumentRequest withExternal(boolean value)
-
-