All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tentackle.ns.pdo.rmi.NumberRangeRemoteDelegateImpl Maven / Gradle / Ivy

/**
 * NumberRangeRemoteDelegateImpl.java
 *
 */

package org.tentackle.ns.pdo.rmi;

import org.tentackle.ns.pdo.NumberRange;
import org.tentackle.ns.pdo.NumberRangePersistenceImpl;
import java.rmi.RemoteException;
import org.tentackle.pdo.DomainContext;
import org.tentackle.pdo.rmi.AbstractPersistentObjectRemoteDelegateImpl;
import org.tentackle.misc.TrackedList;
import org.tentackle.persist.rmi.RemoteDbSessionImpl;


/**
 * Remote delegate implementation for {@link NumberRangePersistenceImpl}.
 */
public class NumberRangeRemoteDelegateImpl
             extends AbstractPersistentObjectRemoteDelegateImpl
             implements NumberRangeRemoteDelegate {


  /**
   * Creates the remote delegate for {@link NumberRangePersistenceImpl}.
   *
   * @param session the RMI session
   * @param persistenceClass the persistence implementation class
   * @param pdoClass the pdo interface class
   * @throws java.rmi.RemoteException
   */
  public NumberRangeRemoteDelegateImpl(RemoteDbSessionImpl session, Class persistenceClass, Class pdoClass) throws RemoteException {
    super(session, persistenceClass, pdoClass);
  }
  /**
   * Include wurblet-generated method declarations.
   *
   * @wurblet inclrmi Include --missingok .$classname/methods
   */
  // //GEN-BEGIN:inclrmi


  @Override
  public TrackedList selectByNumberPoolId(DomainContext context, long numberPoolId) throws RemoteException {
    try {
      setDomainContext(context);
      return dbObject.selectByNumberPoolId(numberPoolId);
    }
    catch (Exception e) {
      throw createException(e);
    }
  }

  // //GEN-END:inclrmi

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy