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 SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe archive closer idThe archive closer nameThe archive's closure dateThe archive's creation datelongThe archive creator idThe archive creator nameThe archive descriptionlonggetId()intintintgetMode()getName()The archive name.longgetSize()Archive dimension in bytes, that is the sum of sizes of all document plus the size of all metadata filesintThe archive statusintgetType()The archive typevoidsetCloserId(Long closerId) voidsetCloserName(String closerName) voidsetClosure(Date closure) voidsetCreation(Date creation) voidsetCreatorId(long creatorId) voidsetCreatorName(String creatorName) voidsetDescription(String description) voidsetId(long id) voidsetImportCustomId(int importCustomId) voidsetImportTemplate(int importTemplate) voidsetMode(int mode) voidvoidsetSize(long size) voidsetStatus(int status) voidsetType(int type) 
- 
Field Details- 
STATUS_OPENpublic static final int STATUS_OPEN- See Also:
 
- 
STATUS_READY_TO_IMPORTpublic static final int STATUS_READY_TO_IMPORT- See Also:
 
- 
STATUS_CLOSEDpublic static final int STATUS_CLOSED- See Also:
 
- 
STATUS_FINALIZEDpublic static final int STATUS_FINALIZED- See Also:
 
- 
STATUS_READYTOSIGNpublic static final int STATUS_READYTOSIGN- See Also:
 
- 
STATUS_ERRORpublic static final int STATUS_ERROR- See Also:
 
- 
TYPE_DEFAULTpublic static final int TYPE_DEFAULT- See Also:
 
- 
TYPE_STOREpublic static final int TYPE_STORE- See Also:
 
- 
MODE_IMPORTpublic static final int MODE_IMPORT- See Also:
 
- 
MODE_EXPORTpublic static final int MODE_EXPORT- See Also:
 
- 
CUSTOMID_NOT_IMPORTpublic static final int CUSTOMID_NOT_IMPORT- See Also:
 
- 
CUSTOMID_IMPORT_AND_NEW_RELEASEpublic static final int CUSTOMID_IMPORT_AND_NEW_RELEASE- See Also:
 
- 
CUSTOMID_IMPORT_AND_NEW_SUBVERSIONpublic static final int CUSTOMID_IMPORT_AND_NEW_SUBVERSION- See Also:
 
- 
CUSTOMID_IMPORT_AND_NEW_DOCUMENTpublic static final int CUSTOMID_IMPORT_AND_NEW_DOCUMENT- See Also:
 
 
- 
- 
Constructor Details- 
GUIArchivepublic GUIArchive()
 
- 
- 
Method Details- 
getNameThe archive name. Also alternative identifier.- Returns:
- the name
 
- 
setName
- 
getDescriptionThe archive description- Returns:
- description of the archive
 
- 
setDescription
- 
getCreationThe archive's creation date- Returns:
- the date when the archive was created
 
- 
setCreation
- 
getStatuspublic int getStatus()The archive status- Returns:
- the status
- See Also:
 
- 
setStatuspublic void setStatus(int status) 
- 
getSizepublic 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
 
- 
setSizepublic void setSize(long size) 
- 
getTypepublic int getType()The archive type- Returns:
- the type
- See Also:
 
- 
setTypepublic void setType(int type) 
- 
getCreatorIdpublic long getCreatorId()The archive creator id- Returns:
- identifier of the creator
 
- 
setCreatorIdpublic void setCreatorId(long creatorId) 
- 
getCreatorNameThe archive creator name- Returns:
- name of the creator
 
- 
setCreatorName
- 
getCloserIdThe archive closer id- Returns:
- identifier of the user that closed the archive
 
- 
setCloserId
- 
getCloserNameThe archive closer name- Returns:
- name of the user that closed the archive
 
- 
setCloserName
- 
getClosureThe archive's closure date- Returns:
- the date when the archive has been closed
 
- 
setClosure
- 
getModepublic int getMode()
- 
setModepublic void setMode(int mode) 
- 
getImportTemplatepublic int getImportTemplate()
- 
setImportTemplatepublic void setImportTemplate(int importTemplate) 
- 
getImportCustomIdpublic int getImportCustomId()
- 
setImportCustomIdpublic void setImportCustomId(int importCustomId) 
- 
getIdpublic long getId()
- 
setIdpublic void setId(long id) 
 
-