public interface WCMComposer
Modifier and Type | Field and Description |
---|---|
static String |
BASE_VERSION
The constant for base version.
|
static String |
FILTER_LANGUAGE
Filter parameter to filter results by language.
|
static String |
FILTER_LIMIT
Filter parameter to limit the result size.
|
static String |
FILTER_MODE
Filter parameter to filter results by target mode.
|
static String |
FILTER_OFFSET
Filter parameter to return results with an offset delimiter.
|
static String |
FILTER_ORDER_BY
Filter parameter to order results.
|
static String |
FILTER_ORDER_TYPE
Filter parameter to order results in ascending or descending order.
|
static String |
FILTER_PRIMARY_TYPE
Filter parameter to filter results by primary type.
|
static String |
FILTER_QUERY
Filter parameter to add a parameter to the executed query.
|
static String |
FILTER_QUERY_FULL
Filter parameter to execute a specific query.
|
static String |
FILTER_RECURSIVE
Filter parameter to search recursively or not.
|
static String |
FILTER_REMOTE_USER
Filter parameter to filter results by user.
|
static String |
FILTER_SITE_NAME
Filter parameter to filter results by site.
|
static String |
FILTER_STATE
Filter parameter to filter results by state.
|
static String |
FILTER_TOTAL
Total number of content.
|
static String |
FILTER_VERSION
Filter parameter to filter results by a dedicated version.
|
static String |
FILTER_VISIBILITY
Filter parameter to filter results by visibility.
|
static String |
IS_RECURSIVE
The constant IS_RECURSIVE.
|
static String |
MODE_EDIT
The constant MODE_EDIT.
|
static String |
MODE_LIVE
The constant MODE_LIVE.
|
static String |
PORTLET_MODE
Mode of portlet.
|
static String |
VISIBILITY_PUBLIC
The constant VISIBILITY PUBLIC.
|
static String |
VISIBILITY_USER
The constant VISIBILITY USER.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanTemplates()
Resets the template filters.
|
List<String> |
getAllowedStates(String mode)
Gets the allowed states for a given mode.
|
javax.jcr.Node |
getContent(String workspace,
String nodeIdentifier,
HashMap<String,String> filters,
SessionProvider sessionProvider)
Gets a content node at a specified path based on given filters.
|
List<javax.jcr.Node> |
getContents(String workspace,
String path,
HashMap<String,String> filters,
SessionProvider sessionProvider)
Gets content nodes at a specified path based on given filters.
|
org.exoplatform.services.wcm.publication.Result |
getPaginatedContents(org.exoplatform.services.wcm.core.NodeLocation nodeLocation,
HashMap<String,String> filters,
SessionProvider sessionProvider)
Gets content nodes that are paginated at a specified path based on given filters.
|
String |
updateTemplatesSQLFilter()
Updates the SQL filter of templates.
|
static final String FILTER_STATE
static final String FILTER_PRIMARY_TYPE
static final String FILTER_ORDER_BY
static final String FILTER_ORDER_TYPE
static final String FILTER_MODE
static final String FILTER_RECURSIVE
static final String FILTER_VERSION
static final String FILTER_SITE_NAME
static final String FILTER_REMOTE_USER
static final String FILTER_LANGUAGE
static final String FILTER_QUERY
static final String FILTER_QUERY_FULL
static final String FILTER_LIMIT
static final String FILTER_OFFSET
static final String FILTER_TOTAL
static final String FILTER_VISIBILITY
static final String PORTLET_MODE
static final String MODE_EDIT
static final String MODE_LIVE
static final String IS_RECURSIVE
static final String BASE_VERSION
static final String VISIBILITY_PUBLIC
static final String VISIBILITY_USER
javax.jcr.Node getContent(String workspace, String nodeIdentifier, HashMap<String,String> filters, SessionProvider sessionProvider) throws Exception
workspace
- The workspace that includes the content node.nodeIdentifier
- Identifier of the content node.filters
- The given filters.sessionProvider
- The session provider.Exception
- The exceptionList<javax.jcr.Node> getContents(String workspace, String path, HashMap<String,String> filters, SessionProvider sessionProvider) throws Exception
workspace
- The workspace that includes the content nodes.path
- The path.filters
- The given filters.sessionProvider
- The session provider.Exception
- The exceptionorg.exoplatform.services.wcm.publication.Result getPaginatedContents(org.exoplatform.services.wcm.core.NodeLocation nodeLocation, HashMap<String,String> filters, SessionProvider sessionProvider) throws Exception
nodeLocation
- Location of the content nodes.filters
- The given filters.sessionProvider
- The session provider.Exception
- The exceptionList<String> getAllowedStates(String mode) throws Exception
mode
- The given mode.Exception
- The exceptionvoid cleanTemplates() throws Exception
Exception
- the exceptionCopyright © 2003-2017 eXo Platform SAS. All Rights Reserved.