Class GUIArchive
java.lang.Object
com.logicaldoc.gui.common.client.beans.GUIArchive
- All Implemented Interfaces:
Serializable
GUI representation of an import/export archive
- Since:
- 6.0
- Author:
- Marco Meschieri - 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
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe archive closer idThe archive closer nameThe archive's closure dateThe archive's creation datelong
The archive creator idThe archive creator nameThe archive descriptionlong
getId()
int
int
int
getMode()
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
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
void
setSize
(long size) void
setStatus
(int status) void
setType
(int type)
-
Field Details
-
STATUS_OPENED
public static final int STATUS_OPENED- See Also:
-
STATUS_READY_TO_IMPORT
public static final int STATUS_READY_TO_IMPORT- See Also:
-
STATUS_CLOSED
public static final int STATUS_CLOSED- See Also:
-
STATUS_FINALIZED
public static final int STATUS_FINALIZED- See Also:
-
STATUS_READYTOSIGN
public static final int STATUS_READYTOSIGN- See Also:
-
STATUS_ERROR
public static final int STATUS_ERROR- See Also:
-
TYPE_DEFAULT
public static final int TYPE_DEFAULT- See Also:
-
TYPE_STORE
public static final int TYPE_STORE- See Also:
-
MODE_IMPORT
public static final int MODE_IMPORT- See Also:
-
MODE_EXPORT
public static final int MODE_EXPORT- See Also:
-
CUSTOMID_NOT_IMPORT
public static final int CUSTOMID_NOT_IMPORT- See Also:
-
CUSTOMID_IMPORT_AND_NEW_RELEASE
public static final int CUSTOMID_IMPORT_AND_NEW_RELEASE- See Also:
-
CUSTOMID_IMPORT_AND_NEW_SUBVERSION
public static final int CUSTOMID_IMPORT_AND_NEW_SUBVERSION- See Also:
-
CUSTOMID_IMPORT_AND_NEW_DOCUMENT
public static final int CUSTOMID_IMPORT_AND_NEW_DOCUMENT- See Also:
-
-
Constructor Details
-
GUIArchive
public GUIArchive()
-
-
Method Details
-
getName
The archive name. Also alternative identifier.- Returns:
- the name
-
setName
-
getDescription
The archive description- Returns:
- description of the archive
-
setDescription
-
getCreation
The archive's creation date- Returns:
- the date when the archive was created
-
setCreation
-
getStatus
public int getStatus()The archive status- Returns:
- the status
- See Also:
-
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:
-
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
The archive creator name- Returns:
- name of the creator
-
setCreatorName
-
getCloserId
The archive closer id- Returns:
- identifier of the user that closed the archive
-
setCloserId
-
getCloserName
The archive closer name- Returns:
- name of the user that closed the archive
-
setCloserName
-
getClosure
The archive's closure date- Returns:
- the date when the archive has been closed
-
setClosure
-
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)
-