Package com.logicaldoc.webservice.model
Class WSDocument
- java.lang.Object
-
- com.logicaldoc.webservice.model.WSDocument
-
- All Implemented Interfaces:
Serializable
public class WSDocument extends Object implements Serializable
Web Service Document. Useful class to create repository Documents.- Since:
- 5.2
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOC_CHECKED_OUT
static int
DOC_LOCKED
static int
DOC_UNLOCKED
static int
EXPORT_LOCKED
static int
EXPORT_UNLOCKED
static int
INDEX_INDEXED
static int
INDEX_SKIP
static int
INDEX_TO_INDEX
-
Constructor Summary
Constructors Constructor Description WSDocument()
-
Method Summary
-
-
-
Field Detail
-
DOC_UNLOCKED
public static final int DOC_UNLOCKED
- See Also:
- Constant Field Values
-
DOC_CHECKED_OUT
public static final int DOC_CHECKED_OUT
- See Also:
- Constant Field Values
-
DOC_LOCKED
public static final int DOC_LOCKED
- See Also:
- Constant Field Values
-
EXPORT_UNLOCKED
public static final int EXPORT_UNLOCKED
- See Also:
- Constant Field Values
-
EXPORT_LOCKED
public static final int EXPORT_LOCKED
- See Also:
- Constant Field Values
-
INDEX_TO_INDEX
public static final int INDEX_TO_INDEX
- See Also:
- Constant Field Values
-
INDEX_INDEXED
public static final int INDEX_INDEXED
- See Also:
- Constant Field Values
-
INDEX_SKIP
public static final int INDEX_SKIP
- See Also:
- Constant Field Values
-
-
Method Detail
-
listAttributeNames
public Collection<String> listAttributeNames()
-
attribute
public WSAttribute attribute(String name)
-
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
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getFileVersion
public String getFileVersion()
-
setFileVersion
public void setFileVersion(String fileVersion)
-
getPublisher
public String getPublisher()
-
setPublisher
public void setPublisher(String publisher)
-
getPublisherId
public long getPublisherId()
-
setPublisherId
public void setPublisherId(long publisherId)
-
getCreator
public String getCreator()
-
setCreator
public void setCreator(String creator)
-
getCreatorId
public long getCreatorId()
-
setCreatorId
public void setCreatorId(long creatorId)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getLockUserId
public Long getLockUserId()
-
setLockUserId
public void setLockUserId(Long lockUserId)
-
getFileName
public String getFileName()
-
setFileName
public void setFileName(String fileName)
-
getIndexed
public int getIndexed()
-
setIndexed
public void setIndexed(int indexed)
-
getSigned
public int getSigned()
-
setSigned
public void setSigned(int signed)
-
getTags
public String[] getTags()
-
setTags
public void setTags(String[] tags)
-
getFolderId
public Long getFolderId()
-
setFolderId
public void setFolderId(Long folderId)
-
getTemplateId
public Long getTemplateId()
-
setTemplateId
public void setTemplateId(Long templateId)
-
getCustomId
public String getCustomId()
-
setCustomId
public void setCustomId(String customId)
-
getImmutable
public int getImmutable()
-
setImmutable
public void setImmutable(int immutable)
-
getDigest
public String getDigest()
-
setDigest
public void setDigest(String digest)
-
getExportName
public String getExportName()
-
setExportName
public void setExportName(String exportName)
-
getExportId
public Long getExportId()
-
setExportId
public void setExportId(Long exportId)
-
getDocRef
public Long getDocRef()
-
setDocRef
public void setDocRef(Long docRef)
-
getDeleteUserId
public Long getDeleteUserId()
-
setDeleteUserId
public void setDeleteUserId(Long deleteUserId)
-
getId
public long getId()
-
setId
public void setId(long id)
-
getDate
public String getDate()
-
setDate
public void setDate(String date)
-
getCreation
public String getCreation()
-
setCreation
public void setCreation(String creation)
-
getAttributes
public WSAttribute[] getAttributes()
-
getAttribute
public WSAttribute getAttribute(String name)
-
setAttributes
public void setAttributes(WSAttribute[] attributes)
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
getSummary
public String getSummary()
-
setSummary
public void setSummary(String summary)
-
getScore
public Integer getScore()
-
setScore
public void setScore(Integer score)
-
getIcon
public String getIcon()
-
setIcon
public void setIcon(String icon)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
getLastModified
public String getLastModified()
-
setLastModified
public void setLastModified(String lastModified)
-
getRating
public Integer getRating()
-
setRating
public void setRating(Integer rating)
-
addAttribute
public void addAttribute(WSAttribute att)
-
addTag
public void addTag(String tag)
-
getWorkflowStatus
public String getWorkflowStatus()
-
setWorkflowStatus
public void setWorkflowStatus(String workflowStatus)
-
getWorkflowStatusDisplay
public String getWorkflowStatusDisplay()
-
setWorkflowStatusDisplay
public void setWorkflowStatusDisplay(String workflowStatusDisplay)
-
getPublished
public int getPublished()
-
setPublished
public void setPublished(int published)
-
getStartPublishing
public String getStartPublishing()
-
setStartPublishing
public void setStartPublishing(String startPublishing)
-
getStopPublishing
public String getStopPublishing()
-
setStopPublishing
public void setStopPublishing(String stopPublishing)
-
getDocRefType
public String getDocRefType()
-
setDocRefType
public void setDocRefType(String docRefType)
-
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
public Long getFormId()
-
setFormId
public void setFormId(Long formId)
-
getPasswordProtected
public Integer getPasswordProtected()
-
setPasswordProtected
public void setPasswordProtected(Integer passwordProtected)
-
getOcrTemplateId
public Long getOcrTemplateId()
-
setOcrTemplateId
public void setOcrTemplateId(Long ocrTemplateId)
-
getOcrd
public int getOcrd()
-
setOcrd
public void setOcrd(int ocrd)
-
getBarcodeTemplateId
public Long getBarcodeTemplateId()
-
setBarcodeTemplateId
public void setBarcodeTemplateId(Long barcodeTemplateId)
-
getBarcoded
public int getBarcoded()
-
setBarcoded
public void setBarcoded(int barcoded)
-
getColor
public String getColor()
-
setColor
public void setColor(String color)
-
-