Package com.logicaldoc.webservice.model
Class WSDocument
java.lang.Object
com.logicaldoc.webservice.model.WSDocument
- All Implemented Interfaces:
Serializable
Web Service Document. Useful class to create repository Documents.
- Since:
- 5.2
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(WSAttribute att) void
getAttribute
(String name) int
getColor()
long
getDate()
int
long
getIcon()
long
getId()
int
int
int
int
getOcrd()
int
getPages()
int
long
getScore()
int
int
int
String[]
getTags()
getType()
void
setAttributes
(WSAttribute[] attributes) void
setBarcoded
(int barcoded) void
setBarcodeTemplateId
(Long barcodeTemplateId) void
void
setComment
(String comment) void
setCreation
(String creation) void
setCreator
(String creator) void
setCreatorId
(long creatorId) void
setCustomId
(String customId) void
void
setDeleteUserId
(Long deleteUserId) void
void
void
setDocRefType
(String docRefType) void
setExportId
(Long exportId) void
setExportName
(String exportName) void
setExportStatus
(int exportStatus) void
setFileName
(String fileName) void
setFileSize
(long fileSize) void
setFileVersion
(String fileVersion) void
setFolderId
(Long folderId) void
void
void
setId
(long id) void
setImmutable
(int immutable) void
setIndexed
(int indexed) void
setLanguage
(String language) void
setLastModified
(String lastModified) void
setLockUserId
(Long lockUserId) void
setNature
(int nature) void
setOcrd
(int ocrd) void
setOcrTemplateId
(Long ocrTemplateId) void
setPages
(int pages) void
setPasswordProtected
(Integer passwordProtected) void
setPublished
(int published) void
setPublisher
(String publisher) void
setPublisherId
(long publisherId) void
void
void
setSigned
(int signed) void
setStamped
(int stamped) void
setStartPublishing
(String startPublishing) void
setStatus
(int status) void
setStopPublishing
(String stopPublishing) void
setSummary
(String summary) void
void
setTemplateId
(Long templateId) void
void
setVersion
(String version) void
setWorkflowStatus
(String workflowStatus) void
setWorkflowStatusDisplay
(String workflowStatusDisplay)
-
Field Details
-
DOC_UNLOCKED
public static final int DOC_UNLOCKED- See Also:
-
DOC_CHECKED_OUT
public static final int DOC_CHECKED_OUT- See Also:
-
DOC_LOCKED
public static final int DOC_LOCKED- See Also:
-
EXPORT_UNLOCKED
public static final int EXPORT_UNLOCKED- See Also:
-
EXPORT_LOCKED
public static final int EXPORT_LOCKED- See Also:
-
INDEX_TO_INDEX
public static final int INDEX_TO_INDEX- See Also:
-
INDEX_INDEXED
public static final int INDEX_INDEXED- See Also:
-
INDEX_SKIP
public static final int INDEX_SKIP- See Also:
-
-
Constructor Details
-
WSDocument
public WSDocument()
-
-
Method Details
-
listAttributeNames
-
attribute
-
getFileSize
public long getFileSize() -
setFileSize
public void setFileSize(long fileSize) -
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getExportStatus
public int getExportStatus() -
setExportStatus
public void setExportStatus(int exportStatus) -
getVersion
-
setVersion
-
getFileVersion
-
setFileVersion
-
getPublisher
-
setPublisher
-
getPublisherId
public long getPublisherId() -
setPublisherId
public void setPublisherId(long publisherId) -
getCreator
-
setCreator
-
getCreatorId
public long getCreatorId() -
setCreatorId
public void setCreatorId(long creatorId) -
getType
-
setType
-
getLockUserId
-
setLockUserId
-
getFileName
-
setFileName
-
getIndexed
public int getIndexed() -
setIndexed
public void setIndexed(int indexed) -
getSigned
public int getSigned() -
setSigned
public void setSigned(int signed) -
getTags
-
setTags
-
getFolderId
-
setFolderId
-
getTemplateId
-
setTemplateId
-
getCustomId
-
setCustomId
-
getImmutable
public int getImmutable() -
setImmutable
public void setImmutable(int immutable) -
getDigest
-
setDigest
-
getExportName
-
setExportName
-
getExportId
-
setExportId
-
getDocRef
-
setDocRef
-
getDeleteUserId
-
setDeleteUserId
-
getId
public long getId() -
setId
public void setId(long id) -
getDate
-
setDate
-
getCreation
-
setCreation
-
getAttributes
-
getAttribute
-
setAttributes
-
getLanguage
-
setLanguage
-
getSummary
-
setSummary
-
getScore
-
setScore
-
getIcon
-
setIcon
-
getComment
-
setComment
-
getLastModified
-
setLastModified
-
getRating
-
setRating
-
addAttribute
-
addTag
-
getWorkflowStatus
-
setWorkflowStatus
-
getWorkflowStatusDisplay
-
setWorkflowStatusDisplay
-
getPublished
public int getPublished() -
setPublished
public void setPublished(int published) -
getStartPublishing
-
setStartPublishing
-
getStopPublishing
-
setStopPublishing
-
getDocRefType
-
setDocRefType
-
getPages
public int getPages() -
setPages
public void setPages(int pages) -
getStamped
public int getStamped() -
setStamped
public void setStamped(int stamped) -
getNature
public int getNature() -
setNature
public void setNature(int nature) -
getFormId
-
setFormId
-
getPasswordProtected
-
setPasswordProtected
-
getOcrTemplateId
-
setOcrTemplateId
-
getOcrd
public int getOcrd() -
setOcrd
public void setOcrd(int ocrd) -
getBarcodeTemplateId
-
setBarcodeTemplateId
-
getBarcoded
public int getBarcoded() -
setBarcoded
public void setBarcoded(int barcoded) -
getColor
-
setColor
-