public class SfcDocumentDTO
extends java.lang.Object
Constructor and Description |
---|
SfcDocumentDTO()
no-arg default constructor
|
SfcDocumentDTO(eu.europa.ec.sfc2014.core.model.domain.Document doc,
eu.europa.ec.sfc2014.directory.interfaces.DirectoryServiceLocal directoryService,
boolean showAllAttachmentsForRegistration)
Convert a Frontoffice Document to an SfcDocumentDTO.
|
SfcDocumentDTO(eu.europa.ec.sfc.model.document.v0.DocumentType document)
constructor taking the sfc-common model document as a parameter
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComments() |
java.lang.String |
getCommissionReference() |
java.lang.String |
getCountryCode() |
java.util.Collection<SfcDocumentAttachmentDTO> |
getDocumentAttachments() |
java.util.Collection<SfcDocumentAuthorityRestrictionDTO> |
getDocumentAuthorityRestrictions() |
java.util.Date |
getDocumentDate() |
java.lang.String |
getDocumentGroupCode() |
java.util.Collection<SfcDocumentLinkDTO> |
getDocumentLinks() |
java.lang.String |
getDocumentTypeCode() |
java.util.Collection<SfcDocumentExtraDataDTO> |
getExtraData() |
java.lang.Long |
getId() |
java.lang.String |
getLocalReference() |
java.lang.Boolean |
getManifestOnlyDocumentType() |
java.lang.Long |
getParentId() |
java.lang.String |
getSentBy() |
java.util.Date |
getSentDate() |
java.lang.String |
getTitle() |
void |
setComments(java.lang.String comments) |
void |
setCommissionReference(java.lang.String commissionReference) |
void |
setCountryCode(java.lang.String countryCode) |
void |
setDocumentAttachments(java.util.Collection<SfcDocumentAttachmentDTO> documentAttachments) |
void |
setDocumentAuthorityRestrictions(java.util.Collection<SfcDocumentAuthorityRestrictionDTO> documentAuthorityRestrictions) |
void |
setDocumentDate(java.util.Date documentDate) |
void |
setDocumentGroupCode(java.lang.String documentGroupCode) |
void |
setDocumentLinks(java.util.Collection<SfcDocumentLinkDTO> documentLinks) |
void |
setDocumentTypeCode(java.lang.String documentTypeCode) |
void |
setExtraData(java.util.Collection<SfcDocumentExtraDataDTO> extraData) |
void |
setId(java.lang.Long id) |
void |
setLocalReference(java.lang.String localReference) |
void |
setManifestOnlyDocumentType(java.lang.Boolean isManifestOnly) |
void |
setParentId(java.lang.Long parentId) |
void |
setSentBy(java.lang.String sentBy) |
void |
setSentDate(java.util.Date sentDate) |
void |
setTitle(java.lang.String title) |
public SfcDocumentDTO()
public SfcDocumentDTO(eu.europa.ec.sfc2014.core.model.domain.Document doc, eu.europa.ec.sfc2014.directory.interfaces.DirectoryServiceLocal directoryService, boolean showAllAttachmentsForRegistration)
doc
- the documentdirectoryService
- the directoryserviceshowAllAttachmentsForRegistration
- internal flag for registration modulepublic SfcDocumentDTO(eu.europa.ec.sfc.model.document.v0.DocumentType document)
document
- public java.util.Collection<SfcDocumentExtraDataDTO> getExtraData()
public void setExtraData(java.util.Collection<SfcDocumentExtraDataDTO> extraData)
extraData
- the extraData to setpublic java.lang.Long getId()
public void setId(java.lang.Long id)
id
- the id to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic java.util.Date getDocumentDate()
public void setDocumentDate(java.util.Date documentDate)
documentDate
- the documentDate to setpublic java.lang.String getCommissionReference()
public void setCommissionReference(java.lang.String commissionReference)
commissionReference
- the commissionReference to setpublic java.lang.String getLocalReference()
public void setLocalReference(java.lang.String localReference)
localReference
- the localReference to setpublic java.lang.String getComments()
public void setComments(java.lang.String comments)
comments
- the comments to setpublic java.lang.String getSentBy()
public void setSentBy(java.lang.String sentBy)
sentBy
- the sentBy to setpublic java.util.Date getSentDate()
public void setSentDate(java.util.Date sentDate)
sentDate
- the sentDate to setpublic java.util.Collection<SfcDocumentAttachmentDTO> getDocumentAttachments()
public void setDocumentAttachments(java.util.Collection<SfcDocumentAttachmentDTO> documentAttachments)
documentAttachments
- the documentAttachments to setpublic java.util.Collection<SfcDocumentLinkDTO> getDocumentLinks()
public void setDocumentLinks(java.util.Collection<SfcDocumentLinkDTO> documentLinks)
documentLinks
- the documentLinks to setpublic java.lang.String getDocumentTypeCode()
public void setDocumentTypeCode(java.lang.String documentTypeCode)
documentTypeCode
- the documentTypeCode to setpublic java.lang.String getCountryCode()
public void setCountryCode(java.lang.String countryCode)
countryCode
- the countryCode to setpublic java.lang.String getDocumentGroupCode()
public void setDocumentGroupCode(java.lang.String documentGroupCode)
public java.lang.Long getParentId()
public void setParentId(java.lang.Long parentId)
public java.lang.Boolean getManifestOnlyDocumentType()
public void setManifestOnlyDocumentType(java.lang.Boolean isManifestOnly)
public java.util.Collection<SfcDocumentAuthorityRestrictionDTO> getDocumentAuthorityRestrictions()
public void setDocumentAuthorityRestrictions(java.util.Collection<SfcDocumentAuthorityRestrictionDTO> documentAuthorityRestrictions)
Copyright © 2024. All rights reserved.