Nuxeo Enterprise Platform 5.1

org.nuxeo.ecm.platform.archive.ejb
Class ArchiveRecordImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.archive.ejb.ArchiveRecordImpl
All Implemented Interfaces:
Serializable, ArchiveRecord

public class ArchiveRecordImpl
extends Object
implements ArchiveRecord

Archive record entity bean implementation.

Author:
Bogdan Tatar
See Also:
Serialized Form

Field Summary
protected  String docUID
           
 
Constructor Summary
ArchiveRecordImpl()
           
ArchiveRecordImpl(DocumentModel currentDocument)
           
 
Method Summary
 Date getArchiveDate()
          Returns the date when the archive record was created.
 String getDocLifeCycle()
          Return the life cycle of the document related to the archive record.
 String getDocTitle()
          Return the title of the document related to the archive record.
 String getDocType()
           
 String getDocUID()
          Returns the UID of the document related to the archive record.
 String getDocVersion()
          Return the version of the document related to the archive record.
 Date getEstimatedRemovalDate()
          Returns the duration of the transition between the valid and expiration stages plus de duration of conservation.
 Integer getFolios1()
           
 String getFormat1()
          Return format1 of the archive record.
 String getGatheringFolder()
          Returns the gathering folder.
 long getId()
          Returns the archive record identifier.
 Integer getMicroformNumber()
          Return the number of microform for the archive record.
 String getParentDocPath()
          Return the path of the document related to the archive record.
 String getRestMediumLoc()
           
 String getRestMediumState()
           
 String getRestMediumType()
           
 Date getRetentionMediumLastYear()
           
 String getRetentionMediumLocation()
           
 Integer getRetentionMediumMaxAge()
           
 String getRetentionMediumQuality()
           
 String getRetentionMediumState()
          Return the retention support of an archive record.
 String getRetentionMediumType()
           
 String getWritableMediumLoc()
           
 String getWritableMediumState()
           
 String getWritableMediumType()
           
 void setArchiveDate(Date archiveDate)
           
 void setDocLifeCycle(String docLifeCycle)
           
 void setDocTitle(String docTitle)
           
 void setDocType(String docType)
           
 void setDocUID(String docUID)
           
 void setDocVersion(String docVersion)
           
 void setEstimatedRemovalDate(Date estimatedRemovalDate)
           
 void setFolios1(Integer folios1)
           
 void setFormat1(String format1)
           
 void setGatheringFolder(String gatheringFolder)
           
 void setId(long id)
           
 void setMicroformNumber(Integer microformNumber)
           
 void setParentDocPath(String docPath)
           
 void setRestMediumLoc(String restMediumLoc)
           
 void setRestMediumState(String restMediumState)
           
 void setRestMediumType(String restMediumType)
           
 void setRetentionMediumLastYear(Date retentionMediumLastYear)
           
 void setRetentionMediumLocation(String retentionMediumLocation)
           
 void setRetentionMediumMaxAge(Integer retentionMediumMaxAge)
           
 void setRetentionMediumQuality(String retentionMediumQuality)
           
 void setRetentionMediumState(String retentionMediumState)
           
 void setRetentionMediumType(String retentionMediumType)
           
 void setWritableMediumLoc(String writableMediumLoc)
           
 void setWritableMediumState(String writableMediumState)
           
 void setWritableMediumType(String writableMediumType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docUID

protected String docUID
Constructor Detail

ArchiveRecordImpl

public ArchiveRecordImpl()

ArchiveRecordImpl

public ArchiveRecordImpl(DocumentModel currentDocument)
Method Detail

getId

public long getId()
Description copied from interface: ArchiveRecord
Returns the archive record identifier.

Specified by:
getId in interface ArchiveRecord
Returns:
the archive record identifier

setId

public void setId(long id)

getArchiveDate

public Date getArchiveDate()
Description copied from interface: ArchiveRecord
Returns the date when the archive record was created.

Specified by:
getArchiveDate in interface ArchiveRecord
Returns:
the date when the archive record was created

setArchiveDate

public void setArchiveDate(Date archiveDate)

getFolios1

public Integer getFolios1()
Specified by:
getFolios1 in interface ArchiveRecord
Returns:

setFolios1

public void setFolios1(Integer folios1)

getFormat1

public String getFormat1()
Description copied from interface: ArchiveRecord
Return format1 of the archive record.

Specified by:
getFormat1 in interface ArchiveRecord
Returns:
format1 of the archive record

setFormat1

public void setFormat1(String format1)

getMicroformNumber

public Integer getMicroformNumber()
Description copied from interface: ArchiveRecord
Return the number of microform for the archive record.

Specified by:
getMicroformNumber in interface ArchiveRecord
Returns:
the number of microform

setMicroformNumber

public void setMicroformNumber(Integer microformNumber)

getRestMediumLoc

public String getRestMediumLoc()
Specified by:
getRestMediumLoc in interface ArchiveRecord
Returns:

setRestMediumLoc

public void setRestMediumLoc(String restMediumLoc)

getRestMediumState

public String getRestMediumState()
Specified by:
getRestMediumState in interface ArchiveRecord
Returns:

setRestMediumState

public void setRestMediumState(String restMediumState)

getWritableMediumLoc

public String getWritableMediumLoc()
Specified by:
getWritableMediumLoc in interface ArchiveRecord
Returns:

setWritableMediumLoc

public void setWritableMediumLoc(String writableMediumLoc)

getDocLifeCycle

public String getDocLifeCycle()
Description copied from interface: ArchiveRecord
Return the life cycle of the document related to the archive record.

Specified by:
getDocLifeCycle in interface ArchiveRecord
Returns:
the life cycle of the document

setDocLifeCycle

public void setDocLifeCycle(String docLifeCycle)

getParentDocPath

public String getParentDocPath()
Description copied from interface: ArchiveRecord
Return the path of the document related to the archive record.

Specified by:
getParentDocPath in interface ArchiveRecord
Returns:
the path of the document

setParentDocPath

public void setParentDocPath(String docPath)

getDocTitle

public String getDocTitle()
Description copied from interface: ArchiveRecord
Return the title of the document related to the archive record.

Specified by:
getDocTitle in interface ArchiveRecord
Returns:
the title of the document

setDocTitle

public void setDocTitle(String docTitle)

getDocType

public String getDocType()

setDocType

public void setDocType(String docType)

getDocUID

public String getDocUID()
Description copied from interface: ArchiveRecord
Returns the UID of the document related to the archive record.

Specified by:
getDocUID in interface ArchiveRecord
Returns:
the UID of the document

setDocUID

public void setDocUID(String docUID)

getDocVersion

public String getDocVersion()
Description copied from interface: ArchiveRecord
Return the version of the document related to the archive record.

Specified by:
getDocVersion in interface ArchiveRecord
Returns:
the version of the document

setDocVersion

public void setDocVersion(String docVersion)

getEstimatedRemovalDate

public Date getEstimatedRemovalDate()
Description copied from interface: ArchiveRecord
Returns the duration of the transition between the valid and expiration stages plus de duration of conservation.

Specified by:
getEstimatedRemovalDate in interface ArchiveRecord
Returns:

setEstimatedRemovalDate

public void setEstimatedRemovalDate(Date estimatedRemovalDate)

getRetentionMediumLastYear

public Date getRetentionMediumLastYear()
Specified by:
getRetentionMediumLastYear in interface ArchiveRecord
Returns:

setRetentionMediumLastYear

public void setRetentionMediumLastYear(Date retentionMediumLastYear)

getRetentionMediumLocation

public String getRetentionMediumLocation()
Specified by:
getRetentionMediumLocation in interface ArchiveRecord
Returns:

setRetentionMediumLocation

public void setRetentionMediumLocation(String retentionMediumLocation)

getRetentionMediumMaxAge

public Integer getRetentionMediumMaxAge()
Specified by:
getRetentionMediumMaxAge in interface ArchiveRecord
Returns:

setRetentionMediumMaxAge

public void setRetentionMediumMaxAge(Integer retentionMediumMaxAge)

getRetentionMediumQuality

public String getRetentionMediumQuality()
Specified by:
getRetentionMediumQuality in interface ArchiveRecord
Returns:

setRetentionMediumQuality

public void setRetentionMediumQuality(String retentionMediumQuality)

getRetentionMediumState

public String getRetentionMediumState()
Description copied from interface: ArchiveRecord
Return the retention support of an archive record.

Specified by:
getRetentionMediumState in interface ArchiveRecord
Returns:
the retention support of an archive record

setRetentionMediumState

public void setRetentionMediumState(String retentionMediumState)

getRetentionMediumType

public String getRetentionMediumType()
Specified by:
getRetentionMediumType in interface ArchiveRecord
Returns:

setRetentionMediumType

public void setRetentionMediumType(String retentionMediumType)

getWritableMediumState

public String getWritableMediumState()
Specified by:
getWritableMediumState in interface ArchiveRecord
Returns:

setWritableMediumState

public void setWritableMediumState(String writableMediumState)

getWritableMediumType

public String getWritableMediumType()
Specified by:
getWritableMediumType in interface ArchiveRecord
Returns:

setWritableMediumType

public void setWritableMediumType(String writableMediumType)

getGatheringFolder

public String getGatheringFolder()
Description copied from interface: ArchiveRecord
Returns the gathering folder.

Specified by:
getGatheringFolder in interface ArchiveRecord
Returns:
the gathering folder

setGatheringFolder

public void setGatheringFolder(String gatheringFolder)
Parameters:
gatheringFolder - The gatheringFolder to set.

getRestMediumType

public String getRestMediumType()
Specified by:
getRestMediumType in interface ArchiveRecord
Returns:

setRestMediumType

public void setRestMediumType(String restMediumType)
Parameters:
restMediumType - The restMediumType to set.

Nuxeo Enterprise Platform 5.1

Copyright ? 2007 Nuxeo SAS. All Rights Reserved.