@SchemaValidation(handler=eu.europa.ec.sfc2014.frontoffice.jws.SchemaValidationErrorHandler.class) public class CooperationProgrammeIpaCbServiceImpl extends ProgrammeVersionJwsImpl<SfcProgrammeVersionIpaCbDTO,eu.europa.ec.sfc2014.frontoffice.model.domain.programme.ipacbc.ProgrammeVersionIpaCbc>
The Web Service is defined as a "document-literal" service, which means that the SOAP messages have a single part referencing an XML Schema element that defines the entire body.
Constructor and Description |
---|
CooperationProgrammeIpaCbServiceImpl() |
Modifier and Type | Method and Description |
---|---|
SfcProgrammeVersionIpaCbDTO |
read(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion)
Returns a single Cooperation Programme version for the given CCI and for the given version/workVersion.
|
SfcTableOfContentDTO |
readTableOfContent(SfcCciDTO cci,
java.lang.Integer version,
java.lang.Integer workVersion,
java.lang.String locale) |
SfcSearchResultDTO<SfcProgrammeVersionIpaCbDTO> |
search(SfcProgrammesQueryDTO query)
Search is equivalent to the UI search of the programme
* This method returns the first section
|
public CooperationProgrammeIpaCbServiceImpl()
public SfcProgrammeVersionIpaCbDTO read(SfcCciDTO cci, java.lang.Integer version, java.lang.Integer workVersion) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
This method returns the (last)ProgrammeVersion object when found. In case nothing could be found in the SFC2014 database (or the user doesn't have the right permission) an empty response is returned.
<cci>
<year>2014</year>
<targetArea>TC</targetArea>
<leadDg>16</leadDg>
<budgetSource>M6</budgetSource>
<objectSubType>TN</objectSubType>
<sequence>002</sequence>
</cci>
cci
- The mandatory cci for this ProgrammeVersion.version
- The version number of the ProgrammeVersion. Can be null
.workVersion
- The workVersion of the ProgrammeVersion. Can be null
.eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
- in case of errorpublic 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 Programmeversion
- The version number of the Programme. Can be null
.workVersion
- The workVersion of the Programme. Can be null
.locale
- The language of the Contents. Can be null
.eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public SfcSearchResultDTO<SfcProgrammeVersionIpaCbDTO> search(SfcProgrammesQueryDTO query) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
<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>2014</cci>
<!--Optional:-->
<version>1</version>
<!--Optional:-->
<workVersion>0</workVersion>
<!--Optional:-->
<status>OPN</status>
<!--Optional:-->
<currentNode>BE</currentNode>
<!--Optional:-->
<decisionNumber>C(2014)</decisionNumber>
</criteria>
</query>
query
- SfcProgrammesQueryDTOeu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
Copyright © 2024. All rights reserved.