|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConsumerCapabilities
The consumer capababilities provides access to consumer related information.
| Method Summary | |
|---|---|
String[] |
getCharacterEncodingSet()
Get the character sets the consumer wants the remote portlet to use for encoding the markup. |
String |
getConsumerAgent()
Get the name of the consumer |
String[] |
getMimeTypes()
Get an array of mime types which are supported by the consumer. |
org.exoplatform.services.wsrp.type.StateChange |
getPortletStateChange()
Returns a flag which is used to indicate the producer wether or not the processing of portlets is allowed to modify the portlet state. |
String[] |
getSupportedLocales()
Get the locales which are supported by the consumer. |
String[] |
getSupportedModes()
Get the portlet modes the consumer is willing to manage. |
String[] |
getSupportedWindowStates()
Get the window states the consumer is willing to manage. |
String |
getUserAuthentication()
Get the method which is used by the consumer to authenticate its users. |
void |
setCharacterEncodingSet(String[] charEncoding)
Set the character set the consumer wants the remote portlet to use for encoding the markup. |
void |
setConsumerAgent(String name)
Set the name of the consumer |
void |
setMimeTypes(String[] mimeTypes)
Set the mime types the consumer supports The order in the array defines the order of preference of the consumer. |
void |
setPortletStateChange(org.exoplatform.services.wsrp.type.StateChange portletStateChange)
Set a flag which is used to indicate the producer wether or not the processing of portlets is allowed to modify the portlet state. |
void |
setSupportedLocales(String[] locales)
Set the locales which are supported by the consumer. |
void |
setSupportedModes(String[] modes)
Set the portlet modes which are supported by the consumer. |
void |
setSupportedWindowStates(String[] states)
Set the window states which are supported by the consumer. |
void |
setUserAuthentication(String authMethod)
Set the method of end user authentication used by the consumer.. |
| Method Detail |
|---|
String getConsumerAgent()
String getUserAuthentication()
String[] getSupportedLocales()
String[] getSupportedModes()
String[] getSupportedWindowStates()
org.exoplatform.services.wsrp.type.StateChange getPortletStateChange()
String[] getCharacterEncodingSet()
String[] getMimeTypes()
void setConsumerAgent(String name)
name - The new name of the consumervoid setUserAuthentication(String authMethod)
void setMimeTypes(String[] mimeTypes)
void setSupportedLocales(String[] locales)
locales - Array of string representations of supported localesvoid setSupportedModes(String[] modes)
modes - Array of string representations of portlet modesvoid setSupportedWindowStates(String[] states)
void setPortletStateChange(org.exoplatform.services.wsrp.type.StateChange portletStateChange)
portletStateChange - A flag with one of the following values:
StateChange.OK, StateChange.Clone, StateChange.Faultvoid setCharacterEncodingSet(String[] charEncoding)
charEncoding - Array of string representations of the character
encoding.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||