com.arsdigita.cms.workflow
Class EditingTaskURLGenerator

java.lang.Object
  extended bycom.arsdigita.cms.workflow.EditingTaskURLGenerator
All Implemented Interfaces:
TaskURLGenerator

public class EditingTaskURLGenerator
extends Object
implements TaskURLGenerator

Class for generating a URL to the Authoring kit given the ID of the ContentItem and the Task. Eventually we may have a separate kit for editors, hence this is a separate class and has its own TaskType

Version:
$Revision: #9 $ $Date: 2004/04/07 $
Author:
Uday Mathur (umathur@arsdigita.com)

Field Summary
static String versionId
           
 
Constructor Summary
EditingTaskURLGenerator()
           
 
Method Summary
 String generateURL(BigDecimal itemId, BigDecimal taskId)
          Generates a Link to the Workflow Tab in the Item Management part of the CMS UI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

EditingTaskURLGenerator

public EditingTaskURLGenerator()
Method Detail

generateURL

public String generateURL(BigDecimal itemId,
                          BigDecimal taskId)
Generates a Link to the Workflow Tab in the Item Management part of the CMS UI.

Specified by:
generateURL in interface TaskURLGenerator
Parameters:
itemId - a BigDecimal id of the item in question
taskId - this param is ignored.


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC