com.tibco.bpm.web.client.services.actions.workitems
Class CloseWorkItem

java.lang.Object
  extended by com.tibco.bpm.web.client.services.actions.workitems.CloseWorkItem
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, OSAction<WorkItemResult>, net.customware.gwt.dispatch.shared.Action<WorkItemResult>

public class CloseWorkItem
extends java.lang.Object
implements OSAction<WorkItemResult>

Closes a previously opened Work Item and saves any updates made by the User.

©2011 Cloud Software Group, Inc.

Since:
1.2.0
See Also:
WorkItemResult

Constructor Summary
CloseWorkItem(java.lang.String userId, WorkItem item, java.lang.String channelId, java.lang.String channelType)
          Constructs a new CloseWorkItem Action
 
Method Summary
 java.lang.String getChannelId()
          Channel ID, for GWT clients this is typically :
 java.lang.String getChannelType()
          Channel Type, for GWT clients this is typically :
 WorkItem getItem()
          The WorkItem retrieved from a call to OpenWorkItem or OpenNextWorkItem
 java.lang.String getUserId()
          User ID ( GUID ) of the user closing the Work Item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseWorkItem

public CloseWorkItem(java.lang.String userId,
                     WorkItem item,
                     java.lang.String channelId,
                     java.lang.String channelType)
Constructs a new CloseWorkItem Action

Parameters:
userId - User ID ( GUID ) of the user closing the Work Item.
item - The WorkItem retrieved from a call to OpenWorkItem or OpenNextWorkItem
channelId - Channel ID, for GWT clients this is typically :

"openspaceGWTPull_DefaultChannel"

channelType - Channel Type, for GWT clients this is typically :

"GWTChannel"

Method Detail

getUserId

public java.lang.String getUserId()
User ID ( GUID ) of the user closing the Work Item.

Returns:
Returns the userId.

getItem

public WorkItem getItem()
The WorkItem retrieved from a call to OpenWorkItem or OpenNextWorkItem

Returns:
Returns the item.

getChannelId

public java.lang.String getChannelId()
Channel ID, for GWT clients this is typically :

"openspaceGWTPull_DefaultChannel"

Returns:
Returns the channelId.

getChannelType

public java.lang.String getChannelType()
Channel Type, for GWT clients this is typically :

"GWTChannel"

Returns:
Returns the channelType.


Copyright © 2015 Cloud Software Group, Inc. All Rights Reserved.