This class is used to get contents inside the WCM product.
You should not access contents directly from the JCR on the front side.

In general, this service stands between publication and cache.

_Package org.exoplatform.services.wcm.publication.WCMComposer_

|| *Method* || *Return* || *Prototype* || *Description* ||
| *getContent* | {{Node}} | {{getContent(String repository, String workspace, String nodeIdentifier, HashMap<String, String> filters, SessionProvider sessionProvider)}}{example}{example} {{throws Exception ;}} | Return contents at the specified path based on filters.{example}{example}@param repository: the repository{example}{example} @param workspace: the workspace{example}{example}@param path: the path{example}{example} @param filters: the filters{example}{example} @param sessionProvider: the session provider{example}{example}@return a JCR node {example}{example} @throws Exception: the exception|
| *getContents* | {{List<Node>}} | {{getContents(String repository, String workspace, String path, HashMap<String, String> filters, SessionProvider sessionProvider)}}{example}{example} {{throws Exception ;}} | Return contents at the specified path based on filters.{example}{example}{example}{example} @param repository: the repository {example}{example} @param workspace: the workspace{example}{example} @param path: the path {example}{example} @param filters: the filters {example}{example} @param sessionProvider: the session provider {example}{example}{example}{example} @return: a JCR node {example}{example} @throws Exception: the exception|
| *updateContent* | {{boolean}} | {{updateContent(String repository, String workspace, String nodeIdentifier, HashMap<String, String> filters)}}{example}{example} {{throws Exception;}} | Update content.{example}{example}@param repository: the repository{example}{example}@param workspace: the workspace{example}{example}@param path: the path{example}{example}{example}{example}@param filters: the filters{example}{example}{example}{example}@return true, if successful. |
| *getAllowedStates*| {{List<String>}} | {{getAllowedStates(String mode)}}{example}{example} {{throws Exception ;}} | Return allowed states for a specified mode.{example}{example}{example}{example} @param mode: the mode {example}{example} @return a JCR node. {example}{example} @throws Exception: the exception |
| *cleanTemplates* | {{void}} | {{cleanTemplates()}}{example}{example} {{throws Exception ;}} | Initialize the templates hashmap.{example}{example} @throws Exception: the exception|
| *isCached* | {{boolean}} | {{isCached()}} {example}{example}{{throws Exception;}} | Check isCache or not. {example}{example}@return: the state of caches {example}{example} @throws Exception: the exception|
| *updateTemplatesSQLFilter* | {{String}} | {{updateTemplatesSQLFilter()}} {example}{example}{{throws Exception;}} | Update all document nodetypes and write a query cause. {example}{example}@return: A part of the query allow search all document node and taxonomy link also. Return null if there is any exception. {example}{example} @throws Exception: the exception|
