|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wcm.publication.WCMComposerImpl
public class WCMComposerImpl
The Class WCMComposerImpl.
| Field Summary |
|---|
| Fields inherited from interface org.exoplatform.services.wcm.publication.WCMComposer |
|---|
BASE_VERSION, FILTER_MODE, FILTER_ORDER_BY, FILTER_ORDER_TYPE, FILTER_PRIMARY_TYPE, FILTER_RECURSIVE, FILTER_REMOTE_USER, FILTER_SITE_NAME, FILTER_STATE, FILTER_VERSION, IS_RECURSIVE, MODE_EDIT, MODE_LIVE |
| Constructor Summary | |
|---|---|
WCMComposerImpl(org.exoplatform.container.xml.InitParams params)
Instantiates a new WCM composer impl. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getAllowedStates(java.lang.String mode)
We currently support 2 modes : MODE_LIVE : PUBLISHED state only MODE_EDIT : PUBLISHED, DRAFT, PENDING, STAGED, APPROVED allowed. |
java.util.List<javax.jcr.Node> |
getCategories(javax.jcr.Node node,
java.lang.String repository)
|
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. |
void |
start()
|
void |
stop()
|
boolean |
updateContent(java.lang.String repository,
java.lang.String workspace,
java.lang.String path,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WCMComposerImpl(org.exoplatform.container.xml.InitParams params)
throws java.lang.Exception
templateService - the template servicepublicationService - the publication service
java.lang.Exception - the exception| Method Detail |
|---|
public 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
WCMComposer
getContent in interface WCMComposerrepository - the repositoryworkspace - the workspacefilters - the filterssessionProvider - the session provider
java.lang.Exception - the exception
public 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
WCMComposer
getContents in interface WCMComposerrepository - the repositoryworkspace - the workspacepath - the pathfilters - the filterssessionProvider - the session provider
java.lang.Exception - the exception
public boolean updateContent(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
WCMComposer
updateContent in interface WCMComposerrepository - the repositoryworkspace - the workspacefilters - the filters
java.lang.Exception
public java.util.List<javax.jcr.Node> getCategories(javax.jcr.Node node,
java.lang.String repository)
throws java.lang.Exception
java.lang.Exception
public 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
WCMComposer
updateContents in interface WCMComposerrepository - the repositoryworkspace - the workspacepath - the pathfilters - the filters
java.lang.Exceptionpublic java.util.List<java.lang.String> getAllowedStates(java.lang.String mode)
getAllowedStates in interface WCMComposermode - the current mode (MODE_LIVE or MODE_EDIT)
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||