| Modifier and Type | Method and Description |
|---|---|
protected JCRSessionWrapper |
JahiaRemoteService.retrieveCurrentSession()
Retrieve current session
|
protected JCRSessionWrapper |
JahiaRemoteService.retrieveCurrentSession(Locale locale)
Retrieve current session by locale
|
protected JCRSessionWrapper |
JahiaRemoteService.retrieveCurrentSession(String workspace,
Locale locale,
boolean useSiteFallbackLanguage)
Retrieve current session by workspace
|
| Modifier and Type | Method and Description |
|---|---|
void |
VersioningHelper.activateVersioning(List<String> pathes,
JCRSessionWrapper currentUserSession)
Activate versionning
|
void |
ModuleHelper.addToSourceControl(String moduleId,
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode node,
JCRSessionWrapper session) |
void |
WorkflowHelper.assignAndCompleteTask(org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowTask task,
org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowOutcome outcome,
JCRSessionWrapper session,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> properties) |
boolean |
ContentManagerHelper.checkExistence(String path,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ModuleHelper.checkoutModule(String moduleId,
String scmURI,
String scmType,
String branchOrTag,
String sources,
JCRSessionWrapper session) |
void |
ContentManagerHelper.checkWriteable(List<String> paths,
JahiaUser user,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
ContentManagerHelper.clearAllLocks(String path,
boolean processChildNodes,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
ModuleHelper.compileAndDeploy(String moduleId,
JCRSessionWrapper session) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
ContentManagerHelper.copy(List<String> pathsToCopy,
String destinationPath,
String newName,
boolean moveOnTop,
boolean cut,
boolean reference,
boolean allLanguages,
JCRSessionWrapper currentUserSession) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
ContentManagerHelper.copy(List<String> pathsToCopy,
String destinationPath,
String newName,
boolean moveOnTop,
boolean cut,
boolean reference,
List<String> childNodeTypesToSkip,
boolean allLanguages,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ContentManagerHelper.createFolder(String parentPath,
String name,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
PortletHelper.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.GWTJahiaNode |
ModuleHelper.createModule(String moduleName,
String artifactId,
String groupId,
String siteType,
String sources,
JCRSessionWrapper session) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ContentManagerHelper.createNode(String parentPath,
String name,
String nodeType,
List<String> mixin,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> props,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
Map<String,String> parentNodesType,
boolean forceCreation)
Deprecated.
: This method is used only to maintain compatibility with existing modules. Do not use it !
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ContentManagerHelper.createNode(String parentPath,
String name,
String nodeType,
List<String> mixin,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> props,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
Map<String,String> parentNodesType,
boolean forceCreation,
String httpSessionID) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
PortletHelper.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 |
PortletHelper.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
|
javax.jcr.query.Query |
SearchHelper.createQuery(String searchString,
JCRSessionWrapper session)
Creates the
Query instance from the provided search criteria. |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
PortletHelper.createRSSPortletInstance(String parentPath,
String name,
String url,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
Create an instance of an RSS portlet
|
void |
ImageHelper.crop(String path,
String target,
int top,
int left,
int width,
int height,
boolean forceReplace,
JCRSessionWrapper session,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ContentManagerHelper.deletePaths(List<String> paths,
boolean permanentlyDelete,
String comment,
JahiaUser user,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
ContentManagerHelper.deleteReferences(String path,
JahiaUser user,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
ModuleHelper.deployModule(String moduleName,
String sitePath,
JCRSessionWrapper currentUserSession) |
String |
NavigationHelper.getAbsolutePath(String path,
JCRSessionWrapper currentUserSession,
javax.servlet.http.HttpServletRequest request,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.acl.GWTJahiaNodeACL |
ContentManagerHelper.getACL(String path,
boolean newAcl,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
Map<String,org.jahia.ajax.gwt.client.data.publication.GWTJahiaPublicationInfo> |
PublicationHelper.getAggregatedPublicationInfosByLanguage(JCRNodeWrapper node,
Set<String> languages,
JCRSessionWrapper currentUserSession,
boolean includeReferences,
boolean includeSubNodes)
Get the publication status information for a particular path.
|
List<org.jahia.ajax.gwt.client.data.GWTJahiaContentHistoryEntry> |
ContentManagerHelper.getContentHistory(JCRSessionWrapper session,
String nodeIdentifier,
int offset,
int limit) |
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeType> |
ContentDefinitionHelper.getContentTypesAsTree(List<String> nodeTypes,
List<String> excludedNodeTypes,
boolean includeSubTypes,
JCRSiteNode site,
Locale uiLocale,
JCRSessionWrapper session)
Returns a tree of node types and sub-types with name and label populated that are the
sub-types of the specified node types.
|
List<org.jahia.ajax.gwt.client.data.publication.GWTJahiaPublicationInfo> |
PublicationHelper.getFullPublicationInfos(List<String> uuids,
Set<String> languages,
JCRSessionWrapper currentUserSession,
boolean allSubTree,
boolean checkForUnpublication) |
Map<String,List<org.jahia.ajax.gwt.client.data.publication.GWTJahiaPublicationInfo>> |
PublicationHelper.getFullPublicationInfosByLanguage(List<String> uuids,
Set<String> languages,
JCRSessionWrapper currentUserSession,
boolean allSubTree) |
org.jahia.ajax.gwt.client.data.toolbar.GWTEditConfiguration |
UIConfigHelper.getGWTEditConfiguration(String name,
String contextPath,
JahiaUser jahiaUser,
Locale locale,
Locale uiLocale,
javax.servlet.http.HttpServletRequest request,
JCRSessionWrapper session)
Get edit configuration
|
org.jahia.ajax.gwt.client.data.GWTModuleReleaseInfo |
ModuleHelper.getModuleDistributionInfo(String moduleId,
JCRSessionWrapper session) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
NavigationHelper.getNode(String path,
List<String> fields,
JCRSessionWrapper currentUserSession,
Locale uiLocale)
Return a node if existing exception otherwise
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
NavigationHelper.getNodesByCategory(String path,
JCRSessionWrapper currentUserSession)
Get nodes by category
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
NavigationHelper.getParentNode(String path,
JCRSessionWrapper currentUserSession)
Return a node if existing exception otherwise
|
Map<String,org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> |
PropertiesHelper.getProperties(String path,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.GWTRenderResult |
TemplateHelper.getRenderedContent(String path,
String template,
String configuration,
Map<String,List<String>> contextParams,
boolean editMode,
String configName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String channelIdentifier,
String channelVariant)
Get rendered content
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
SearchHelper.getSavedSearch(JCRSiteNode site,
JCRSessionWrapper currentUserSession)
Get saved search
|
List<org.jahia.ajax.gwt.client.data.seo.GWTJahiaUrlMapping> |
SeoHelper.getUrlMappings(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
String locale,
JCRSessionWrapper session)
Returns a list of URL mapping for the specified node and language.
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNodeUsage> |
NavigationHelper.getUsages(List<String> paths,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
List<org.jahia.ajax.gwt.client.data.workflow.history.GWTJahiaWorkflowHistoryItem> |
WorkflowHelper.getWorkflowHistoryProcesses(String nodeId,
JCRSessionWrapper session,
Locale uiLocale) |
org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowInfo |
WorkflowHelper.getWorkflowInfo(String path,
boolean includeActiveWorfklows,
JCRSessionWrapper session,
Locale locale,
Locale uiLocale) |
Map<org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowType,List<org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowDefinition>> |
WorkflowHelper.getWorkflowRules(String path,
JCRSessionWrapper session,
Locale uiLocale) |
void |
ContentManagerHelper.importContent(String parentPath,
String fileKey,
boolean replaceContent,
JCRSessionWrapper session,
Locale uiLocale,
String httpSessionID) |
void |
ContentManagerHelper.importContent(String parentPath,
String fileKey,
JCRSessionWrapper session,
Locale uiLocale,
String httpSessionID) |
com.extjs.gxt.ui.client.data.RpcMap |
StubHelper.initializeCodeEditor(String path,
boolean isNew,
String nodeTypeName,
String fileType,
String siteName,
Locale uiLocale,
JCRSessionWrapper session)
Initialize a map with all data needed to render the code editor.
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
NavigationHelper.ls(String parentPath,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> nameFilters,
List<String> fields,
boolean checkSubChild,
boolean displayHiddenTypes,
List<String> hiddenTypes,
String hiddenRegex,
JCRSessionWrapper currentUserSession,
boolean showOnlyNodesWithTemplates,
Locale uiLocale) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
NavigationHelper.ls(String gwtParentPath,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> nameFilters,
List<String> fields,
JCRSessionWrapper currentUserSession,
Locale uiLocale)
like ls unix command on the folder
|
void |
ContentManagerHelper.markConflictAsResolved(String moduleId,
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode node,
JCRSessionWrapper session) |
void |
ContentManagerHelper.move(String sourcePath,
String targetPath,
JCRSessionWrapper currentUserSession) |
void |
ContentManagerHelper.moveAtEnd(String sourcePath,
String targetPath,
JCRSessionWrapper currentUserSession) |
void |
ContentManagerHelper.moveOnTopOf(String sourcePath,
String targetPath,
JCRSessionWrapper currentUserSession) |
void |
PublicationHelper.publish(List<String> uuids,
JCRSessionWrapper session,
JCRSiteNode site,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> properties,
List<String> comments)
Publish a list of nodes into the live workspace.
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ModuleHelper.releaseModule(String moduleId,
org.jahia.ajax.gwt.client.data.GWTModuleReleaseInfo gwtReleaseInfo,
JCRSessionWrapper session) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ContentManagerHelper.rename(String path,
String newName,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
ImageHelper.resizeImage(String path,
String target,
int width,
int height,
boolean forceReplace,
JCRSessionWrapper session,
Locale uiLocale) |
void |
VersioningHelper.restoreVersionLabel(String nodeUuid,
Date versionDate,
String versionLabel,
boolean allSubTree,
JCRSessionWrapper currentUserSession) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
NavigationHelper.retrieveRoot(List<String> paths,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> filters,
List<String> fields,
JCRSiteNode site,
Locale uiLocale,
JCRSessionWrapper currentUserSession,
boolean checkSubChild,
boolean displayHiddenTypes,
List<String> hiddenTypes,
String hiddenRegex) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
NavigationHelper.retrieveRoot(List<String> paths,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> filters,
List<String> fields,
List<String> selectedNodes,
List<String> openPaths,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
NavigationHelper.retrieveRoot(List<String> paths,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> filters,
List<String> fields,
List<String> selectedNodes,
List<String> openPaths,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
boolean checkSubChild,
boolean displayHiddenTypes,
List<String> hiddenTypes,
String hiddenRegex) |
void |
ImageHelper.rotateImage(String path,
String target,
boolean clockwise,
boolean forceReplace,
JCRSessionWrapper session,
Locale uiLocale) |
boolean |
ModuleHelper.saveAndCommitModule(String moduleId,
String message,
JCRSessionWrapper session) |
void |
PropertiesHelper.saveProperties(List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> nodes,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> newProps,
Set<String> removedTypes,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
A batch-capable save properties method.
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
SearchHelper.saveSearch(org.jahia.ajax.gwt.client.data.GWTJahiaSearchQuery search,
String path,
String name,
JCRSessionWrapper session,
Locale uiLocale)
Save search
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
SearchHelper.saveSearch(String searchString,
String name,
JCRSiteNode site,
JCRSessionWrapper currentUserSession,
Locale uiLocale)
Save search
|
void |
SeoHelper.saveUrlMappings(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
Map<String,List<org.jahia.ajax.gwt.client.data.seo.GWTJahiaUrlMapping>> mappings,
JCRSessionWrapper session) |
void |
ContentManagerHelper.saveVisibilityConditions(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode node,
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> conditions,
JCRSessionWrapper session,
Locale uiLocale,
String httpSessionID) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
SearchHelper.search(org.jahia.ajax.gwt.client.data.GWTJahiaSearchQuery search,
int limit,
int offset,
boolean showOnlyNodesWithTemplates,
JCRSiteNode site,
JCRSessionWrapper currentUserSession)
Search by Serach bean (used by the advanced search)
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
SearchHelper.search(String searchString,
int limit,
JCRSiteNode site,
JCRSessionWrapper currentUserSession)
Search for searchString in the name f the node
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
SearchHelper.search(String searchString,
int limit,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> filters,
JCRSiteNode site,
JCRSessionWrapper currentUserSession)
Search for searchString and filters in the name f the node
|
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaPortletDefinition> |
PortletHelper.searchPortlets(String match,
Locale locale,
JCRSessionWrapper session,
Locale uiLocale) |
List<org.jahia.ajax.gwt.client.data.node.GWTJahiaNode> |
SearchHelper.searchSQL(String searchString,
int limit,
int offset,
List<String> nodeTypes,
List<String> mimeTypes,
List<String> filters,
List<String> fields,
JCRSessionWrapper currentUserSession)
Search for searchString and filters in the name f the node
|
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ModuleHelper.sendToSourceControl(String moduleName,
String scmURI,
String scmType,
JCRSessionWrapper session) |
org.jahia.ajax.gwt.client.data.node.GWTJahiaNode |
ContentManagerHelper.sendToSourceControl(String moduleId,
String scmURI,
String scmType,
JCRSessionWrapper session) |
void |
ContentManagerHelper.setACL(String uuid,
org.jahia.ajax.gwt.client.data.acl.GWTJahiaNodeACL acl,
JCRSessionWrapper currentUserSession) |
void |
ContentManagerHelper.setLock(List<String> paths,
boolean toLock,
JCRSessionWrapper currentUserSession) |
void |
WorkflowHelper.startWorkflow(List<String> uuids,
org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowDefinition def,
JCRSessionWrapper session,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> properties,
List<String> comments,
Map<String,Object> args) |
void |
WorkflowHelper.startWorkflow(String path,
org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowDefinition def,
JCRSessionWrapper session,
List<org.jahia.ajax.gwt.client.data.definition.GWTJahiaNodeProperty> properties,
List<String> comments) |
static boolean |
GWTResourceBundleUtils.store(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
org.jahia.ajax.gwt.client.data.GWTResourceBundle bundle,
JCRSessionWrapper session) |
void |
ContentManagerHelper.undeletePaths(List<String> paths,
JahiaUser user,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
void |
ZipHelper.unzip(List<String> paths,
boolean removeArchive,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
boolean |
ZipHelper.unzipFile(JCRNodeWrapper zipfile,
JCRNodeWrapper destination,
JCRSessionWrapper currentUserSession) |
void |
ModuleHelper.updateDistributionServerForModule(String module,
String repositoryId,
String repositoryUrl,
JCRSessionWrapper session)
Updates the module's pom.xml file with the specified distribution server details.
|
void |
ModuleHelper.updateForgeUrlForModule(String module,
String forgeUrl,
JCRSessionWrapper session,
String username,
String password)
Updates the module's pom.xml file with the specified Private App Store server details.
|
String |
ModuleHelper.updateModule(String moduleId,
JCRSessionWrapper session) |
void |
WorkflowHelper.updateWorkflowRules(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
Set<org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowDefinition> actives,
JCRSessionWrapper session) |
void |
ContentManagerHelper.uploadedFile(String location,
String tmpName,
int operation,
String newName,
JCRSessionWrapper currentUserSession,
Locale uiLocale,
String httpSessionID)
Upload file depending on operation (add version, auto-rename or just upload)
|
void |
PublicationHelper.validateConnection(Map<String,String> props,
JCRSessionWrapper jcrSession,
Locale uiLocale) |
void |
ZipHelper.zip(List<String> paths,
String archiveName,
JCRSessionWrapper currentUserSession,
Locale uiLocale) |
| Modifier and Type | Method and Description |
|---|---|
abstract ActionResult |
Action.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultPutAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
SystemAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultDeleteAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
ActionResult |
DefaultPostAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
abstract ActionResult |
SystemAction.doExecuteAsSystem(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
JCRSessionWrapper systemSession,
Resource resource,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
| Modifier and Type | Field and Description |
|---|---|
protected JCRSessionWrapper |
JCRItemWrapperImpl.session |
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<Map<String,Map<String,JCRSessionWrapper>>> |
JCRSessionFactory.systemSession |
protected ThreadLocal<Map<String,Map<String,JCRSessionWrapper>>> |
JCRSessionFactory.userSession |
| Modifier and Type | Method and Description |
|---|---|
JCRSessionWrapper |
JCRSessionFactory.getCurrentSession(String workspace,
Locale locale,
Locale fallbackLocale,
boolean system) |
JCRSessionWrapper |
JCRSessionFactory.getCurrentSystemSession(String workspace,
Locale locale,
Locale fallbackLocale) |
JCRSessionWrapper |
JCRSessionFactory.getCurrentUserSession() |
JCRSessionWrapper |
JCRSessionFactory.getCurrentUserSession(String workspace) |
JCRSessionWrapper |
JCRSessionFactory.getCurrentUserSession(String workspace,
Locale locale) |
JCRSessionWrapper |
JCRSessionFactory.getCurrentUserSession(String workspace,
Locale locale,
Locale fallbackLocale) |
JCRSessionWrapper |
PublicationEvent.getDestinationSession() |
JCRSessionWrapper |
JCRWorkspaceWrapper.getSession() |
JCRSessionWrapper |
JCRItemWrapperImpl.getSession() |
JCRSessionWrapper |
JCRItemWrapper.getSession() |
JCRSessionWrapper |
JCREventIterator.getSession() |
JCRSessionWrapper |
PublicationEvent.getSourceSession() |
protected JCRSessionWrapper |
JCRSessionFactory.getSystemSession() |
JCRSessionWrapper |
JCRStoreProvider.getSystemSession() |
JCRSessionWrapper |
JCRStoreProvider.getSystemSession(String workspace) |
protected JCRSessionWrapper |
JCRSessionFactory.getSystemSession(String username,
String realm,
String workspace,
Locale locale) |
protected JCRSessionWrapper |
JCRSessionFactory.getUserSession(String username,
String realm,
String workspace,
Locale locale) |
JCRSessionWrapper |
JCRSessionFactory.login() |
JCRSessionWrapper |
JCRSessionFactory.login(javax.jcr.Credentials credentials) |
JCRSessionWrapper |
JCRSessionFactory.login(javax.jcr.Credentials credentials,
String workspace) |
JCRSessionWrapper |
JCRSessionFactory.login(String workspace) |
| Modifier and Type | Method and Description |
|---|---|
static Map<UUID,JCRSessionWrapper> |
JCRSessionWrapper.getActiveSessionsObjects() |
| Modifier and Type | Method and Description |
|---|---|
static void |
JCRObservationManager.consume(List<JCRObservationManager.EventWrapper> list,
JCRSessionWrapper session,
int operationType,
int lastOperationType) |
T |
JCRCallback.doInJCR(JCRSessionWrapper session)
Called by
JCRTemplate within an active JCR
javax.jcr.JCRSession. |
static <X> X |
JCRObservationManager.doWithOperationType(JCRSessionWrapper session,
int operationType,
JCRCallback<X> callback) |
static <X> X |
JCRObservationManager.doWorkspaceWriteCall(JCRSessionWrapper session,
int operationType,
JCRCallback<X> callback) |
ComplexPublicationService.AggregatedPublicationInfo |
ComplexPublicationService.getAggregatedPublicationInfo(String nodeIdentifier,
String language,
boolean subNodes,
boolean references,
JCRSessionWrapper sourceSession)
Get aggregated publication info about a JCR node.
|
ComplexPublicationService.AggregatedPublicationInfo |
ComplexPublicationServiceImpl.getAggregatedPublicationInfo(String nodeIdentifier,
String language,
boolean subNodes,
boolean references,
JCRSessionWrapper sourceSession) |
JCRNodeWrapper |
JCRContentUtils.getDefaultUserFolder(JCRSessionWrapper session,
String path) |
JCRNodeWrapper |
JCRContentUtils.getDefaultUserFolder(JCRSessionWrapper session,
String path,
boolean saveIfCreate)
Retrieves the default user folder found at the specified path, creating it (and all intermediate folders) if needed, saving the session if requested.
|
static JCRObservationManager.EventWrapper |
JCRObservationManager.getEventWrapper(javax.jcr.observation.Event event,
JCRSessionWrapper session,
String mountPoint,
String relativeRoot) |
Collection<ComplexPublicationService.FullPublicationInfo> |
ComplexPublicationService.getFullPublicationInfos(Collection<String> nodeIdentifiers,
Collection<String> languages,
boolean allSubTree,
JCRSessionWrapper sourceSession)
Get full publication info about JCR nodes.
|
Collection<ComplexPublicationService.FullPublicationInfo> |
ComplexPublicationServiceImpl.getFullPublicationInfos(Collection<String> nodeIdentifiers,
Collection<String> languages,
boolean allSubTree,
JCRSessionWrapper sourceSession) |
Collection<ComplexPublicationService.FullPublicationInfo> |
ComplexPublicationService.getFullUnpublicationInfos(Collection<String> nodeIdentifiers,
Collection<String> languages,
boolean allSubTree,
JCRSessionWrapper session)
Get full un-publication info about JCR nodes.
|
Collection<ComplexPublicationService.FullPublicationInfo> |
ComplexPublicationServiceImpl.getFullUnpublicationInfos(Collection<String> nodeIdentifiers,
Collection<String> languages,
boolean allSubTree,
JCRSessionWrapper session) |
JCRItemWrapper |
JCRStoreProvider.getItemWrapper(javax.jcr.Item item,
JCRSessionWrapper session) |
JCRNodeWrapper |
JCRStoreProvider.getNodeWrapper(javax.jcr.Node objectNode,
JCRSessionWrapper session) |
JCRNodeWrapper |
JCRStoreProvider.getNodeWrapper(javax.jcr.Node objectNode,
String path,
JCRNodeWrapper parent,
JCRSessionWrapper session) |
static JCRNodeWrapper |
JCRContentUtils.getOrAddPath(JCRSessionWrapper session,
JCRNodeWrapper parentNode,
String path,
String pathNodeType)
Little utility method to retrieve or create a path, building it if necessary.
|
static JCRNodeWrapper |
RBACUtils.getOrCreatePermission(String path,
JCRSessionWrapper session)
Deprecated.
Creates the specified permission if it does not exist yet.
|
static JCRNodeWrapper |
RBACUtils.getOrCreateRole(String path,
JCRSessionWrapper session)
Deprecated.
Creates the specified role if it does not exist yet.
|
JCRPropertyWrapper |
JCRStoreProvider.getPropertyWrapper(javax.jcr.Property prop,
JCRSessionWrapper session) |
List<PublicationInfo> |
JCRPublicationService.getPublicationInfo(String uuid,
Set<String> languages,
boolean includesReferences,
boolean includesSubnodes,
boolean allsubtree,
JCRSessionWrapper sourceSession,
JCRSessionWrapper destinationSession) |
javax.jcr.query.QueryManager |
JCRStoreProvider.getQueryManager(JCRSessionWrapper session) |
JCRNodeWrapper |
AclListener.getRefAclNode(JCRSessionWrapper session,
JCRNodeWrapper ace,
String role,
JCRNodeWrapper externalPermissions) |
int |
JCRPublicationService.getStatus(JCRNodeWrapper node,
JCRSessionWrapper destinationSession,
Set<String> languages)
Get the publication status of a specific node
|
int |
JCRPublicationService.getStatus(JCRNodeWrapper node,
JCRSessionWrapper destinationSession,
Set<String> languages,
Set<String> includedUuids)
Get the publication status of a specific node, taking into account nodes being published at the same time (used for conflict detection)
|
JCRNodeWrapper |
JCRContentUtils.getUserPrivateFilesFolder(JCRSessionWrapper session)
Returns the /files/private folder for the current session user, creating it if it does not exist yet.
|
static boolean |
RBACUtils.grantPermissionToRole(String permissionPath,
String rolePath,
JCRSessionWrapper session)
Deprecated.
Grants the specified permission to the role.
|
static boolean |
RBACUtils.hasPermission(String rolePath,
String permissionPath,
JCRSessionWrapper session)
Deprecated.
Checks if the specified permissions is already grated to the role.
|
static void |
JCRContentUtils.importSkeletons(String skeletonLocations,
String targetPath,
JCRSessionWrapper session)
Performs import of JCR data using provided skeleton locations.
|
static void |
JCRContentUtils.importSkeletons(String skeletonLocations,
String targetPath,
JCRSessionWrapper session,
int importUUIDBehavior,
Map<String,String> replacements)
Performs import of JCR data using provided skeleton locations.
|
static void |
JCRContentUtils.importSkeletons(String skeletonLocations,
String targetPath,
JCRSessionWrapper session,
Map<String,String> replacements)
Performs import of JCR data using provided skeleton locations.
|
void |
ComplexPublicationService.publish(Collection<String> nodeIdentifiers,
Collection<String> languages,
JCRSessionWrapper session)
Publish JCR nodes (along with their translation sub-nodes when appropriate) in certain languages.
|
void |
ComplexPublicationServiceImpl.publish(Collection<String> nodeIdentifiers,
Collection<String> languages,
JCRSessionWrapper session) |
static boolean |
RBACUtils.revokePermissionFromRole(String permissionPath,
String rolePath,
JCRSessionWrapper session)
Deprecated.
Grants the specified permission to the role.
|
static boolean |
JCRPublicationService.supportsPublication(JCRSessionWrapper sourceSession,
JCRNodeWrapper node) |
protected static void |
JCRNodeWrapperImpl.unlock(javax.jcr.Node objectNode,
String type,
String userID,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
JCRSessionWrapper |
JCRNodeDecorator.getSession() |
| Constructor and Description |
|---|
JCRFrozenNodeAsRegular(javax.jcr.Node objectNode,
String path,
JCRNodeWrapper parent,
JCRSessionWrapper session,
JCRStoreProvider provider,
Date versionDate,
String versionLabel) |
| Modifier and Type | Method and Description |
|---|---|
JCRSessionWrapper |
DeletedPropertyFact.getSession() |
JCRSessionWrapper |
ModifiedNodeFact.getSession() |
JCRSessionWrapper |
AbstractNodeFact.getSession() |
JCRSessionWrapper |
NodeFact.getSession()
Returns the session that execute the rule
|
JCRSessionWrapper |
DeletedNodeFact.getSession() |
JCRSessionWrapper |
ChangedPropertyFact.getSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
Updateable.doUpdate(JCRSessionWrapper s,
List<Updateable> delayedUpdates) |
void |
AddedNodeFact.doUpdate(JCRSessionWrapper s,
List<Updateable> delayedUpdates) |
void |
ChangedPropertyFact.doUpdate(JCRSessionWrapper s,
List<Updateable> delayedUpdates) |
void |
UpdateableWithNewFacts.doUpdate(JCRSessionWrapper s,
List<Updateable> delayedUpdates,
List<Object> newFacts)
Do the update operation in the JCR repository
|
void |
AddedNodeFact.doUpdate(JCRSessionWrapper s,
List<Updateable> delayedUpdates,
List<Object> newFacts) |
void |
DeletedNodeFact.setSession(JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TextExtractionListener.doHandle(javax.jcr.Node node,
javax.jcr.observation.Event event,
JCRSessionWrapper s,
boolean immediateExtraction) |
| Modifier and Type | Field and Description |
|---|---|
protected JCRSessionWrapper |
BaseDocumentViewHandler.session |
| Modifier and Type | Method and Description |
|---|---|
static JCRSessionWrapper |
ReferencesHelper.resolveReferencesKeeper(JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
JCRNodeWrapper |
ImportExportBaseService.ensureDir(JCRSessionWrapper session,
String path,
JahiaSite site) |
void |
ImportExportBaseService.ensureFile(JCRSessionWrapper session,
String path,
InputStream inputStream,
String type,
JahiaSite destSite) |
void |
ImportExportService.importSiteZip(File file,
JCRSessionWrapper session)
Import the sitee from the specified file.
|
void |
ImportExportBaseService.importSiteZip(File file,
JCRSessionWrapper session) |
void |
ImportExportBaseService.importSiteZip(org.springframework.core.io.Resource file,
JahiaSite site,
Map<Object,Object> infos,
org.springframework.core.io.Resource legacyMappingFilePath,
org.springframework.core.io.Resource legacyDefinitionsFilePath,
JCRSessionWrapper session)
Import a full site zip into a newly created site.
|
void |
ImportExportService.importSiteZip(org.springframework.core.io.Resource resource,
JCRSessionWrapper session)
Import the site from the specified resource using the provided JCR session.
|
void |
ImportExportBaseService.importSiteZip(org.springframework.core.io.Resource file,
JCRSessionWrapper session) |
void |
ImportExportBaseService.importXML(String parentNodePath,
InputStream content,
int rootBehavior,
Map<String,List<String>> references,
JCRSessionWrapper session)
Imports the provided content.
|
void |
ImportExportService.importZip(String parentNodePath,
org.springframework.core.io.Resource file,
int rootBehavior,
JCRSessionWrapper session)
Performs an import of the ZIP file.
|
void |
ImportExportBaseService.importZip(String parentNodePath,
org.springframework.core.io.Resource file,
int rootBehaviour,
JCRSessionWrapper session) |
void |
ImportExportService.importZip(String parentNodePath,
org.springframework.core.io.Resource file,
int rootBehaviour,
JCRSessionWrapper session,
Set<String> filesToIgnore,
boolean useReferenceKeeper)
Performs an import of the ZIP file.
|
void |
ImportExportBaseService.importZip(String parentNodePath,
org.springframework.core.io.Resource file,
int rootBehaviour,
JCRSessionWrapper session,
Set<String> filesToIgnore,
boolean useReferenceKeeper)
Imports the content of the specified resource.
|
static void |
ReferencesHelper.resolveCrossReferences(JCRSessionWrapper session,
Map<String,List<String>> references) |
static void |
ReferencesHelper.resolveCrossReferences(JCRSessionWrapper session,
Map<String,List<String>> references,
boolean useReferencesKeeper) |
static void |
ReferencesHelper.resolveCrossReferences(JCRSessionWrapper session,
Map<String,List<String>> references,
boolean useReferencesKeeper,
boolean keepReferencesForLive) |
static JCRSessionWrapper |
ReferencesHelper.resolveReferencesKeeper(JCRSessionWrapper session) |
void |
DocumentViewExporter.setPublicationStatusSession(JCRSessionWrapper publicationStatusSession) |
void |
BaseDocumentViewHandler.setSession(JCRSessionWrapper session) |
ValidationResults |
ImportExportService.validateImportFile(JCRSessionWrapper session,
InputStream is,
String contentType,
List<String> installedModules)
Validates a JCR content import file in document format and returns expected failures.
|
ValidationResults |
ImportExportBaseService.validateImportFile(JCRSessionWrapper session,
InputStream is,
String contentType,
List<String> installedModules)
Validates a JCR content import file in document format and returns expected failures.
|
| Constructor and Description |
|---|
BaseDocumentViewHandler(JCRSessionWrapper session) |
DocumentViewExporter(JCRSessionWrapper session,
ContentHandler ch,
boolean skipBinary,
boolean noRecurse) |
DocumentViewImportHandler(JCRSessionWrapper session,
String rootPath) |
DocumentViewImportHandler(JCRSessionWrapper session,
String rootPath,
org.springframework.core.io.Resource archive,
List<String> fileList) |
LegacyImportHandler(JCRSessionWrapper session,
JCRNodeWrapper currentSiteNode,
NodeTypeRegistry registry,
DefinitionsMapping mapping,
Locale locale,
String originatingJahiaRelease,
LegacyPidMappingTool legacyPidMappingTool,
int initialCtnId) |
UsersImportHandler(JahiaSite site,
JCRSessionWrapper session) |
UsersImportHandler(JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MailServiceImpl.store(MailSettings cfg,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
JCRBundlePersister.delete(String bundleKey,
JCRSessionWrapper session)
Deletes the JCR node, which corresponds to the provided bundle key, if present.
|
protected PersistentBundle |
JCRBundlePersister.find(String bundleKey,
JCRSessionWrapper session)
Finds the JCR node, which corresponds to the provided key and reads the bundle information from it.
|
static JCRNodeWrapper |
BundleInfoJcrHelper.getRootNode(JCRSessionWrapper session)
Returns the module manager JCR root node
|
protected boolean |
JCRBundlePersister.store(PersistentBundle bundleInfo,
JCRSessionWrapper session)
Stores the bundle information in a JCR node.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.jahia.services.query.ModificationInfo |
QueryServiceImpl.getModificationInfo(javax.jcr.query.qom.Source source,
javax.jcr.query.qom.Constraint constraint,
javax.jcr.query.qom.Ordering[] orderings,
javax.jcr.query.qom.Column[] columns,
javax.jcr.query.qom.QueryObjectModelFactory qomFactory,
JCRSessionWrapper session)
We use a QOMTreeVisitor implementation to traverse through the query object model three times.
|
javax.jcr.query.qom.QueryObjectModel |
QueryServiceImpl.modifyAndOptimizeQuery(javax.jcr.query.qom.QueryObjectModel qom,
javax.jcr.query.qom.QueryObjectModelFactory qomFactory,
JCRSessionWrapper session) |
abstract javax.jcr.query.qom.QueryObjectModel |
QueryService.modifyAndOptimizeQuery(javax.jcr.query.qom.QueryObjectModel qom,
javax.jcr.query.qom.QueryObjectModelFactory qomFactory,
JCRSessionWrapper session)
Modifies the query to adapt to Jahia's internal datamodel implementation, which creates jnt:translation subnodes per locale (language).
|
javax.jcr.query.qom.QueryObjectModel |
QueryServiceImpl.modifyAndOptimizeQuery(javax.jcr.query.qom.Source source,
javax.jcr.query.qom.Constraint constraint,
javax.jcr.query.qom.Ordering[] orderings,
javax.jcr.query.qom.Column[] columns,
javax.jcr.query.qom.QueryObjectModelFactory qomFactory,
JCRSessionWrapper session) |
abstract javax.jcr.query.qom.QueryObjectModel |
QueryService.modifyAndOptimizeQuery(javax.jcr.query.qom.Source source,
javax.jcr.query.qom.Constraint constraint,
javax.jcr.query.qom.Ordering[] orderings,
javax.jcr.query.qom.Column[] columns,
javax.jcr.query.qom.QueryObjectModelFactory qomFactory,
JCRSessionWrapper session)
Modifies the query to adapt to Jahia's internal datamodel implementation, which creates jnt:translation subnodes per locale (language).
|
| Constructor and Description |
|---|
QueryManagerImpl(JCRSessionWrapper session,
JCRSessionFactory sessionFactory) |
QueryResultAdapter(javax.jcr.query.QueryResult result,
JCRStoreProvider provider,
JCRSessionWrapper session) |
QueryWrapper(javax.jcr.Node node,
JCRSessionWrapper session,
JCRSessionFactory service) |
QueryWrapper(javax.jcr.query.qom.QueryObjectModel qom,
JCRSessionWrapper session,
JCRSessionFactory service) |
QueryWrapper(String statement,
String language,
JCRSessionWrapper session,
JCRSessionFactory service) |
QueryWrapper(String statement,
String language,
String sqlStatement,
JCRSessionWrapper session,
JCRSessionFactory service) |
| Modifier and Type | Method and Description |
|---|---|
List<JCRNodeWrapper> |
RenderService.getTemplateNodes(String templateName,
String path,
String type,
boolean defaultOnly,
JCRSessionWrapper session) |
| Constructor and Description |
|---|
Resource(String path,
String canonicalPath,
JCRSessionWrapper sessionWrapper,
String templateType,
String template,
String contextConfiguration)
Lazy resource, that take the path instead of a node, the node will be load at first getNode() call using sessionWrapper
|
| Modifier and Type | Method and Description |
|---|---|
void |
HtmlCacheEventListener.processEvents(List<javax.jcr.observation.Event> events,
JCRSessionWrapper sessionWrapper,
boolean propagateToOtherClusterNodes) |
| Modifier and Type | Method and Description |
|---|---|
ActionResult |
WebflowAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SearchServiceImpl.store(SearchSettings cfg,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.query.Query |
JahiaJCRSearchProvider.buildQuery(SearchCriteria criteria,
JCRSessionWrapper session)
Creates the
Query instance by converting the provided
SearchCriteria bean into XPath query. |
| Modifier and Type | Method and Description |
|---|---|
List<VanityUrl> |
VanityUrlManager.findExistingVanityUrls(String url,
String site,
JCRSessionWrapper session)
Find any mappings for the given vanity URL.
|
VanityUrl |
VanityUrlManager.getVanityUrlForCurrentLocale(JCRNodeWrapper contentNode,
String siteKey,
JCRSessionWrapper session)
Gets a node's default vanity URL for the current locale or if none is default
then take the first mapping for the locale.
|
List<VanityUrl> |
VanityUrlService.getVanityUrls(JCRNodeWrapper contentNode,
String languageCode,
JCRSessionWrapper session)
Gets all node's vanity URLs for the given locale
|
List<VanityUrl> |
VanityUrlManager.getVanityUrls(JCRNodeWrapper contentNode,
String languageCode,
JCRSessionWrapper session)
Gets all node's vanity URLs for the given locale
|
List<VanityUrl> |
VanityUrlService.getVanityUrlsForCurrentLocale(JCRNodeWrapper contentNode,
JCRSessionWrapper session)
Gets all node's vanity URLs for the current locale in the session
|
boolean |
VanityUrlManager.removeVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
JCRSessionWrapper session)
Completely delete a mapped vanity URL.
|
boolean |
VanityUrlManager.removeVanityUrlMappings(JCRNodeWrapper contentNode,
String languageCode,
JCRSessionWrapper session)
Completely delete all mapped vanity URL for a locale.
|
boolean |
VanityUrlManager.saveVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
JCRSessionWrapper session)
Add or update a vanity URL mapping belonging to a specific content node and identified either by the vanity URL node UUID or the
vanity URL value set in the VanityUrl bean.
|
boolean |
VanityUrlManager.saveVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
JCRSessionWrapper session,
boolean save)
Add or update a vanity URL mapping belonging to a specific content node and identified either by the vanity URL node UUID or the
vanity URL value set in the VanityUrl bean.
|
boolean |
VanityUrlManager.saveVanityUrlMappings(JCRNodeWrapper contentNode,
List<VanityUrl> vanityUrls,
Set<String> updatedLocales,
JCRSessionWrapper session)
Add, update or delete all vanity URL mappings for a specific content node and the language codes
set in the list of VanityUrl beans.
|
| Modifier and Type | Method and Description |
|---|---|
JahiaSite |
JahiaSitesService.addSite(JahiaUser currentUser,
String title,
String serverName,
String siteKey,
String descr,
Locale selectedLocale,
String selectTmplSet,
String[] modulesToDeploy,
String firstImport,
org.springframework.core.io.Resource fileImport,
String fileImportName,
Boolean asAJob,
Boolean doImportServerPermissions,
String originatingJahiaRelease,
org.springframework.core.io.Resource legacyMappingFilePath,
org.springframework.core.io.Resource legacyDefinitionsFilePath,
JCRSessionWrapper session)
Deprecated.
since 7.2.2.0. Use the
JahiaSitesService.addSite(SiteCreationInfo, JCRSessionWrapper) instead |
JahiaSite |
JahiaSitesService.addSite(SiteCreationInfo info,
JCRSessionWrapper session)
Creates the site using the specified data.
|
void |
JahiaSitesService.deployModules(JahiaSite site,
String[] modulesToDeploy,
JCRSessionWrapper session) |
JahiaSite |
JahiaSitesService.getDefaultSite(JCRSessionWrapper session) |
JCRSiteNode |
JahiaSitesService.getFirstSiteFound(JCRSessionWrapper session,
String... skippedSites)
Returns first found site node under
/sites considering the list of sites to be skipped. |
JCRSiteNode |
JahiaSitesService.getSiteByKey(String siteKey,
JCRSessionWrapper session) |
JCRSiteNode |
JahiaSitesService.getSiteByServerName(String serverName,
JCRSessionWrapper session) |
List<JCRSiteNode> |
JahiaSitesService.getSitesNodeList(JCRSessionWrapper session) |
void |
JahiaSitesService.setDefaultSite(JahiaSite site,
JCRSessionWrapper session) |
boolean |
JahiaSitesService.siteExists(String siteKey,
JCRSessionWrapper session) |
void |
JahiaSitesService.updateModules(JahiaSite site,
List<String> newModuleIds,
JCRSessionWrapper session) |
boolean |
JahiaSitesService.updateSystemSiteLanguages(JahiaSite site,
JCRSessionWrapper session) |
void |
JahiaSitesService.updateSystemSitePermissions(JahiaSite site,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
<X> X |
TaggingService.deleteTagUnderPath(String startPath,
JCRSessionWrapper session,
String selectedTag,
TagActionCallback<X> callback)
Delete all occurrence of a specific tag under a given path
|
abstract ActionResult |
BaseTagAction.doExecute(javax.servlet.http.HttpServletRequest req,
RenderContext renderContext,
Resource resource,
JCRSessionWrapper session,
Map<String,List<String>> parameters,
URLResolver urlResolver) |
protected Map<String,Long> |
TagsSuggesterImpl.facetedSuggestion(String prefix,
String startPath,
Long mincount,
Long limit,
Long offset,
boolean sortByCount,
JCRSessionWrapper sessionWrapper)
Use a faceted query to suggest tags
|
JCRNodeWrapper |
TaggingService.getTag(String tag,
String siteKey,
JCRSessionWrapper session)
Deprecated.
the tags are no longer nodes, there are stored directly on the content,
Use
#getTagsSuggester().suggest(String, String, Long, Long, Long, boolean, org.jahia.services.content.JCRSessionWrapper) instead |
void |
TaggingService.renameTag(String nodePath,
String selectedTag,
String tagNewName,
JCRSessionWrapper session)
Rename a specific tag on a node
|
<X> X |
TaggingService.renameTagUnderPath(String startPath,
JCRSessionWrapper session,
String selectedTag,
String tagNewName,
TagActionCallback<X> callback)
Rename all occurrence of a specific tag under a given path
The session will be saved each 100 nodes processed
|
protected Map<String,Long> |
TagsSuggesterImpl.simpleSuggestion(String prefix,
String startPath,
Long limit,
JCRSessionWrapper sessionWrapper)
Use a simple query to suggest tags
|
Map<String,Long> |
TagsSuggesterImpl.suggest(String prefix,
String startPath,
Long mincount,
Long limit,
Long offset,
boolean sortByCount,
JCRSessionWrapper sessionWrapper)
To switch between faceted suggester and default, you have to set this property to true
tag.suggester.faceted in the jahia.properties
|
Map<String,Long> |
TagsSuggester.suggest(String input,
String startPath,
Long mincount,
Long limit,
Long offset,
boolean sortByCount,
JCRSessionWrapper sessionWrapper) |
List<String> |
TaggingService.tag(String nodePath,
List<String> tags,
JCRSessionWrapper session)
Tag the specific node
|
List<String> |
TaggingService.tag(String nodePath,
String tag,
JCRSessionWrapper session)
Tag the specific node
|
boolean |
TaggingService.tag(String nodePath,
String tag,
String siteKey,
boolean createTagIfNotExists,
JCRSessionWrapper session)
Deprecated.
|
List<String> |
TaggingService.untag(String nodePath,
List<String> tags,
JCRSessionWrapper session)
Untag the specific node
|
List<String> |
TaggingService.untag(String nodePath,
String tag,
JCRSessionWrapper session)
Untag the specific node
|
| Modifier and Type | Method and Description |
|---|---|
void |
JahiaTemplateManagerService.autoInstallModulesToSites(JahiaTemplatesPackage module,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.autoInstallModulesToSites(JahiaTemplatesPackage module,
JCRSessionWrapper session) |
JCRNodeWrapper |
JahiaTemplateManagerService.checkoutModule(File moduleSources,
String scmURI,
String branchOrTag,
String moduleId,
String version,
JCRSessionWrapper session)
Checkout module sources, compile and deploy
|
JCRNodeWrapper |
SourceControlHelper.checkoutModule(File moduleSources,
String scmURI,
String branchOrTag,
String moduleId,
String version,
JCRSessionWrapper session) |
void |
TemplatePackageDeployer.clearModuleNodes(JahiaTemplatesPackage pkg,
JCRSessionWrapper session)
Deprecated.
|
void |
TemplatePackageDeployer.clearModuleNodes(String id,
ModuleVersion version,
JCRSessionWrapper session)
Clear all module nodes for given package id, version and session
if you want to remove a module nodes, use clearModuleNodes(String id, ModuleVersion version) to be sure to remove
nodes in both workspaces.
|
JahiaTemplatesPackage |
JahiaTemplateManagerService.compileAndDeploy(String moduleId,
File sources,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
ModuleBuildHelper.compileAndDeploy(String moduleId,
File sources,
JCRSessionWrapper session) |
JCRNodeWrapper |
JahiaTemplateManagerService.createModule(String moduleName,
String artifactId,
String groupId,
String moduleType,
File sources,
JCRSessionWrapper session) |
JCRNodeWrapper |
ModuleBuildHelper.createModule(String moduleName,
String artifactId,
String groupId,
String moduleType,
File moduleSources,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.deployModule(File warFile,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
TemplatePackageDeployer.deployModule(File jarFile,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
JahiaTemplateManagerService.duplicateModule(String moduleName,
String moduleId,
String groupId,
String srcPath,
String scmURI,
String branchOrTag,
String srcModuleId,
String srcModuleVersion,
boolean uninstallSrcModule,
String dstPath,
boolean deleteSrcFolder,
JCRSessionWrapper session) |
JahiaTemplatesPackage |
ModuleBuildHelper.duplicateModule(String dstModuleName,
String dstModuleId,
String dstGroupId,
String srcPath,
String scmURI,
String branchOrTag,
String srcModuleId,
String srcModuleVersion,
boolean uninstallSrcModule,
String dstPath,
boolean deleteSrcFolder,
JCRSessionWrapper session) |
File |
JahiaTemplateManagerService.getSources(JahiaTemplatesPackage pack,
JCRSessionWrapper session) |
File |
SourceControlHelper.getSources(JahiaTemplatesPackage pack,
JCRSessionWrapper session) |
void |
TemplatePackageDeployer.initializeModuleContent(JahiaTemplatesPackage aPackage,
JCRSessionWrapper session) |
JCRNodeWrapper |
JahiaTemplateManagerService.installFromSources(File sources,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.installModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.installModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.installModuleOnAllSites(JahiaTemplatesPackage module,
JCRSessionWrapper sessionWrapper,
List<JCRNodeWrapper> sites)
Install module in provided list of site
|
void |
ModuleInstallationHelper.installModuleOnAllSites(JahiaTemplatesPackage module,
JCRSessionWrapper sessionWrapper,
List<JCRNodeWrapper> sites) |
void |
JahiaTemplateManagerService.installModules(List<JahiaTemplatesPackage> modules,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.installModules(List<JahiaTemplatesPackage> modules,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.purgeModuleContent(List<String> modules,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleBuildHelper.regenerateImportFile(JCRSessionWrapper session,
List<File> modifiedFiles,
File sources,
String moduleId,
String moduleIdWithVersion) |
List<File> |
JahiaTemplateManagerService.regenerateImportFile(String moduleId,
File sources,
JCRSessionWrapper session) |
int |
ComponentRegistry.registerComponents(JahiaTemplatesPackage pkg,
JCRSessionWrapper session)
Performs the registration of the components from the specified module into JCR tree.
|
File |
JahiaTemplateManagerService.releaseModule(JahiaTemplatesPackage module,
ModuleReleaseInfo releaseInfo,
File sources,
String scmUrl,
JCRSessionWrapper session) |
File |
JahiaTemplateManagerService.releaseModule(String moduleId,
ModuleReleaseInfo releaseInfo,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.sendToSourceControl(String moduleId,
String scmURI,
String scmType,
JCRSessionWrapper session) |
void |
SourceControlHelper.sendToSourceControl(String moduleId,
String scmURI,
String scmType,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.synchro(JCRNodeWrapper source,
JCRNodeWrapper destinationNode,
JCRSessionWrapper session,
String moduleName,
Map<String,List<String>> references) |
void |
ModuleInstallationHelper.synchro(JCRNodeWrapper source,
JCRNodeWrapper destinationNode,
JCRSessionWrapper session,
String moduleName,
Map<String,List<String>> references) |
void |
JahiaTemplateManagerService.templatesSynchro(JCRNodeWrapper source,
JCRNodeWrapper destinationNode,
JCRSessionWrapper session,
Map<String,List<String>> references,
boolean doUpdate,
boolean doChildren) |
void |
ModuleInstallationHelper.templatesSynchro(JCRNodeWrapper source,
JCRNodeWrapper destinationNode,
JCRSessionWrapper session,
Map<String,List<String>> references,
boolean doUpdate,
boolean doChildren) |
void |
JahiaTemplateManagerService.uninstallModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.uninstallModule(JahiaTemplatesPackage module,
String sitePath,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.uninstallModules(List<JahiaTemplatesPackage> modules,
String sitePath,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.uninstallModules(List<String> modules,
String sitePath,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.uninstallModulesByIds(List<String> moduleIds,
String sitePath,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.uninstallModulesFromAllSites(List<String> modules,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.uninstallModulesFromAllSites(List<String> modules,
JCRSessionWrapper session) |
void |
JahiaTemplateManagerService.uninstallModulesFromAllSites(String module,
JCRSessionWrapper session) |
void |
ModuleInstallationHelper.uninstallModulesFromAllSites(String module,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
JCRGroupNode |
JahiaGroupManagerService.createGroup(String siteKey,
String name,
Properties properties,
boolean hidden,
JCRSessionWrapper session)
Create a new group in the system.
|
JCRUserNode |
JahiaUserManagerService.createUser(String name,
String password,
Properties properties,
JCRSessionWrapper session)
This is the method that creates a new user in the system, with all the
specified properties.
|
JCRUserNode |
JahiaUserManagerService.createUser(String name,
String siteKey,
String password,
Properties properties,
JCRSessionWrapper session)
This is the method that creates a new user in the system, with all the
specified properties.
|
boolean |
JahiaGroupManagerService.deleteGroup(String groupPath,
JCRSessionWrapper session)
Delete a group from the system.
|
boolean |
JahiaUserManagerService.deleteUser(String userPath,
JCRSessionWrapper session)
This method removes a user from the system.
|
void |
JahiaGroupManagerService.flushMembershipCache(String memberPath,
JCRSessionWrapper session) |
JCRGroupNode |
JahiaGroupManagerService.getAdministratorGroup(String siteKey,
JCRSessionWrapper session)
Get administrator or site administrator group
|
JCRStoreProvider |
JahiaUserManagerService.getProvider(String providerKey,
JCRSessionWrapper session)
Retrieve the user provider corresponding to a given key
|
JCRStoreProvider |
JahiaGroupManagerService.getProvider(String siteKey,
String providerKey,
JCRSessionWrapper session)
Retrieve the group provider corresponding to a given key
|
JCRStoreProvider |
JahiaUserManagerService.getProvider(String siteKey,
String providerKey,
JCRSessionWrapper session) |
List<JCRStoreProvider> |
JahiaUserManagerService.getProviderList(JCRSessionWrapper session)
Provide the list of all available users providers
|
List<JCRStoreProvider> |
JahiaGroupManagerService.getProviderList(String siteKey,
JCRSessionWrapper session)
Provide the list of all available groups providers
|
List<JCRStoreProvider> |
JahiaUserManagerService.getProviderList(String siteKey,
JCRSessionWrapper session) |
List<JCRStoreProvider> |
JahiaUserManagerService.getProviders(String[] providerKeys,
JCRSessionWrapper session)
Provide the list of users providers matching given keys
|
List<JCRStoreProvider> |
JahiaGroupManagerService.getProviders(String siteKey,
String[] providerKeys,
JCRSessionWrapper session)
Provide the list of groups providers matching given keys
|
List<JCRStoreProvider> |
JahiaUserManagerService.getProviders(String siteKey,
String[] providerKeys,
JCRSessionWrapper session) |
JCRGroupNode |
JahiaGroupManagerService.lookupGroup(String siteKey,
String name,
JCRSessionWrapper session)
Lookup the group information from the underlaying system (DB, LDAP, ...
|
JCRGroupNode |
JahiaGroupManagerService.lookupGroupByPath(String groupPath,
JCRSessionWrapper session)
Lookup the group information from the underlaying system (DB, LDAP, ...
|
JCRUserNode |
JahiaUserManagerService.lookupRootUser(JCRSessionWrapper session)
Returns the system root user (not cached).
|
JCRUserNode |
JahiaUserManagerService.lookupUser(String name,
JCRSessionWrapper session)
Load all the user data and attributes.
|
JCRUserNode |
JahiaUserManagerService.lookupUser(String name,
String site,
JCRSessionWrapper session)
Load all the user data and attributes.
|
JCRUserNode |
JahiaUserManagerService.lookupUserByPath(String userKey,
JCRSessionWrapper session)
Load all the user data and attributes.
|
Set<JCRGroupNode> |
JahiaGroupManagerService.searchGroups(String siteKey,
Properties searchCriterias,
JCRSessionWrapper session)
Find groups according to a table of name=value properties.
|
Set<JCRGroupNode> |
JahiaGroupManagerService.searchGroups(String siteKey,
Properties searchCriterias,
String[] providers,
boolean excludeProtected,
JCRSessionWrapper session) |
Set<JCRGroupNode> |
JahiaGroupManagerService.searchGroups(String siteKey,
Properties searchCriterias,
String[] providers,
JCRSessionWrapper session)
Find groups according to a table of name=value properties.
|
Set<JCRGroupNode> |
JahiaGroupManagerService.searchGroups(String siteKey,
Properties searchCriterias,
String providerKey,
boolean excludeProtected,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
JCRSessionWrapper session)
Find users according to a table of name=value properties.
|
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String[] providerKeys,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String siteKey,
String[] providerKeys,
boolean excludeProtected,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String siteKey,
String[] providerKeys,
JCRSessionWrapper session) |
Set<JCRUserNode> |
JahiaUserManagerService.searchUsers(Properties searchCriterias,
String siteKey,
String providerKey,
boolean excludeProtected,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
List<JahiaPrincipal> |
WorkflowService.getAssignedRole(WorkflowDefinition definition,
String activityName,
String processId,
JCRSessionWrapper session) |
String |
WorkflowService.startProcess(List<String> nodeIds,
JCRSessionWrapper session,
String processKey,
String provider,
Map<String,Object> args,
List<String> comments) |
void |
WorkflowService.startProcessAsJob(List<String> nodeIds,
JCRSessionWrapper session,
String processKey,
String provider,
Map<String,Object> args,
List<String> comments) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JBPMMailProducer.addAttachments(MailTemplate template,
org.kie.api.runtime.process.WorkItem workItem,
javax.mail.Multipart multipart,
JCRSessionWrapper session) |
protected DataHandler |
JBPMMailProducer.createDataHandler(AttachmentTemplate attachmentTemplate,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
protected String |
JBPMMailProducer.evaluateExpression(org.kie.api.runtime.process.WorkItem workItem,
String scriptToExecute,
JCRSessionWrapper session) |
protected void |
JBPMMailProducer.fillContent(MailTemplate template,
javax.mail.Message email,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
protected void |
JBPMMailProducer.fillFrom(MailTemplate template,
javax.mail.Message email,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session)
Fills the
from attribute of the given email. |
protected void |
JBPMMailProducer.fillRecipients(AddressTemplate addressTemplate,
javax.mail.Message email,
javax.mail.Message.RecipientType recipientType,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
protected void |
JBPMMailProducer.fillRecipients(MailTemplate template,
javax.mail.Message email,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
protected void |
JBPMMailProducer.fillSubject(MailTemplate template,
javax.mail.Message email,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
protected Bindings |
JBPMMailProducer.getBindings(org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
protected String[] |
JBPMMailProducer.tokenizeActors(String recipients,
org.kie.api.runtime.process.WorkItem workItem,
JCRSessionWrapper session) |
| Modifier and Type | Method and Description |
|---|---|
static Set<NodeTypeTreeEntry> |
NodeTypesUtils.getContentTypesAsTree(List<String> nodeTypes,
List<String> excludedNodeTypes,
boolean includeSubTypes,
String path,
JCRSessionWrapper session,
Locale uiLocale)
Utility method that build a list of jmix:droppableContent nodeTypes for a given path as a tree.
|
static JCRNodeWrapper |
JcrUtils.getTempNodeCreateIfNeeded(JCRSessionWrapper session)
Get the node intended for storing temporary data; create the node if it does not exist yet.
|
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.