com.wewebu.ow.server.plug.owdms
Class OwCommandPromote
java.lang.Object
com.wewebu.ow.server.command.OwCommand
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
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 |
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 objectsappContext_p
- - the application contextprocessableObjectStrategy_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 promotedappContext_p
- - the application contextprocessableObjectStrategy_p
- - checker for processability state of an object.
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.