|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Producer
A consumer representation of a WSRP-producer providing WSRP-portlets. Generally a producer can expose up to four WSRP-Interfaces. These interfaces are Markup-, Service Description-,Registration- and Portlet Management Interface. Whereas the Registration- and Portlet Management Interface are optional.
| Method Summary | |
|---|---|
org.exoplatform.services.wsrp.type.ReturnAny |
deregister()
End an existing consumer producer relationship and remove the registration context |
String |
getDescription()
Get a description of the producer. |
String[] |
getDesiredLocales()
|
String |
getID()
Get the ID of the producer. |
String |
getMarkupInterfaceEndpoint()
Get the URL of the producers markup interface. |
String |
getName()
Get the name of the producer. |
org.exoplatform.services.wsrp.type.PortletDescription |
getPortletDescription(String portletHandle)
Get the portlet description of the portlet with the given handle or null if the producer doesn't know an portlet with this handle. |
org.exoplatform.services.wsrp.intf.WSRP_v1_PortletManagement_PortType |
getPortletManagementInterface()
Get the producers portlet management interface. |
String |
getPortletManagementInterfaceEndpoint()
Get the URL of the producers portlet management interface. |
org.exoplatform.services.wsrp.type.RegistrationContext |
getRegistrationContext()
Get the current registration context of the consumer registered at this producer or null if no registration is required or happend so far. |
org.exoplatform.services.wsrp.type.RegistrationData |
getRegistrationData()
Get the registration data the consumer uses to register at this producer. |
org.exoplatform.services.wsrp.intf.WSRP_v1_Registration_PortType |
getRegistrationInterface()
Get the producers registration interface. |
String |
getRegistrationInterfaceEndpoint()
Get the URL of the producers registration interface. |
org.exoplatform.services.wsrp.type.ServiceDescription |
getServiceDescription()
Same as getServiceDescription(false) |
org.exoplatform.services.wsrp.type.ServiceDescription |
getServiceDescription(boolean newRequest)
Get the service description of the producer |
org.exoplatform.services.wsrp.intf.WSRP_v1_ServiceDescription_PortType |
getServiceDescriptionInterface()
Get the producers service description interface. |
String |
getServiceDescriptionInterfaceEndpoint()
Get the URL of the producers service description interface. |
boolean |
isPortletManagementInferfaceSupported()
Check wether the optional portlet management interface is supported |
boolean |
isRegistrationInterfaceSupported()
Check wether the optional registration interface is supported |
boolean |
isRegistrationRequired()
Indicates wether or not the producer requires consumer registration. |
org.exoplatform.services.wsrp.type.RegistrationState |
modifyRegistration(org.exoplatform.services.wsrp.type.RegistrationData registrationData)
Can be used to modify the relationship between consumer and producer. |
org.exoplatform.services.wsrp.type.RegistrationContext |
register(org.exoplatform.services.wsrp.type.RegistrationData registrationData)
Method establishes a relationship between consumer and producer. |
void |
setDescription(String description)
Set a description of the producer. |
void |
setDesiredLocales(String[] desiredLocales)
|
void |
setID(String id)
Set the ID of the producer to he given value. |
void |
setMarkupInterfaceEndpoint(String url)
Set the URL of the producers markup interface. |
void |
setName(String name)
Set the name of the producer. |
void |
setPortletManagementInterfaceEndpoint(String url)
Set the URL of the producers portlet management interface. |
void |
setRegistrationData(org.exoplatform.services.wsrp.type.RegistrationData regData)
Set the registration the consumer uses the register at this producer. |
void |
setRegistrationInterfaceEndpoint(String url)
Set the URL of the producers registration interface. |
void |
setServiceDescriptionInterfaceEndpoint(String url)
Set the URL of the producers service description interface. |
| Method Detail |
|---|
String[] getDesiredLocales()
void setDesiredLocales(String[] desiredLocales)
String getName()
void setName(String name)
name - The name of the producerString getID()
void setID(String id)
id - ID of the producer.String getDescription()
void setDescription(String description)
description - Some descriptive information about the producerString getServiceDescriptionInterfaceEndpoint()
void setServiceDescriptionInterfaceEndpoint(String url)
url - of the service description interface.org.exoplatform.services.wsrp.intf.WSRP_v1_ServiceDescription_PortType getServiceDescriptionInterface()
String getMarkupInterfaceEndpoint()
void setMarkupInterfaceEndpoint(String url)
url - of the markup interface.String getPortletManagementInterfaceEndpoint()
void setPortletManagementInterfaceEndpoint(String url)
url - of the portlet management interface.org.exoplatform.services.wsrp.intf.WSRP_v1_PortletManagement_PortType getPortletManagementInterface()
String getRegistrationInterfaceEndpoint()
void setRegistrationInterfaceEndpoint(String url)
org.exoplatform.services.wsrp.intf.WSRP_v1_Registration_PortType getRegistrationInterface()
boolean isRegistrationRequired()
org.exoplatform.services.wsrp.type.RegistrationData getRegistrationData()
void setRegistrationData(org.exoplatform.services.wsrp.type.RegistrationData regData)
regData - The registration data which is used to register at this
producer
org.exoplatform.services.wsrp.type.ServiceDescription getServiceDescription(boolean newRequest)
throws WSRPException
newRequest - If set to true a new request is send to the producer
otherwise a cached service description is used if available
WSRPException
org.exoplatform.services.wsrp.type.ServiceDescription getServiceDescription()
throws WSRPException
WSRPException
org.exoplatform.services.wsrp.type.PortletDescription getPortletDescription(String portletHandle)
throws WSRPException
portletHandle - The portlet handle of the portlet
WSRPException
org.exoplatform.services.wsrp.type.RegistrationContext getRegistrationContext()
throws WSRPException
WSRPException
org.exoplatform.services.wsrp.type.RegistrationContext register(org.exoplatform.services.wsrp.type.RegistrationData registrationData)
throws WSRPException
registrationData - Data which is used to register the consumer
WSRPException
org.exoplatform.services.wsrp.type.RegistrationState modifyRegistration(org.exoplatform.services.wsrp.type.RegistrationData registrationData)
throws WSRPException
registrationData - The new registration data
WSRPException
org.exoplatform.services.wsrp.type.ReturnAny deregister()
throws WSRPException
WSRPExceptionboolean isRegistrationInterfaceSupported()
boolean isPortletManagementInferfaceSupported()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||