01: package com.sun.portal.wsrp.producer.servicedescription;
02:
03: import java.util.Set;
04:
05: import com.sun.portal.wsrp.common.stubs.InvalidRegistrationFault;
06: import com.sun.portal.wsrp.common.stubs.OperationFailedFault;
07: import com.sun.portal.wsrp.common.stubs.RegistrationContext;
08: import com.sun.portal.wsrp.common.stubs.ServiceDescription;
09: import com.sun.portal.wsrp.common.stubs.GetServiceDescription;
10: import com.sun.portal.wsrp.common.stubs.PropertyDescription;
11: import com.sun.portal.wsrp.common.stubs.PortletDescriptionResponse;
12:
13: import com.sun.portal.wsrp.producer.ProducerException;
14:
15: public interface ServiceDescriptionManager {
16: public ServiceDescription getServiceDescription(
17: GetServiceDescription getServiceDescription)
18: throws OperationFailedFault;
19:
20: public ServiceDescription getServiceDescription(
21: GetServiceDescription getServiceDescription, boolean minimal)
22: throws OperationFailedFault;
23:
24: public PortletDescriptionResponse getPortletDescription(
25: String portletHandle, String[] desiredLocales)
26: throws ProducerException;
27:
28: public Set getOfferedPortletNames() throws ProducerException;
29:
30: public void setOfferedPortletNames(Set names)
31: throws ProducerException;
32:
33: public void addRegistrationPropertyDescription(
34: PropertyDescription pd) throws ProducerException;
35:
36: public void removeRegistrationPropertyDescriptions(Set names)
37: throws ProducerException;
38: }
|