com.vasoftware.sf.soap44.webservices.docman
Class DocumentSoapDO

java.lang.Object
  extended by com.vasoftware.sf.soap44.webservices.sfmain.ObjectSoapDO
      extended by com.vasoftware.sf.soap44.webservices.sfmain.ItemSoapDO
          extended by com.vasoftware.sf.soap44.webservices.docman.DocumentSoapDO

public class DocumentSoapDO
extends ItemSoapDO

This class represents the data associated with a document.

Change History
Release: 4.4

Since:
4.1

Field Summary
static java.lang.String DRAFT
          Possible value for the 'status' field.
static java.lang.String FILTER_REVIEW_CREATED_BY
          Document review 'createdBy' filter.
static java.lang.String FILTER_REVIEW_STATUS
          Document review 'status' filter.
static java.lang.String FINAL
          Possible value for the 'status' field.
static java.lang.String MIME_TYPE_EXTERNAL_URL
          The mime_type value for documents with an external file url.
static java.lang.String REVIEW
          Possible value for the 'status' field.
 
Constructor Summary
DocumentSoapDO()
           
 
Method Summary
 int getCurrentVersion()
          Returns 'currentVersion'.
 java.util.Date getDateVersionCreated()
          Returns 'dateVersionCreated'.
 java.lang.String getDescription()
          Returns 'description'.
 int getDocumentVersion()
          Returns 'documentVersion'.
 java.lang.String getFileName()
          Returns 'fileName'.
 long getFileSize()
          Returns 'fileSize'.
 java.lang.String getFileUrl()
          Returns 'fileUrl'.
 int getLatestVersion()
          Returns 'latestVersion'.
 java.lang.String getLocale()
          Returns 'locale'.
 java.lang.String getLockedBy()
          Returns 'lockedBy'.
 java.lang.String getMimeType()
          Returns 'mimeType'.
 java.lang.String getStatus()
          Returns 'status'.
 java.lang.String getVersionComment()
          Returns 'versionComment'.
 java.lang.String getVersionCreatedBy()
          Returns 'versionCreatedBy'.
static void registerTypeMappings(org.apache.axis.client.Call call)
           
 void setCurrentVersion(int currentVersion)
          Sets 'currentVersion'.
 void setDateVersionCreated(java.util.Date dateVersionCreated)
          Sets 'dateVersionCreated'.
 void setDescription(java.lang.String description)
          Sets 'description'.
 void setDocumentVersion(int documentVersion)
          Sets 'documentVersion'.
 void setFileName(java.lang.String fileName)
          Sets 'fileName'.
 void setFileSize(long fileSize)
          Sets 'fileSize'.
 void setFileUrl(java.lang.String fileUrl)
          Sets 'fileUrl'.
 void setLatestVersion(int latestVersion)
          Sets 'latestVersion'.
 void setLocale(java.lang.String locale)
          Sets 'locale'.
 void setLockedBy(java.lang.String lockedBy)
          Sets 'lockedBy'.
 void setMimeType(java.lang.String mimeType)
          Sets 'mimeType'.
 void setStatus(java.lang.String status)
          Sets 'status'.
 void setVersionComment(java.lang.String versionComment)
          Sets 'versionComment'.
 void setVersionCreatedBy(java.lang.String versionCreatedBy)
          Sets 'versionCreatedBy'.
 
Methods inherited from class com.vasoftware.sf.soap44.webservices.sfmain.ItemSoapDO
getFolderId, getPath, getTitle, setFolderId, setPath, setTitle
 
Methods inherited from class com.vasoftware.sf.soap44.webservices.sfmain.ObjectSoapDO
getCreatedBy, getCreatedDate, getId, getLastModifiedBy, getLastModifiedDate, getVersion, setCreatedBy, setCreatedDate, setId, setLastModifiedBy, setLastModifiedDate, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRAFT

public static final java.lang.String DRAFT
Possible value for the 'status' field.

See Also:
Constant Field Values

FINAL

public static final java.lang.String FINAL
Possible value for the 'status' field.

See Also:
Constant Field Values

REVIEW

public static final java.lang.String REVIEW
Possible value for the 'status' field.

See Also:
Constant Field Values

MIME_TYPE_EXTERNAL_URL

public static final java.lang.String MIME_TYPE_EXTERNAL_URL
The mime_type value for documents with an external file url.

See Also:
Constant Field Values

FILTER_REVIEW_STATUS

public static final java.lang.String FILTER_REVIEW_STATUS
Document review 'status' filter.

See Also:
Constant Field Values

FILTER_REVIEW_CREATED_BY

public static final java.lang.String FILTER_REVIEW_CREATED_BY
Document review 'createdBy' filter.

See Also:
Constant Field Values
Constructor Detail

DocumentSoapDO

public DocumentSoapDO()
Method Detail

getDescription

public java.lang.String getDescription()
Returns 'description'. Document description.

