Class DocumentVersion
- java.lang.Object
-
- org.silverpeas.core.importexport.versioning.DocumentVersion
-
- All Implemented Interfaces:
Serializable
public class DocumentVersion extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
STATUS_VALIDATION_NOT_REQ
static int
TYPE_DEFAULT_VERSION
static int
TYPE_PUBLIC_VERSION
-
Constructor Summary
Constructors Constructor Description DocumentVersion()
-
Method Summary
-
-
-
Field Detail
-
STATUS_VALIDATION_NOT_REQ
public static final int STATUS_VALIDATION_NOT_REQ
- See Also:
- Constant Field Values
-
TYPE_DEFAULT_VERSION
public static final int TYPE_DEFAULT_VERSION
- See Also:
- Constant Field Values
-
TYPE_PUBLIC_VERSION
public static final int TYPE_PUBLIC_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPk
public DocumentVersionPK getPk()
-
setPk
public void setPk(DocumentVersionPK pk)
-
getMajorNumber
public int getMajorNumber()
-
setMajorNumber
public void setMajorNumber(int majorNumber)
-
getMinorNumber
public int getMinorNumber()
-
setMinorNumber
public void setMinorNumber(int minorNumber)
-
getAuthorId
public int getAuthorId()
-
setAuthorId
public void setAuthorId(int authorId)
-
getCreationDate
public Date getCreationDate()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
getComments
public String getComments()
-
setComments
public void setComments(String comments)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getPhysicalName
public String getPhysicalName()
-
setPhysicalName
public void setPhysicalName(String physicalName)
-
getLogicalName
public String getLogicalName()
-
setLogicalName
public void setLogicalName(String logicalName)
-
getMimeType
public String getMimeType()
-
setMimeType
public void setMimeType(String mimeType)
-
getSize
public long getSize()
-
setSize
public void setSize(long size)
-
getInstanceId
public String getInstanceId()
-
setInstanceId
public void setInstanceId(String instanceId)
-
toString
public String toString()
Overriden toString method for debug/trace purposes
-
getDocumentPath
public String getDocumentPath()
Return the path to the document file.- Returns:
- the path to the document file.
-
getCreatorName
public String getCreatorName()
-
setCreatorName
public void setCreatorName(String creatorName)
-
getXmlForm
public String getXmlForm()
-
setXmlForm
public void setXmlForm(String xmlForm)
-
getXMLModelContentType
public XMLModelContentType getXMLModelContentType()
-
setXMLModelContentType
public void setXMLModelContentType(XMLModelContentType xmlModelContentType)
-
isRemoveAfterImport
public boolean isRemoveAfterImport()
-
setRemoveAfterImport
public void setRemoveAfterImport(boolean removeAfterImport)
-
setOriginalPath
public void setOriginalPath(String originalPath)
-
getOriginalPath
public String getOriginalPath()
-
copy
public DocumentVersion copy()
-
-