Class Document2SoapDO
- java.lang.Object
-
- com.collabnet.ce.soap60.webservices.cemain.ObjectSoapDO
-
- com.collabnet.ce.soap60.webservices.cemain.ItemSoapDO
-
- com.collabnet.ce.soap60.webservices.docman.Document2SoapDO
-
public class Document2SoapDO extends ItemSoapDO
This class represents the data associated with a document.Change HistoryRelease: 4.4- Added 'fileUrl'
Release: 8.1- Added downloadRestricted flag
- Added allowForceUnlock flag
- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description static StringDRAFTPossible value for the 'status' field.static StringFILTER_REVIEW_CREATED_BYDocument review 'createdBy' filter.static StringFILTER_REVIEW_STATUSDocument review 'status' filter.static StringFINALPossible value for the 'status' field.static StringMIME_TYPE_EXTERNAL_URLThe mime_type value for documents with an external file url.static StringREVIEWPossible value for the 'status' field.
-
Constructor Summary
Constructors Constructor Description Document2SoapDO()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAllowForceUnlock()Returns 'allowForceUnlock'.intgetCurrentVersion()Returns 'currentVersion'.DategetDateVersionCreated()Returns 'dateVersionCreated'.StringgetDescription()Returns 'description'.intgetDocumentVersion()Returns 'documentVersion'.booleangetDownloadRestricted()Returns 'downloadRestricted'.StringgetFileName()Returns 'fileName'.longgetFileSize()Returns 'fileSize'.StringgetFileUrl()Returns 'fileUrl'.intgetLatestVersion()Returns 'latestVersion'.StringgetLocale()Returns 'locale'.StringgetLockedBy()Returns 'lockedBy'.StringgetMimeType()Returns 'mimeType'.StringgetStatus()Returns 'status'.StringgetVersionComment()Returns 'versionComment'.StringgetVersionCreatedBy()Returns 'versionCreatedBy'.static voidregisterTypeMappings(org.apache.axis.client.Call call)voidsetAllowForceUnlock(boolean allowForceUnlock)Sets 'allowForceUnlock'.voidsetCurrentVersion(int currentVersion)Sets 'currentVersion'.voidsetDateVersionCreated(Date dateVersionCreated)Sets 'dateVersionCreated'.voidsetDescription(String description)Sets 'description'.voidsetDocumentVersion(int documentVersion)Sets 'documentVersion'.voidsetDownloadRestricted(boolean downloadRestricted)Sets 'downloadRestricted'.voidsetFileName(String fileName)Sets 'fileName'.voidsetFileSize(long fileSize)Sets 'fileSize'.voidsetFileUrl(String fileUrl)Sets 'fileUrl'.voidsetLatestVersion(int latestVersion)Sets 'latestVersion'.voidsetLocale(String locale)Sets 'locale'.voidsetLockedBy(String lockedBy)Sets 'lockedBy'.voidsetMimeType(String mimeType)Sets 'mimeType'.voidsetStatus(String status)Sets 'status'.voidsetVersionComment(String versionComment)Sets 'versionComment'.voidsetVersionCreatedBy(String versionCreatedBy)Sets 'versionCreatedBy'.-
Methods inherited from class com.collabnet.ce.soap60.webservices.cemain.ItemSoapDO
getFolderId, getPath, getTitle, setFolderId, setPath, setTitle
-
-
-
-
Field Detail
-
DRAFT
public static final String DRAFT
Possible value for the 'status' field.- See Also:
- Constant Field Values
-
FINAL
public static final String FINAL
Possible value for the 'status' field.- See Also:
- Constant Field Values
-
REVIEW
public static final String REVIEW
Possible value for the 'status' field.- See Also:
- Constant Field Values
-
MIME_TYPE_EXTERNAL_URL
public static final 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 String FILTER_REVIEW_STATUS
Document review 'status' filter.- See Also:
- Constant Field Values
-
FILTER_REVIEW_CREATED_BY
public static final String FILTER_REVIEW_CREATED_BY
Document review 'createdBy' filter.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public String getDescription()
Returns 'description'. Document description.- Returns:
- Value of 'description'.
-
setDescription
public void setDescription(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 String getVersionComment()
Returns 'versionComment'. Comment associated with this document version.- Returns:
- Value of 'versionComment'.
-
setVersionComment
public void setVersionComment(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 Date getDateVersionCreated()
Returns 'dateVersionCreated'. Date this version was created.- Returns:
- Value of 'dateVersionCreated'.
-
setDateVersionCreated
public void setDateVersionCreated(Date dateVersionCreated)
Sets 'dateVersionCreated'. Date this version was created.- Parameters:
dateVersionCreated- Value of 'dateVersionCreated'.
-
getVersionCreatedBy
public String getVersionCreatedBy()
Returns 'versionCreatedBy'. User who created this version.- Returns:
- Value of 'versionCreatedBy'.
-
setVersionCreatedBy
public void setVersionCreatedBy(String versionCreatedBy)
Sets 'versionCreatedBy'. User who created this version.- Parameters:
versionCreatedBy- Value of 'versionCreatedBy'.
-
getLocale
public String getLocale()
Returns 'locale'. Document's locale (common across all versions).- Returns:
- Value of 'locale'.
-
setLocale
public void setLocale(String locale)
Sets 'locale'. Document's locale (common across all versions).- Parameters:
locale- Value of 'locale'.
-
getMimeType
public 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(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 String getFileName()
Returns 'fileName'. Name of the file associated with this document version.- Returns:
- Value of 'fileName'.
-
setFileName
public void setFileName(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 String getFileUrl()
Returns 'fileUrl'. Url of the file associated with this document version.- Returns:
- Value of 'fileUrl'.
-
setFileUrl
public void setFileUrl(String fileUrl)
Sets 'fileUrl'. Url of the file associated with this document version.- Parameters:
fileUrl- Value of 'fileUrl'.
-
getStatus
public 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(String status)
Sets 'status'. Status of this document version. Possible values are the constants DRAFT or FINAL.- Parameters:
status- Value of 'status'.
-
getLockedBy
public 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(String lockedBy)
Sets 'lockedBy'. User with a lock on this document, if any. Null if document is not locked.- Parameters:
lockedBy- Value of 'lockedBy'.
-
getDownloadRestricted
public boolean getDownloadRestricted()
Returns 'downloadRestricted'. Flag that indicates if the document is locked to prevent other users from downloading it.- Returns:
- Value of 'downloadRestricted'.
-
setDownloadRestricted
public void setDownloadRestricted(boolean downloadRestricted)
Sets 'downloadRestricted'. Flag that indicates if the document is locked to prevent other users from downloading it.- Parameters:
downloadRestricted- Value of 'downloadRestricted'.
-
getAllowForceUnlock
public boolean getAllowForceUnlock()
Returns 'allowForceUnlock'. Flag that indicates if the document can be forcibly unlocked for editing and downloading.- Returns:
- Value of 'allowForceUnlock'.
-
setAllowForceUnlock
public void setAllowForceUnlock(boolean allowForceUnlock)
Sets 'allowForceUnlock'. Flag that indicates if the document can be forcibly unlocked for editing and downloading.- Parameters:
allowForceUnlock- Value of 'allowForceUnlock'.
-
registerTypeMappings
public static void registerTypeMappings(org.apache.axis.client.Call call)
-
-