Class GUIArchive
- java.lang.Object
-
- com.logicaldoc.gui.common.client.beans.GUIArchive
-
- All Implemented Interfaces:
Serializable
public class GUIArchive extends Object implements Serializable
GUI representation of an import/export archive- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CUSTOMID_IMPORT_AND_NEW_DOCUMENT
static int
CUSTOMID_IMPORT_AND_NEW_RELEASE
static int
CUSTOMID_IMPORT_AND_NEW_SUBVERSION
static int
CUSTOMID_NOT_IMPORT
long
id
static int
MODE_EXPORT
static int
MODE_IMPORT
static int
STATUS_CLOSED
static int
STATUS_ERROR
static int
STATUS_FINALIZED
static int
STATUS_OPENED
static int
STATUS_READY_TO_IMPORT
static int
STATUS_READYTOSIGN
static int
TYPE_DEFAULT
static int
TYPE_STORAGE
-
Constructor Summary
Constructors Constructor Description GUIArchive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getCloserId()
The archive closer idString
getCloserName()
The archive closer nameDate
getClosure()
The archive's closure dateDate
getCreation()
The archive's creation datelong
getCreatorId()
The archive creator idString
getCreatorName()
The archive creator nameString
getDescription()
The archive descriptionlong
getId()
int
getImportCustomId()
int
getImportTemplate()
int
getMode()
String
getName()
The archive name.long
getSize()
Archive dimension in bytes, that is the sum of sizes of all document plus the size of all metadata filesint
getStatus()
The archive statusint
getType()
The archive typevoid
setCloserId(Long closerId)
void
setCloserName(String closerName)
void
setClosure(Date closure)
void
setCreation(Date creation)
void
setCreatorId(long creatorId)
void
setCreatorName(String creatorName)
void
setDescription(String description)
void
setId(long id)
void
setImportCustomId(int importCustomId)
void
setImportTemplate(int importTemplate)
void
setMode(int mode)
void
setName(String name)
void
setSize(long size)
void
setStatus(int status)
void
setType(int type)
-
-
-
Field Detail
-
id
public long id
-
STATUS_OPENED
public static int STATUS_OPENED
-
STATUS_READY_TO_IMPORT
public static int STATUS_READY_TO_IMPORT
-
STATUS_CLOSED
public static int STATUS_CLOSED
-
STATUS_FINALIZED
public static int STATUS_FINALIZED
-
STATUS_READYTOSIGN
public static int STATUS_READYTOSIGN
-
STATUS_ERROR
public static int STATUS_ERROR
-
TYPE_DEFAULT
public static int TYPE_DEFAULT
-
TYPE_STORAGE
public static int TYPE_STORAGE
-
MODE_IMPORT
public static int MODE_IMPORT
-
MODE_EXPORT
public static int MODE_EXPORT
-
CUSTOMID_NOT_IMPORT
public static int CUSTOMID_NOT_IMPORT
-
CUSTOMID_IMPORT_AND_NEW_RELEASE
public static int CUSTOMID_IMPORT_AND_NEW_RELEASE
-
CUSTOMID_IMPORT_AND_NEW_SUBVERSION
public static int CUSTOMID_IMPORT_AND_NEW_SUBVERSION
-
CUSTOMID_IMPORT_AND_NEW_DOCUMENT
public static int CUSTOMID_IMPORT_AND_NEW_DOCUMENT
-
-
Method Detail
-
getName
public String getName()
The archive name. Also alternative identifier.- Returns:
- the name
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
The archive description- Returns:
- description of the archive
-
setDescription
public void setDescription(String description)
-
getCreation
public Date getCreation()
The archive's creation date- Returns:
- the date when the archive was created
-
setCreation
public void setCreation(Date creation)
-
getStatus
public int getStatus()
The archive status- Returns:
- the status
- See Also:
STATUS_OPENED
,STATUS_CLOSED
,STATUS_FINALIZED
,STATUS_READYTOSIGN
,STATUS_ERROR
-
setStatus
public void setStatus(int status)
-
getSize
public long getSize()
Archive dimension in bytes, that is the sum of sizes of all document plus the size of all metadata files- Returns:
- the total size in bytes
-
setSize
public void setSize(long size)
-
getType
public int getType()
The archive type- Returns:
- the type
- See Also:
TYPE_DEFAULT
,TYPE_STORAGE
-
setType
public void setType(int type)
-
getCreatorId
public long getCreatorId()
The archive creator id- Returns:
- identifier of the creator
-
setCreatorId
public void setCreatorId(long creatorId)
-
getCreatorName
public String getCreatorName()
The archive creator name- Returns:
- name of the creator
-
setCreatorName
public void setCreatorName(String creatorName)
-
getCloserId
public Long getCloserId()
The archive closer id- Returns:
- identifier of the user that closed the archive
-
setCloserId
public void setCloserId(Long closerId)
-
getCloserName
public String getCloserName()
The archive closer name- Returns:
- name of the user that closed the archive
-
setCloserName
public void setCloserName(String closerName)
-
getClosure
public Date getClosure()
The archive's closure date- Returns:
- the date when the archive has been closed
-
setClosure
public void setClosure(Date closure)
-
getMode
public int getMode()
-
setMode
public void setMode(int mode)
-
getImportTemplate
public int getImportTemplate()
-
setImportTemplate
public void setImportTemplate(int importTemplate)
-
getImportCustomId
public int getImportCustomId()
-
setImportCustomId
public void setImportCustomId(int importCustomId)
-
getId
public long getId()
-
setId
public void setId(long id)
-
-