Examples of update()


Examples of org.camunda.bpm.engine.rest.dto.identity.UserProfileDto.update()

    if(profile == null || profile.getId() == null) {
      throw new InvalidRequestException(Status.BAD_REQUEST, "request object must provide profile information with valid id.");
    }

    User newUser = identityService.newUser(profile.getId());
    profile.update(newUser);

    if(userDto.getCredentials() != null) {
      newUser.setPassword(userDto.getCredentials().getPassword());
    }
View Full Code Here

Examples of org.candlepin.pinsetter.core.model.JobStatus.update()

            if (endDt != null && startDt != null) {
                time = endDt.getTime() - startDt.getTime();
            }
            when(context.getJobRunTime()).thenReturn(time);
            when(context.getResult()).thenReturn(result);
            status.update(context);
            if (state != null) {
                status.setState(state);
            }
            return curator.create(status);
        }
View Full Code Here

Examples of org.castor.persist.TransactionContext.update()

     */
    public void update(final Object object) throws PersistenceException {
       
        TransactionContext tx = getTransaction();
        ClassMolder molder = _scope.getClassMolder(object.getClass());
        tx.update(molder, object, null);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

Examples of org.chromium.debug.ui.DialogUtils.Updater.update()

              return;
            }
            int newSize = getNewValue(size);
            pathElement.setVisiblePart(newSize);
            updater.reportChanged(visiblePartSource);
            updater.update();
          }

          @Override
          public void widgetDefaultSelected(SelectionEvent e) {
          }
View Full Code Here

Examples of org.conventionsframework.qualifier.BeanState.update()

            return;
        } else {//only a state annotation is present
            BeanState beanState = AnnotationUtils.findStateAnnotation(getClass());
            if (beanState != null) {
                if (beanState.beanState().equals(this.getBeanState().getStateName())) {
                    statePushEvent.fire(new StatePushEvent(new StateItem(beanState.outcome(), getEntity(), getBeanState(), beanState.value(), beanState.title(), this.getClass(), beanState.ajax(), beanState.callback(), beanState.update(),beanState.global(),beanState.resetValues(),beanState.immediate(),beanState.oncomplete(),beanState.addEntityIdParam())));
                }
            }
        }
    }
View Full Code Here

Examples of org.cx4a.rsense.typing.vertex.Vertex.update()

        Vertex beginVertex = createVertex(node.getBeginNode());
        Vertex endVertex = createVertex(node.getEndNode());
        TypeVarMap typeVarMap = RuntimeHelper.getTypeVarMap(range);
        if (typeVarMap != null && beginVertex != null && endVertex != null) {
            Vertex t = createFreeVertex();
            t.update(beginVertex);
            t.update(endVertex);
            typeVarMap.put(TypeVariable.valueOf("t"), t);
        }
        return createSingleTypeVertex(node, range);
    }
View Full Code Here

Examples of org.datanucleus.store.scostore.CollectionStore.update()

            NucleusLogger.PERSISTENCE.debug(LOCALISER.msg("007009", mmd.getFullFieldName()));
        }

        CollectionStore backingStore = ((CollectionStore) storeMgr.getBackingStoreForField(
            ec.getClassLoaderResolver(), mmd, value.getClass()));
        backingStore.update(ownerOP, value);

        // Replace the field with a wrapper containing these elements
        replaceFieldWithWrapper(ownerOP, value, false, false);
    }
View Full Code Here

Examples of org.datanucleus.store.scostore.PersistableRelationStore.update()

            {
                // Update join table entry
                PersistableRelationStore store =
                    (PersistableRelationStore) storeMgr.getBackingStoreForField(
                        sm.getExecutionContext().getClassLoaderResolver(), mmd, mmd.getType());
                store.update(sm, otherSM);
            }
        }
    }

    /**
 
View Full Code Here

Examples of org.deuce.transaction.lsacm.field.WriteFieldAccess.update()

    WriteFieldAccess w = entries.get(hash);
    while (w != null) {
      // Check if we have already written that field
      if (w.getReference() == obj && w.getField() == field) {
        // Update written value
        w.update(type, value);
        return;
      }
      WriteFieldAccess next = w.getNext();
      if (next == null) {
        // We did not write this field (we must add it to write set)
View Full Code Here

Examples of org.deuce.transform.asm.storage.ClassDetails.update()

public class ProxyImplementation implements Opcodes{

  public static byte[] getCode(ArrayList<Object> remoteDetails, String className) {
    ClassDetails cD = new ClassDetails();
    cD.update(className);
    ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
    String[] iF = {"java/rmi/Remote","java/io/Serializable"};
    cw.visit(V1_6, ACC_PUBLIC,className, null,  "java/rmi/server/UnicastRemoteObject",iF);
    ProxyImpl.addCode(remoteDetails, cw, cD);
    cw.visitEnd();
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.