|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.invocation.Invocation
org.jboss.portal.cms.Command
org.jboss.portal.cms.impl.jcr.JCRCommand
org.jboss.portal.cms.impl.jcr.command.ContentCreateNewVersionCommand
public class ContentCreateNewVersionCommand
Creates a new version of the content and labels it "LIVE".
Field Summary |
---|
Fields inherited from class org.jboss.portal.cms.impl.jcr.JCRCommand |
---|
context, JCR_COMMANDFATORY_ATTRIBUTE, JCR_LOCALE_ATTRIBUTE, JCR_SESSION_ATTRIBUTE |
Fields inherited from class org.jboss.portal.common.invocation.Invocation |
---|
EMPTY_STACK |
Constructor Summary | |
---|---|
ContentCreateNewVersionCommand(Content content,
boolean bMakeLive)
|
|
ContentCreateNewVersionCommand(java.util.List contents,
boolean bMakeLive)
|
Method Summary | |
---|---|
java.lang.Object |
execute()
|
Methods inherited from class org.jboss.portal.cms.impl.jcr.JCRCommand |
---|
getContext, setContext |
Methods inherited from class org.jboss.portal.common.invocation.Invocation |
---|
getAttribute, getHandler, invoke, invokeNext, removeAttribute, setAttribute, setHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentCreateNewVersionCommand(Content content, boolean bMakeLive)
content
- bMakeLive
- Whether this updated version should be made "LIVE"public ContentCreateNewVersionCommand(java.util.List contents, boolean bMakeLive)
Method Detail |
---|
public java.lang.Object execute()
execute
in class JCRCommand
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |