org.infoglue.deliver.taglib.content
Class UpdateContentVersionTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.deliver.taglib.TemplateControllerTag
              extended by org.infoglue.deliver.taglib.content.InfoGlueWebServiceTag
                  extended by org.infoglue.deliver.taglib.content.UpdateContentVersionTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, ContentVersionParameterInterface

public class UpdateContentVersionTag
extends InfoGlueWebServiceTag
implements ContentVersionParameterInterface

This tag helps update a content in the cms from the delivery application.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
UpdateContentVersionTag()
           
 
Method Summary
 void addContentVersionAttribute(java.lang.String name, java.lang.String value)
          Adds the content version attribute to the contentVersion Value.
 void addDigitalAsset(RemoteAttachment remoteAttachment)
          Adds the content version attribute to the contentVersion Value.
 int doEndTag()
           
 int doStartTag()
          Initializes the parameters to make it accessible for the children tags (if any).
 java.lang.String getOperationName()
           
 void setContentId(java.lang.String contentId)
           
 void setContentVersionId(java.lang.String contentVersionId)
           
 void setLanguageId(java.lang.String languageId)
           
 void setOperationName(java.lang.String operationName)
           
 void setPrincipal(java.lang.String principalString)
           
 void setStateId(java.lang.String stateId)
           
 void setVersionComment(java.lang.String versionComment)
           
 void setVersionValue(java.lang.String versionValue)
           
 
Methods inherited from class org.infoglue.deliver.taglib.content.InfoGlueWebServiceTag
getTargetEndpointAddress, invokeOperation, invokeOperation, setTargetEndpointAddress
 
Methods inherited from class org.infoglue.deliver.taglib.TemplateControllerTag
getController
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateContentVersionTag

public UpdateContentVersionTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Initializes the parameters to make it accessible for the children tags (if any).

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to evaluate the body or not.
Throws:
javax.servlet.jsp.JspException - if an error occurred while processing this tag.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

addContentVersionAttribute

public void addContentVersionAttribute(java.lang.String name,
                                       java.lang.String value)
                                throws javax.servlet.jsp.JspException
Adds the content version attribute to the contentVersion Value.

Specified by:
addContentVersionAttribute in interface ContentVersionParameterInterface
Throws:
javax.servlet.jsp.JspException - if the ancestor tag isn't a url tag.

addDigitalAsset

public void addDigitalAsset(RemoteAttachment remoteAttachment)
                     throws javax.servlet.jsp.JspException
Adds the content version attribute to the contentVersion Value.

Specified by:
addDigitalAsset in interface ContentVersionParameterInterface
Throws:
javax.servlet.jsp.JspException - if the ancestor tag isn't a url tag.

setOperationName

public void setOperationName(java.lang.String operationName)
Specified by:
setOperationName in class InfoGlueWebServiceTag

setPrincipal

public void setPrincipal(java.lang.String principalString)
                  throws javax.servlet.jsp.JspException
Overrides:
setPrincipal in class InfoGlueWebServiceTag
Throws:
javax.servlet.jsp.JspException

setContentVersionId

public void setContentVersionId(java.lang.String contentVersionId)
                         throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setContentId

public void setContentId(java.lang.String contentId)
                  throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setLanguageId

public void setLanguageId(java.lang.String languageId)
                   throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setStateId

public void setStateId(java.lang.String stateId)
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setVersionComment

public void setVersionComment(java.lang.String versionComment)
                       throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setVersionValue

public void setVersionValue(java.lang.String versionValue)
                     throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

getOperationName

public java.lang.String getOperationName()
Specified by:
getOperationName in class InfoGlueWebServiceTag


Copyright © 2005 InfoGlue.org All Rights Reserved.