Package org.dmlite.model.action

Examples of org.dmlite.model.action.EntityAction


   * @throws dmLite
   *             action exception if there is a problem
   */
  public boolean update(T entity) throws ActionException {
    boolean updated = false;
    EntityAction entityAction = new EntityAction("update");
    entityAction.setEntity(this);
    entityAction.setParameter(entity);
    try {
      if (this == entity) {
        String error = "Two update entities cannot be the same object.";
        throw new ActionException(error, entityAction);
      }
View Full Code Here

TOP

Related Classes of org.dmlite.model.action.EntityAction

Copyright © 2018 www.massapicom. 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.