import javax.persistence.Query;
import org.mxchange.jcontacts.exceptions.ContactNotFoundException;
import org.mxchange.pizzaaplication.enterprise.BasePizzaEnterpriseBean;
+
/**
* A contact EJB
* <p>
import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice;
import org.mxchange.jcontactsbusiness.model.department.Department;
import org.mxchange.jcontactsbusiness.model.headquarter.Headquarter;
-import org.mxchange.jcontactsbusiness.model.jobposition.JobPosition;
+import org.mxchange.jcontactsbusiness.model.jobposition.HireableJobPosition;
import org.mxchange.jphone.model.phonenumbers.mobile.DialableMobileNumber;
import org.mxchange.jphone.model.phonenumbers.mobileprovider.MobileProvider;
import org.mxchange.jusercore.model.user.User;
}
// Is headquarter set?
- if (employee.getEmployeeJobPosition() instanceof JobPosition) {
+ if (employee.getEmployeeJobPosition() instanceof HireableJobPosition) {
// Then make it managed
- final JobPosition jobPosition = this.createManaged(employee.getEmployeeJobPosition());
+ final HireableJobPosition jobPosition = this.createManaged(employee.getEmployeeJobPosition());
// Set it back
employee.setEmployeeJobPosition(jobPosition);
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.Query;
+import org.mxchange.jcontactsbusiness.model.headquarter.HeadquarterSessionBeanRemote;
import org.mxchange.pizzaapplication.enterprise.BasePizzaEnterpriseBean;
/**
import java.text.MessageFormat;
import java.util.Date;
import javax.ejb.Stateless;
-import org.mxchange.jphone.exceptions.MobileProviderAlreadyAddedException;
+import org.mxchange.jphone.exceptions.mobileprovider.MobileProviderAlreadyAddedException;
import org.mxchange.pizzaaplication.enterprise.BasePizzaEnterpriseBean;
/**
import javax.jms.JMSException;
import javax.jms.ObjectMessage;
import javax.persistence.Query;
-import org.mxchange.jcoreee.enterprise.BaseEnterpriseBean;
+import org.mxchange.pizzaapplication.enterprise.BasePizzaEnterpriseBean;
import org.mxchange.jusercore.model.user.User;
/**
* @author Roland Häder<roland@mxchange.org>
*/
@Stateless (name = "userActivity", description = "A stateless, session-scored user-activity bean.")
-public class PizzaUserActivitySessionBean extends BaseEnterpiseBean implements UserActivityLogSessionBeanRemote {
+public class PizzaUserActivitySessionBean extends BasePizzaEnterpiseBean implements UserActivityLogSessionBeanRemote {
/**
* Serial number