Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api.operation
Class LockOperation

java.lang.Object
  extended by org.nuxeo.ecm.core.api.operation.Operation<String>
      extended by org.nuxeo.ecm.core.api.operation.LockOperation
All Implemented Interfaces:
Serializable

public class LockOperation
extends Operation<String>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.nuxeo.ecm.core.api.operation.Operation
ASYNC, BLOCK_CHILD_NOTIFICATIONS, BLOCK_JMS, INTERNAL, KEYED_DATA, NONE, OPERATION_END, OPERATION_START, RESERVED, RUNNING, START_EVENT, TERMINATE_EVENT, TERMINATED, URGENT, USER_FLAGS
 
Constructor Summary
LockOperation(DocumentRef ref, String key)
           
 
Method Summary
 String doRun(ProgressMonitor montior)
           
 
Methods inherited from class org.nuxeo.ecm.core.api.operation.Operation
addModification, addModification, clearFlags, fillCommandStack, getCommandStack, getCurrent, getData, getData, getDuration, getEndedDate, getFlags, getModifications, getName, getParent, getResult, getSession, getStack, getStartedDate, getStatus, isFlagSet, isRunning, isStartedBefore, isTerminated, printCommandStack, printStack, run, setData, setData, setFlags, toString, USER_FLAG
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockOperation

public LockOperation(DocumentRef ref,
                     String key)
Method Detail

doRun

public String doRun(ProgressMonitor montior)
             throws Exception
Specified by:
doRun in class Operation<String>
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.