Examples of PutOperationImpl


Examples of ch.entwine.weblounge.contentrepository.impl.operation.PutOperationImpl

    if (!isStarted())
      throw new IllegalStateException("Content repository is not connected");

    // Create an asynchronous operation representation and return it
    PutOperation putOperation = new PutOperationImpl(resource, false);
    processor.enqueue(putOperation);
    return putOperation;
  }
View Full Code Here

Examples of ch.entwine.weblounge.contentrepository.impl.operation.PutOperationImpl

    if (!isStarted())
      throw new IllegalStateException("Content repository is not connected");

    // Create an asynchronous operation representation and return it
    PutOperation putOperation = new PutOperationImpl(resource, updatePreviews);
    processor.enqueue(putOperation);
    return putOperation;
  }
View Full Code Here

Examples of ch.entwine.weblounge.contentrepository.impl.operation.PutOperationImpl

      if (r == null) {
        logger.debug("Version {} of {} has been removed in the meantime", u.getVersion(), u);
        continue;
      }
      r.lock(user);
      PutOperation putOp = new PutOperationImpl(r, false);
      try {
        CurrentOperation.set(putOp);
        put(r, false);
      } finally {
        CurrentOperation.set(lockOperation);
View Full Code Here

Examples of ch.entwine.weblounge.contentrepository.impl.operation.PutOperationImpl

    Resource<?> resource = null;
    ContentRepositoryOperation<?> unlockOperation = CurrentOperation.get();
    for (ResourceURI u : getVersions(uri)) {
      Resource<?> r = get(u);
      r.unlock();
      PutOperation putOp = new PutOperationImpl(r, false);
      try {
        CurrentOperation.set(putOp);
        put(r, false);
      } finally {
        CurrentOperation.set(unlockOperation);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.