Package ch.tocco.nice2.outputcenter.impl
Class OutputJobDocument
java.lang.Object
ch.tocco.nice2.outputcenter.impl.OutputJobDocument
- All Implemented Interfaces:
Mergable
-
Constructor Summary
ConstructorDescriptionOutputJobDocument
(Entity delegate, OutputJobDocumentDao dao) OutputJobDocument
(String documentUuid, OutputJobDocumentDao dao) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFileName
(org.joda.time.DateTimeZone zone) getId()
int
hashCode()
-
Constructor Details
-
OutputJobDocument
-
OutputJobDocument
-
-
Method Details
-
getDelegate
- Specified by:
getDelegate
in interfaceMergable
-
getMergeRelationName
- Specified by:
getMergeRelationName
in interfaceMergable
-
getId
-
getMimeType
- Specified by:
getMimeType
in interfaceMergable
-
getFileName
- Specified by:
getFileName
in interfaceMergable
- Parameters:
zone
- time zone to format the timestamp in the filename- Returns:
- the filename used to download the document (without file extension / mime type)
-
equals
-
hashCode
public int hashCode()
-