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

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

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

Implementation of the command promote.

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

OwCommandPromote

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

OwCommandPromote

public OwCommandPromote(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 promoted
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
Promote an object

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.