Package org.infoglue.cms.applications.workflowtool.util

Examples of org.infoglue.cms.applications.workflowtool.util.ContentVersionValues


  /**
   *
   */
  protected void populateContentVersionValues() throws WorkflowException
  {
    final ContentVersionValues result = new ContentVersionValues();
    final List contentTypeAttributes = getContentTypeAttributes();
    for(Iterator i=contentTypeAttributes.iterator(); i.hasNext(); )
    {
      final ContentTypeAttribute attribute = (ContentTypeAttribute) i.next();
      result.set(attribute.getName(), populate(CONTENT_VERSION_PROPERTYSET_PREFIX + attribute.getName()));
    }
    setParameter(CONTENT_VERSION_VALUES_PARAMETER, result);
  }
View Full Code Here


   */
  protected void initialize() throws WorkflowException
  {
    super.initialize();
    final String attributeName = getArgument(ATTRIBUTE_ARGUMENT);
    final ContentVersionValues contentVersionValues = (ContentVersionValues) getParameter(ContentPopulator.CONTENT_VERSION_VALUES_PARAMETER, null);
    if(contentVersionValues != null && contentVersionValues.contains(attributeName))
    {
      title = contentVersionValues.get(attributeName).toString();
    }
  }
View Full Code Here

TOP

Related Classes of org.infoglue.cms.applications.workflowtool.util.ContentVersionValues

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.