com.wewebu.ow.server.plug.owdocdel
Class OwCommandDel

java.lang.Object
  extended by com.wewebu.ow.server.command.OwCommand
      extended by com.wewebu.ow.server.plug.owdocdel.OwCommandDel

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

Delete command, use to delete one or more objects. This class is decoupled from GUI.

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
protected  com.wewebu.ow.server.app.OwClipboard m_clipboard
          the clipboard
protected  boolean m_clipboardCleaned
          flag about clipboard status
 
Fields inherited from class com.wewebu.ow.server.command.OwCommand
m_appContext, m_collector, m_objects
 
Constructor Summary
OwCommandDel(Collection objects_p, com.wewebu.ow.server.app.OwMainAppContext appContext_p, com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
          Constructs a delete command instance
 
Method Summary
protected  void processObject(com.wewebu.ow.server.ecm.OwObject obj_p)
          Delete an object.
 
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
 

Field Detail

m_clipboard

protected com.wewebu.ow.server.app.OwClipboard m_clipboard
the clipboard


m_clipboardCleaned

protected boolean m_clipboardCleaned
flag about clipboard status

Constructor Detail

OwCommandDel

public OwCommandDel(Collection objects_p,
                    com.wewebu.ow.server.app.OwMainAppContext appContext_p,
                    com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
Constructs a delete command instance

Parameters:
objects_p - - the objects to be deleted
appContext_p - - application context
processableObjectStrategy_p - - strategy to decide if a given object is processable.
Method Detail

processObject

protected void processObject(com.wewebu.ow.server.ecm.OwObject obj_p)
                      throws Exception
Delete an object.

Specified by:
processObject in class com.wewebu.ow.server.command.OwCommand
Throws:
Exception
See Also:
OwCommand.processObject(com.wewebu.ow.server.ecm.OwObject)


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.