1 | |
package org.kuali.student.r2.core.collection.service; |
2 | |
|
3 | |
import javax.jws.WebParam; |
4 | |
import javax.jws.WebService; |
5 | |
import javax.jws.soap.SOAPBinding; |
6 | |
|
7 | |
import org.kuali.student.r2.common.dto.StatusInfo; |
8 | |
import org.kuali.student.r2.common.util.constants.CollectionManagerServiceConstants; |
9 | |
import org.kuali.student.r2.common.util.constants.ExemptionServiceConstants; |
10 | |
import org.kuali.student.r2.core.collection.dto.EntitiesCollectionInfo; |
11 | |
import org.kuali.student.r2.core.collection.dto.CollectionEntryInfo; |
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
@WebService(name = "CollectionManagerService", targetNamespace = CollectionManagerServiceConstants.NAMESPACE) |
22 | |
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) |
23 | |
|
24 | |
|
25 | |
public interface EntitiesCollectionService { |
26 | |
|
27 | |
public StatusInfo addEntryToCollection(String collectionEntryId, String collectionId); |
28 | |
public StatusInfo removeFromCollection(String collectionEntryId); |
29 | |
public CollectionEntryInfo getHighestRankedEntry(); |
30 | |
public CollectionEntryInfo createEntry(); |
31 | |
public StatusInfo deleteEntry(String collectionEntryId); |
32 | |
public EntitiesCollectionInfo createCollection(EntitiesCollectionInfo abstractEntitiesCollection); |
33 | |
public StatusInfo deleteCollection(String collectionId); |
34 | |
|
35 | |
|
36 | |
} |