|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WCMComposer
This class is responsible of getting contents inside the WCM product. We shouldn't access directly contents from the jcr on front side. In a general manner, this service stands between publication and cache.
| Field Summary | |
|---|---|
static java.lang.String |
BASE_VERSION
The Constant for base version. |
static java.lang.String |
FILTER_MODE
Filter parameter to filter results by target mode. |
static java.lang.String |
FILTER_ORDER_BY
Filter parameter to order results. |
static java.lang.String |
FILTER_ORDER_TYPE
Filter parameter to order results in ascendant order or descendant order. |
static java.lang.String |
FILTER_PRIMARY_TYPE
Filter parameter to filter results by primary type. |
static java.lang.String |
FILTER_RECURSIVE
Filter parameter to search recursively or not. |
static java.lang.String |
FILTER_REMOTE_USER
Filter parameter to filter results by user. |
static java.lang.String |
FILTER_SITE_NAME
Filter parameter to filter results by site. |
static java.lang.String |
FILTER_STATE
Filter parameter to filter results by state. |
static java.lang.String |
FILTER_VERSION
Filter parameter to filter result by a decicated version. |
static java.lang.String |
IS_RECURSIVE
The Constant IS_RECURSIVE. |
static java.lang.String |
MODE_EDIT
The Constant MODE_EDIT. |
static java.lang.String |
MODE_LIVE
The Constant MODE_LIVE. |
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getAllowedStates(java.lang.String mode)
returns allowed states for a specified mode. |
javax.jcr.Node |
getContent(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.util.HashMap<java.lang.String,java.lang.String> filters,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
returns content at the specified path based on filters. |
java.util.List<javax.jcr.Node> |
getContents(java.lang.String repository,
java.lang.String workspace,
java.lang.String path,
java.util.HashMap<java.lang.String,java.lang.String> filters,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
returns contents at the specified path based on filters. |
boolean |
updateContent(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.util.HashMap<java.lang.String,java.lang.String> filters)
Update content. |
boolean |
updateContents(java.lang.String repository,
java.lang.String workspace,
java.lang.String path,
java.util.HashMap<java.lang.String,java.lang.String> filters)
Update contents. |
| Field Detail |
|---|
static final java.lang.String FILTER_STATE
static final java.lang.String FILTER_PRIMARY_TYPE
static final java.lang.String FILTER_ORDER_BY
static final java.lang.String FILTER_ORDER_TYPE
static final java.lang.String FILTER_MODE
static final java.lang.String FILTER_RECURSIVE
static final java.lang.String FILTER_VERSION
static final java.lang.String FILTER_SITE_NAME
static final java.lang.String FILTER_REMOTE_USER
static final java.lang.String MODE_EDIT
static final java.lang.String MODE_LIVE
static final java.lang.String IS_RECURSIVE
static final java.lang.String BASE_VERSION
| Method Detail |
|---|
javax.jcr.Node getContent(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.util.HashMap<java.lang.String,java.lang.String> filters,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
throws java.lang.Exception
repository - the repositoryworkspace - the workspacepath - the pathfilters - the filterssessionProvider - the session provider
java.lang.Exception - the exception
java.util.List<javax.jcr.Node> getContents(java.lang.String repository,
java.lang.String workspace,
java.lang.String path,
java.util.HashMap<java.lang.String,java.lang.String> filters,
org.exoplatform.services.jcr.ext.common.SessionProvider sessionProvider)
throws java.lang.Exception
repository - the repositoryworkspace - the workspacepath - the pathfilters - the filterssessionProvider - the session provider
java.lang.Exception - the exception
boolean updateContent(java.lang.String repository,
java.lang.String workspace,
java.lang.String nodeIdentifier,
java.util.HashMap<java.lang.String,java.lang.String> filters)
throws java.lang.Exception
repository - the repositoryworkspace - the workspacepath - the pathfilters - the filters
java.lang.Exception
boolean updateContents(java.lang.String repository,
java.lang.String workspace,
java.lang.String path,
java.util.HashMap<java.lang.String,java.lang.String> filters)
throws java.lang.Exception
repository - the repositoryworkspace - the workspacepath - the pathfilters - the filters
java.lang.Exception
java.util.List<java.lang.String> getAllowedStates(java.lang.String mode)
throws java.lang.Exception
mode - the mode
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||