|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp.consumer.impl.ConsumerEnvironmentImpl
public class ConsumerEnvironmentImpl
| Constructor Summary | |
|---|---|
ConsumerEnvironmentImpl(PortletRegistry portletRegistry,
PortletDriverRegistry portletDriverRegistry,
ProducerRegistry producerRegistry,
UserRegistry userRegistry,
URLTemplateComposer urlTemplateComposer,
URLRewriter urlRewriter)
|
|
| 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. |
PortletDriverRegistry |
getPortletDriverRegistry()
Get the portlet driver registry of the consumer. |
PortletRegistry |
getPortletRegistry()
Get the portlet registry of 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. |
ProducerRegistry |
getProducerRegistry()
Get the producer registry of the consumer. |
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. |
URLTemplateComposer |
getTemplateComposer()
Get the url template composer for template proccessing |
URLRewriter |
getURLRewriter()
Get the url rewriter for consumer url-rewriting |
String |
getUserAuthentication()
Get the method which is used by the consumer to authenticate its users. |
UserRegistry |
getUserRegistry()
Get the user registry of the consumer. |
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.. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumerEnvironmentImpl(PortletRegistry portletRegistry,
PortletDriverRegistry portletDriverRegistry,
ProducerRegistry producerRegistry,
UserRegistry userRegistry,
URLTemplateComposer urlTemplateComposer,
URLRewriter urlRewriter)
| Method Detail |
|---|
public PortletRegistry getPortletRegistry()
Consumer
getPortletRegistry in interface Consumerpublic PortletDriverRegistry getPortletDriverRegistry()
Consumer
getPortletDriverRegistry in interface Consumerpublic ProducerRegistry getProducerRegistry()
Consumer
getProducerRegistry in interface Consumerpublic UserRegistry getUserRegistry()
Consumer
getUserRegistry in interface Consumerpublic URLTemplateComposer getTemplateComposer()
Consumer
getTemplateComposer in interface Consumerpublic URLRewriter getURLRewriter()
Consumer
getURLRewriter in interface Consumerpublic String getConsumerAgent()
ConsumerCapabilities
getConsumerAgent in interface ConsumerCapabilitiespublic void setConsumerAgent(String name)
ConsumerCapabilities
setConsumerAgent in interface ConsumerCapabilitiesname - The new name of the consumerpublic String getUserAuthentication()
ConsumerCapabilities
getUserAuthentication in interface ConsumerCapabilitiespublic void setUserAuthentication(String authMethod)
ConsumerCapabilities
setUserAuthentication in interface ConsumerCapabilitiespublic String[] getSupportedLocales()
ConsumerCapabilities
getSupportedLocales in interface ConsumerCapabilitiespublic void setSupportedLocales(String[] locales)
ConsumerCapabilities
setSupportedLocales in interface ConsumerCapabilitieslocales - Array of string representations of supported localespublic String[] getSupportedModes()
ConsumerCapabilities
getSupportedModes in interface ConsumerCapabilitiespublic void setSupportedModes(String[] modes)
ConsumerCapabilities
setSupportedModes in interface ConsumerCapabilitiesmodes - Array of string representations of portlet modespublic String[] getSupportedWindowStates()
ConsumerCapabilities
getSupportedWindowStates in interface ConsumerCapabilitiespublic void setSupportedWindowStates(String[] states)
ConsumerCapabilities
setSupportedWindowStates in interface ConsumerCapabilitiespublic org.exoplatform.services.wsrp.type.StateChange getPortletStateChange()
ConsumerCapabilities
getPortletStateChange in interface ConsumerCapabilitiespublic void setPortletStateChange(org.exoplatform.services.wsrp.type.StateChange portletStateChange)
ConsumerCapabilities
setPortletStateChange in interface ConsumerCapabilitiesportletStateChange - A flag with one of the following values:
StateChange.OK, StateChange.Clone, StateChange.Faultpublic String[] getCharacterEncodingSet()
ConsumerCapabilities
getCharacterEncodingSet in interface ConsumerCapabilitiespublic void setCharacterEncodingSet(String[] charEncoding)
ConsumerCapabilities
setCharacterEncodingSet in interface ConsumerCapabilitiescharEncoding - Array of string representations of the character
encoding.public String[] getMimeTypes()
ConsumerCapabilities
getMimeTypes in interface ConsumerCapabilitiespublic void setMimeTypes(String[] mimeTypes)
ConsumerCapabilities
setMimeTypes in interface ConsumerCapabilities
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||