*/
package org.mxchange.jcontactsbusiness.model.branchoffice;
-import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice;
import java.io.Serializable;
import java.util.List;
import javax.ejb.Remote;
+import org.mxchange.jcontactsbusiness.exceptions.branchoffice.BranchOfficeNotFoundException;
/**
* A remote interface for business contact data
@Remote
public interface BranchOfficeSessionBeanRemote extends Serializable {
+ /**
+ * Tries to find a branch office with given id number
+ * <p>
+ * @param branchOfficeId Branch office id
+ * <p>
+ * @return A branch office instance
+ * <p>
+ * @throws BranchOfficeNotFoundException If the branch office was not found
+ */
+ BranchOffice findBranchOfficeById (final Long branchOfficeId) throws BranchOfficeNotFoundException;
+
/**
* Returns a list of all branch offices
* <p>