com.wewebu.ow.server.plug.owdms
Class OwCommandCancelCheckout

java.lang.Object
  extended by com.wewebu.ow.server.command.OwCommand
      extended by com.wewebu.ow.server.plug.owdms.OwCommandCancelCheckout

public class OwCommandCancelCheckout
extends com.wewebu.ow.server.command.OwCommand

Implementation of the command cancel checkout.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
 
Fields inherited from class com.wewebu.ow.server.command.OwCommand
m_appContext, m_collector, m_objects
 
Constructor Summary
OwCommandCancelCheckout(Collection objects_p, com.wewebu.ow.server.app.OwMainAppContext appContext_p, com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
          Constructor
OwCommandCancelCheckout(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.app.OwMainAppContext appContext_p, com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
          Constructor
 
Method Summary
protected  void processObject(com.wewebu.ow.server.ecm.OwObject object_p)
          Cancel checkout
 
Methods inherited from class com.wewebu.ow.server.command.OwCommand
execute, getAllErrorMessages, getAllErrorNames, getAllErrorObjects, getDisabledObjectNames, getDisabledObjects, getFailedObjectsData, getProcessedDMSIDs, getProcessedObjectNames, getProcessedObjects, hasDisabledObjects, hasErrors, hasProcessedObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCommandCancelCheckout

public OwCommandCancelCheckout(Collection objects_p,
                               com.wewebu.ow.server.app.OwMainAppContext appContext_p,
                               com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
Constructor

Parameters:
objects_p - - the list of objects
appContext_p - - the application context
processableObjectStrategy_p - - checker for processability state of an object.

OwCommandCancelCheckout

public OwCommandCancelCheckout(com.wewebu.ow.server.ecm.OwObject object_p,
                               com.wewebu.ow.server.app.OwMainAppContext appContext_p,
                               com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
Constructor

Parameters:
object_p - - the object to be canceled from checkout operation.
appContext_p - - the application context
processableObjectStrategy_p - - checker for processability state of an object.
Method Detail

processObject

protected void processObject(com.wewebu.ow.server.ecm.OwObject object_p)
                      throws Exception
Cancel checkout

Specified by:
processObject in class com.wewebu.ow.server.command.OwCommand
Parameters:
object_p - - the object to be canceled from checkout operation
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.