public class PortletHelper extends Object
| Constructor and Description |
|---|
PortletHelper() |
| Modifier and Type | Method and Description |
|---|---|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
createGoogleGadgetPortletInstance(String parentPath,
String name,
String script,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
Create a google gadget node
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition |
createGWTJahiaPortletDefinition(ApplicationBean appBean,
EntryPointDefinition entryPointDefinition,
Locale locale,
Locale uiLocale)
Create a GWTJahiaPortletDefinition object from an applicationBean and an entryPointDefinition objects
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition |
createJahiaGWTPortletDefinitionByName(String appName,
String entryPointName,
Locale locale,
JahiaUser user,
String workspaceName,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
createPortletInstance(String parentPath,
org.jahia.ajax.gwt.client.data.node.GWTJahiaNewPortletInstance gwtJahiaNewPortletInstance,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
Create a GWTJahiaNode object that represents a portlet instance.
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
createPortletInstance(String parentPath,
String instanceName,
String appName,
String entryPointName,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> gwtJahiaNodeProperties,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
Create a portlet instance
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
createRSSPortletInstance(String parentPath,
String name,
String url,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
Create an instance of an RSS portlet
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition> |
searchPortlets(String match,
Locale locale,
JCRSessionWrapper session,
Locale uiLocale) |
void |
setAcl(ACLHelper acl) |
void |
setApplicationsManager(ApplicationsManagerService applicationsManager) |
void |
setContentManager(ContentManagerHelper contentManager) |
void |
setNavigation(NavigationHelper navigation) |
public void setApplicationsManager(ApplicationsManagerService applicationsManager)
public void setNavigation(NavigationHelper navigation)
public void setAcl(ACLHelper acl)
public void setContentManager(ContentManagerHelper contentManager)
public List<org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition> searchPortlets(String match, Locale locale, JCRSessionWrapper session, Locale uiLocale)
public org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition createGWTJahiaPortletDefinition(ApplicationBean appBean, EntryPointDefinition entryPointDefinition, Locale locale, Locale uiLocale) throws JahiaException
appBean - the application beanentryPointDefinition - the entry point definitionlocale - JahiaException - sthg bad happenedpublic org.jahia.ajax.gwt.client.data.node.GWTJahiaNode createPortletInstance(String parentPath, org.jahia.ajax.gwt.client.data.node.GWTJahiaNewPortletInstance gwtJahiaNewPortletInstance, JCRSessionWrapper currentUserSession, Locale uiLocale, String httpSessionID) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
parentPath - where to create the nodegwtJahiaNewPortletInstance - the portlet instancecurrentUserSession - uiLocale - org.jahia.ajax.gwt.client.service.GWTJahiaServiceException - sthg bad happenedpublic org.jahia.ajax.gwt.client.data.node.GWTJahiaNode createPortletInstance(String parentPath, String instanceName, String appName, String entryPointName, List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> gwtJahiaNodeProperties, JCRSiteNode site, JCRSessionWrapper currentUserSession, Locale uiLocale, String httpSessionID) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
parentPath - instanceName - appName - entryPointName - gwtJahiaNodeProperties - site - currentUserSession - org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic org.jahia.ajax.gwt.client.data.node.GWTJahiaNode createRSSPortletInstance(String parentPath, String name, String url, JCRSiteNode site, JCRSessionWrapper currentUserSession, Locale uiLocale, String httpSessionID) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
parentPath - name - url - site - currentUserSession - org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic org.jahia.ajax.gwt.client.data.node.GWTJahiaNode createGoogleGadgetPortletInstance(String parentPath, String name, String script, JCRSiteNode site, JCRSessionWrapper currentUserSession, Locale uiLocale, String httpSessionID) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
parentPath - name - script - site - currentUserSession - org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition createJahiaGWTPortletDefinitionByName(String appName, String entryPointName, Locale locale, JahiaUser user, String workspaceName, Locale uiLocale)
appName - entryPointName - locale - user - workspaceName - Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.