@SchemaValidation(handler=eu.europa.ec.sfc2014.frontoffice.jws.SchemaValidationErrorHandler.class) public class EuropeanInnovationPartnershipServiceImpl extends eu.europa.ec.sfc2014.frontoffice.jws.service.search.GenericServiceJwsImpl<SfcProgrammeVersionEipDTO,eu.europa.ec.sfc2014.frontoffice.model.dto.mvo.search.EipProjectVersionListContainer,eu.europa.ec.sfc2014.frontoffice.model.domain.eipproject.EipAgriProjectVersion,eu.europa.ec.sfc2014.frontoffice.model.domain.eipproject.util.EipProjectVersionCriteria,SfcProgrammeCriteriaDTO,SfcProgrammesQueryDTO>
The following Action/State diagram describe the complete internal business flow :
Constructor and Description |
---|
EuropeanInnovationPartnershipServiceImpl() |
Modifier and Type | Method and Description |
---|---|
SfcProgrammeVersionEipDTO |
create(java.lang.String nativeLanguage,
java.lang.String titleInNativeLAnguage,
java.lang.String titleInEnglish,
java.lang.Short startingYear,
java.lang.Short endYear,
eu.europa.ec.sfc2014.frontoffice.model.domain.eipproject.util.EipCompletionStatus completed,
SfcCciDTO cci,
java.lang.String comments)
To be used when a user wants to create a new Designation .
|
SfcProgrammeVersionEipDTO |
createNewVersion(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion)
To be used when a user wants to create a new version of Designation Of Authorities.
|
void |
delete(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion)
To be used when a user wants to delete a version from the system.
|
SfcProgrammeVersionEipDTO |
partialSave(SfcProgrammeVersionEipDTO version) |
SfcProgrammeVersionEipDTO |
read(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion) |
SfcTableOfContentDTO |
readTableOfContent(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion,
java.lang.String locale) |
void |
returnForModification(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion,
java.lang.String reason)
To be used when a user wants to return the version sent by the Member State/Region because it is incomplete or incorrect and needs to be modified.
|
SfcProgrammeVersionEipDTO |
save(SfcProgrammeVersionEipDTO version)
Saves a Designation Of Authorities version.
|
SfcSearchResultDTO<SfcProgrammeVersionEipDTO> |
search(SfcProgrammesQueryDTO query)
Searches for Designation Of Authorities based on the given Criteria
The following example sort ascending based on cci and full version and returns the first 100 final results with CCI pattern 2014BE%
|
void |
send(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion)
To be used when a user is ready to send its recorded data to the Commission or to an upper Node.
|
java.util.List<SfcValidationResultsDTO> |
validate(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion,
java.lang.String locale)
To be used to do an overall validation.
|
public EuropeanInnovationPartnershipServiceImpl()
public SfcProgrammeVersionEipDTO read(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcTableOfContentDTO readTableOfContent(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion, java.lang.String locale) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- The mandatory cci for this DOAversion
- The version number of theDOA. Can be null
.workVersion
- The workVersion of the DOA. Can be null
.locale
- The language of the Contents. Can be null
.eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcSearchResultDTO<SfcProgrammeVersionEipDTO> search(SfcProgrammesQueryDTO query) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
<com:query>
<!--Optional:-->
<resultRange>
<startIndex>0</startIndex>
<endIndex>99</endIndex>
</resultRange>
<!--Zero or more repetitions:-->
<sort>CCI</sort>
<sort>VERSION</sort>
<!--Zero or more repetitions:-->
<asc>true</asc>
<asc>true</asc>
<!--Optional:-->
<criteria>
<!--Optional:-->
<cci>2014BE</cci>
</criteria>
</com:query>
query
- SfcProgrammesQueryDTOeu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcProgrammeVersionEipDTO save(SfcProgrammeVersionEipDTO version) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
The version argument must always be provided if not an SfcFaultException will be thrown.
version
- The accounts to save.eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcProgrammeVersionEipDTO partialSave(SfcProgrammeVersionEipDTO version) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcProgrammeVersionEipDTO createNewVersion(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- the cciversion
- the versionworkVersion
- the work versioneu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcProgrammeVersionEipDTO create(java.lang.String nativeLanguage, java.lang.String titleInNativeLAnguage, java.lang.String titleInEnglish, java.lang.Short startingYear, java.lang.Short endYear, eu.europa.ec.sfc2014.frontoffice.model.domain.eipproject.util.EipCompletionStatus completed, SfcCciDTO cci, java.lang.String comments) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public java.util.List<SfcValidationResultsDTO> validate(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion, java.lang.String locale) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- version
- workVersion
- locale
- eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public void send(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- version
- workVersion
- eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public void returnForModification(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion, java.lang.String reason) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- version
- workVersion
- reason
- eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public void delete(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
cci
- version
- workVersion
- eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
Copyright © 2024. All rights reserved.