@SchemaValidation(handler=eu.europa.ec.sfc2014.frontoffice.jws.SchemaValidationErrorHandler.class)
public class CciJwsImpl
extends java.lang.Object
Constructor and Description |
---|
CciJwsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(java.lang.Long cciRequestId,
java.lang.String reason) |
SfcCciRequestDTO |
read(SfcCciDTO cci)
Returns a single CCI Request for the given CCI
As specified by the schema, the cci argument must be provided if not a ServerSideException will be returned.
|
SfcCciRequestDTO |
request(SfcCciCreateDTO cciCreate)
Creates a CCI request
As specified by the schema, the cci argument must be provided if not a ServerSideException will be returned.
|
SfcSearchFullResultDTO<SfcCciRequestDTO> |
search(SfcCciQueryDTO query)
Searches forCCI Request based on the given Criteria
If you want to search only Allocated CCIs you should use the cci search filed.
|
public SfcCciRequestDTO read(SfcCciDTO cci)
In case nothing could be found in the SFC2014 database (or the user doesn't have the right permission) an empty response is returned. Example Call :
<cci>
<year>2014</year>
<targetArea>BE</targetArea>
<leadDg>65</leadDg>
<budgetSource>AM</budgetSource>
<objectSubType>NP</objectSubType>
<sequence>002</sequence>
</cci>
cci
- The mandatory cci .public SfcSearchFullResultDTO<SfcCciRequestDTO> search(SfcCciQueryDTO query)
<query>
<!--Zero or more repetitions:-->
<sort>MODIFICATION_DATE</sort>
<!--Zero or more repetitions:-->
<asc>true</asc>
<asc>true</asc>
<!--Optional:-->
<criteria>
<!--Optional:-->
<budgetSourceCode>?</budgetSourceCode>
<!--Optional:-->
<cci>2015</cci>
<!--Optional:-->
<dgCode>05</dgCode>
<!--Optional:-->
<myRequestsOnly>false</myRequestsOnly>
<!--Optional:-->
<objsubtypCode>?</objsubtypCode>
<!--Optional:-->
<status>?</status>
<!--Optional:-->
<targetAreaCode>?</targetAreaCode>
<!--Optional:-->
<year>?</year>
</criteria>
<!--Optional:-->
<resultRange>
<startIndex>0</startIndex>
<endIndex>99</endIndex>
</resultRange>
</query>
query
- SfcCciQueryDTOpublic SfcCciRequestDTO request(SfcCciCreateDTO cciCreate) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
Example Call :
<cci>
<year>2014</year>
<targetArea>be</targetArea>
<leadDg>65</leadDg>
<budgetSource>is</budgetSource>
<objectSubType>NP</objectSubType>
<title>my cci title</title>
<additionalEmail></additionalEmail>
<comment></comment>
</cci>
cci
- The created cci request .eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
public void cancel(java.lang.Long cciRequestId, java.lang.String reason) throws eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
eu.europa.ec.sfc2014.core.model.exceptions.SfcFaultException
Copyright © 2024. All rights reserved.