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

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

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

Implementation of the command demote.

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
OwCommandDemote(Collection objects_p, com.wewebu.ow.server.app.OwMainAppContext appContext_p, com.wewebu.ow.server.command.OwProcessableObjectStrategy processableObjectStrategy_p)
          Constructor
OwCommandDemote(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)
          Demote 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
 

Constructor Detail

OwCommandDemote

public OwCommandDemote(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.

OwCommandDemote

public OwCommandDemote(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 demoted
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
Demote an object

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.