1 package org.exoplatform.services.wsrp.consumer; 2 3 import org.exoplatform.services.wsrp.exceptions.WSRPException; 4 import org.exoplatform.services.wsrp.intf.WSRP_v1_PortletManagement_PortType; 5 import org.exoplatform.services.wsrp.intf.WSRP_v1_Registration_PortType; 6 import org.exoplatform.services.wsrp.intf.WSRP_v1_ServiceDescription_PortType; 7 import org.exoplatform.services.wsrp.type.*; 8 9 18 public interface Producer { 19 20 public String [] getDesiredLocales(); 21 public void setDesiredLocales(String [] desiredLocales); 22 23 28 public String getName(); 29 30 35 public void setName(String name); 36 37 42 public String getID(); 43 44 49 public void setID(String id); 50 51 56 public String getDescription(); 57 58 63 public void setDescription(String description); 64 65 70 public String getServiceDescriptionInterfaceEndpoint(); 71 72 77 public void setServiceDescriptionInterfaceEndpoint(String url); 78 79 84 public WSRP_v1_ServiceDescription_PortType getServiceDescriptionInterface(); 85 86 91 public String getMarkupInterfaceEndpoint(); 92 93 98 public void setMarkupInterfaceEndpoint(String url); 99 100 105 public String getPortletManagementInterfaceEndpoint(); 106 107 112 public void setPortletManagementInterfaceEndpoint(String url); 113 114 119 public WSRP_v1_PortletManagement_PortType getPortletManagementInterface(); 120 121 126 public String getRegistrationInterfaceEndpoint(); 127 128 131 public void setRegistrationInterfaceEndpoint(String url); 132 133 138 public WSRP_v1_Registration_PortType getRegistrationInterface(); 139 140 145 public boolean isRegistrationRequired(); 146 147 152 public RegistrationData getRegistrationData(); 153 154 159 public void setRegistrationData(RegistrationData regData); 160 161 168 public ServiceDescription getServiceDescription(boolean newRequest) throws WSRPException; 169 170 173 public ServiceDescription getServiceDescription() throws WSRPException; 174 175 182 public PortletDescription getPortletDescription(String portletHandle) throws WSRPException; 183 184 190 public RegistrationContext getRegistrationContext() throws WSRPException; 191 192 199 public RegistrationContext register(RegistrationData registrationData) throws WSRPException; 200 201 208 public RegistrationState modifyRegistration(RegistrationData registrationData) throws WSRPException; 209 210 215 public ReturnAny deregister() throws WSRPException; 216 217 222 public boolean isRegistrationInterfaceSupported(); 223 224 229 public boolean isPortletManagementInferfaceSupported(); 230 231 } 232 233 | Popular Tags |