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 ;}} | Returns 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 ;}} | Returns 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;}} | Updates 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 ;}} | Returns 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 ;}} | Initializes the templates hashmap.{example}{example} @throws Exception: the exception|
| *isCached* | {{boolean}} | {{isCached()}} {example}{example}{{throws Exception;}} | Checks isCache or not. {example}{example}@return: the state of caches {example}{example} @throws Exception: the exception|

