com.liferay.portlet.wsrp
Class URLTemplateComposerImpl

java.lang.Object
  extended by com.liferay.portlet.wsrp.URLTemplateComposerImpl
All Implemented Interfaces:
org.apache.wsrp4j.consumer.URLTemplateComposer

public class URLTemplateComposerImpl
extends java.lang.Object
implements org.apache.wsrp4j.consumer.URLTemplateComposer

View Source

Author:
Michael Young

Method Summary
 java.lang.String createBlockingActionTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createDefaultTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createRenderTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createResourceTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createSecureBlockingActionTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createSecureDefaultTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createSecureRenderTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
 java.lang.String createSecureResourceTemplate(boolean includePortletHandle, boolean includeUserContextKey, boolean includePortletInstanceKey, boolean includeSessionID)
           
static org.apache.wsrp4j.consumer.URLTemplateComposer getInstance()
           
 java.lang.String getNamespacePrefix()
           
 void setURLGenerator(org.apache.wsrp4j.consumer.URLGenerator urlGenerator)
          Sets the url generator to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static org.apache.wsrp4j.consumer.URLTemplateComposer getInstance()

setURLGenerator

public void setURLGenerator(org.apache.wsrp4j.consumer.URLGenerator urlGenerator)
Sets the url generator to be used.

Specified by:
setURLGenerator in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createBlockingActionTemplate

public java.lang.String createBlockingActionTemplate(boolean includePortletHandle,
                                                     boolean includeUserContextKey,
                                                     boolean includePortletInstanceKey,
                                                     boolean includeSessionID)
Specified by:
createBlockingActionTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createSecureBlockingActionTemplate

public java.lang.String createSecureBlockingActionTemplate(boolean includePortletHandle,
                                                           boolean includeUserContextKey,
                                                           boolean includePortletInstanceKey,
                                                           boolean includeSessionID)
Specified by:
createSecureBlockingActionTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createRenderTemplate

public java.lang.String createRenderTemplate(boolean includePortletHandle,
                                             boolean includeUserContextKey,
                                             boolean includePortletInstanceKey,
                                             boolean includeSessionID)
Specified by:
createRenderTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createSecureRenderTemplate

public java.lang.String createSecureRenderTemplate(boolean includePortletHandle,
                                                   boolean includeUserContextKey,
                                                   boolean includePortletInstanceKey,
                                                   boolean includeSessionID)
Specified by:
createSecureRenderTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createResourceTemplate

public java.lang.String createResourceTemplate(boolean includePortletHandle,
                                               boolean includeUserContextKey,
                                               boolean includePortletInstanceKey,
                                               boolean includeSessionID)
Specified by:
createResourceTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createSecureResourceTemplate

public java.lang.String createSecureResourceTemplate(boolean includePortletHandle,
                                                     boolean includeUserContextKey,
                                                     boolean includePortletInstanceKey,
                                                     boolean includeSessionID)
Specified by:
createSecureResourceTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createDefaultTemplate

public java.lang.String createDefaultTemplate(boolean includePortletHandle,
                                              boolean includeUserContextKey,
                                              boolean includePortletInstanceKey,
                                              boolean includeSessionID)
Specified by:
createDefaultTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

createSecureDefaultTemplate

public java.lang.String createSecureDefaultTemplate(boolean includePortletHandle,
                                                    boolean includeUserContextKey,
                                                    boolean includePortletInstanceKey,
                                                    boolean includeSessionID)
Specified by:
createSecureDefaultTemplate in interface org.apache.wsrp4j.consumer.URLTemplateComposer

getNamespacePrefix

public java.lang.String getNamespacePrefix()
Specified by:
getNamespacePrefix in interface org.apache.wsrp4j.consumer.URLTemplateComposer