Package org.pau.assetmanager.entities

Examples of org.pau.assetmanager.entities.EntityInterface


  public static <F extends EntityInterface> DaoFunction<F, Void> deleteDetachedFunction() {
    return new DaoFunction<F, Void>() {
      @Override
      protected Void doInTransaction(
          EntityManager entityManager, F argument) {
        EntityInterface result = entityManager.find(
            argument.getClass(), argument.getId());
        entityManager.remove(result);
        return null;
      }
    };
View Full Code Here

TOP

Related Classes of org.pau.assetmanager.entities.EntityInterface

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.