Returns:
Value of 'description'.

setDescription

public void setDescription(java.lang.String description)
Sets 'description'. Document description.

Parameters:
description - Value of 'description'.

getDocumentVersion

public int getDocumentVersion()
Returns 'documentVersion'. Version associated with this document instance data.

Returns:
Value of 'documentVersion'.

setDocumentVersion

public void setDocumentVersion(int documentVersion)
Sets 'documentVersion'. Version associated with this document instance data.

Parameters:
documentVersion - Value of 'documentVersion'.

getVersionComment

public java.lang.String getVersionComment()
Returns 'versionComment'. Comment associated with this document version.

Returns:
Value of 'versionComment'.

setVersionComment

public void setVersionComment(java.lang.String versionComment)
Sets 'versionComment'. Comment associated with this document version.

Parameters:
versionComment - Value of 'versionComment'.

getCurrentVersion

public int getCurrentVersion()
Returns 'currentVersion'. Version number of the currently active version.

Returns:
Value of 'currentVersion'.

setCurrentVersion

public void setCurrentVersion(int currentVersion)
Sets 'currentVersion'. Version number of the currently active version.

Parameters:
currentVersion - Value of 'currentVersion'.

getLatestVersion

public int getLatestVersion()
Returns 'latestVersion'. Version number of the latest document version.

Returns:
Value of 'latestVersion'.

setLatestVersion

public void setLatestVersion(int latestVersion)
Sets 'latestVersion'. Version number of the latest document version.

Parameters:
latestVersion - Value of 'latestVersion'.

getDateVersionCreated

public java.util.Date getDateVersionCreated()
Returns 'dateVersionCreated'. Date this version was created.

Returns:
Value of 'dateVersionCreated'.

setDateVersionCreated

public void setDateVersionCreated(java.util.Date dateVersionCreated)
Sets 'dateVersionCreated'. Date this version was created.

Parameters:
dateVersionCreated - Value of 'dateVersionCreated'.

getVersionCreatedBy

public java.lang.String getVersionCreatedBy()
Returns 'versionCreatedBy'. User who created this version.

Returns:
Value of 'versionCreatedBy'.

setVersionCreatedBy

public void setVersionCreatedBy(java.lang.String versionCreatedBy)
Sets 'versionCreatedBy'. User who created this version.

Parameters:
versionCreatedBy - Value of 'versionCreatedBy'.

getLocale

public java.lang.String getLocale()
Returns 'locale'. Document's locale (common across all versions).

Returns:
Value of 'locale'.

setLocale

public void setLocale(java.lang.String locale)
Sets 'locale'. Document's locale (common across all versions).

Parameters:
locale - Value of 'locale'.

getMimeType

public java.lang.String getMimeType()
Returns 'mimeType'. Mime-type of this version of the document. (null when this is a document to an external url)

Returns:
Value of 'mimeType'.

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets 'mimeType'. Mime-type of this version of the document. (null when this is a document to an external url)

Parameters:
mimeType - Value of 'mimeType'.

getFileName

public java.lang.String getFileName()
Returns 'fileName'. Name of the file associated with this document version.

Returns:
Value of 'fileName'.

setFileName

public void setFileName(java.lang.String fileName)
Sets 'fileName'. Name of the file associated with this document version.

Parameters:
fileName - Value of 'fileName'.

getFileSize

public long getFileSize()
Returns 'fileSize'. Size of the file associated with this document version.

Returns:
Value of 'fileSize'.

setFileSize

public void setFileSize(long fileSize)
Sets 'fileSize'. Size of the file associated with this document version.

Parameters:
fileSize - Value of 'fileSize'.

getFileUrl

public java.lang.String getFileUrl()
Returns 'fileUrl'. Url of the file associated with this document version.

Returns:
Value of 'fileUrl'.

setFileUrl

public void setFileUrl(java.lang.String fileUrl)
Sets 'fileUrl'. Url of the file associated with this document version.

Parameters:
fileUrl - Value of 'fileUrl'.

getStatus

public java.lang.String getStatus()
Returns 'status'. Status of this document version. Possible values are the constants DRAFT or FINAL.

Returns:
Value of 'status'.

setStatus

public void setStatus(java.lang.String status)
Sets 'status'. Status of this document version. Possible values are the constants DRAFT or FINAL.

Parameters:
status - Value of 'status'.

getLockedBy

public java.lang.String getLockedBy()
Returns 'lockedBy'. User with a lock on this document, if any. Null if document is not locked.

Returns:
Value of 'lockedBy'.

setLockedBy

public void setLockedBy(java.lang.String lockedBy)
Sets 'lockedBy'. User with a lock on this document, if any. Null if document is not locked.

Parameters:
lockedBy - Value of 'lockedBy'.

registerTypeMappings

public static void registerTypeMappings(org.apache.axis.client.Call call)