Examples of WorkType


Examples of beans.directory.worktypes.entities.WorkType

    @Override
    public List<Integer> getInsertionPoint(int workType)
            throws ClipsServerException {
        checkCommandAccessibility(COMMAND_READ);
       
        WorkType wt = findEntity(WorkType.class, workType);
        String sql = "SELECT DISTINCT coll.id FROM SheduleIndividualWork siw, Collaborator coll"
            + " WHERE siw.collaborator = coll"
            + " AND coll.trash = false"
            + " AND siw.workType = :type"
            + " AND ((siw.timeBegin > '2007-1-1' AND siw.timeBegin < '2008-1-1')"
View Full Code Here

Examples of com.suarte.core.WorkType

    public String edit() {
        if (id != null) {
            workType = workTypeManager.get(id);
        } else {
            workType = new WorkType();
        }

        return "edit";
    }
View Full Code Here

Examples of domain.shedule.WorkType

    @Override
    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
        Client client = CH.getOptional(getDao(), Client.class, request.getParameter("client"));
        Collaborator collab = CH.getOptional(getDao(), Collaborator.class, request.getParameter("collaborator"));
        WorkType type = CH.getOptional(getDao(), WorkType.class, request.getParameter("type"));
        Lpu lpu = CH.getOptional(getDao(), Lpu.class, request.getParameter("lpu"));
        if (collab == null) {
            return IncomingParamsValidator.redirectTo("/operator/collaborator.htm", client, type, lpu, collab);
        }
        if ((lpu == null) && (type == null)) {
View Full Code Here

Examples of domain.shedule.WorkType

    @Override
    protected ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors) throws Exception {

        Client client = CH.getOptional(getDao(), Client.class, request.getParameter("client"));
        WorkType type = CH.getOptional(getDao(), WorkType.class, request.getParameter("type"));
        Lpu lpu = CH.getOptional(getDao(), Lpu.class, request.getParameter("lpu"));
        Collaborator collab = CH.getOptional(getDao(), Collaborator.class, request.getParameter("collaborator"));

        if (client == null) {
            return IncomingParamsValidator.redirectTo("/reception/index.htm", client, type, lpu, collab);
View Full Code Here

Examples of domain.shedule.WorkType

    @Override
    protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
       
        Client client = CH.getOptional(getDao(), Client.class, request.getParameter("client"));
        WorkType type = CH.getOptional(getDao(), WorkType.class, request.getParameter("type"));
        if (client == null) {
            return IncomingParamsValidator.redirectTo("/reception/index.htm", client, null, null, null);
        }

        HashMap model = new HashMap();
View Full Code Here

Examples of domain.shedule.WorkType

public class CollaboratorController extends GenericAbstractController {

    @Override
    protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {
        Client client = CH.getOptional(getDao(), Client.class, request.getParameter("client"));
        WorkType type = CH.getOptional(getDao(), WorkType.class, request.getParameter("type"));
        Lpu lpu = CH.getOptional(getDao(), Lpu.class, request.getParameter("lpu"));

        if (client == null) {
            return IncomingParamsValidator.redirectTo("/reception/index.htm", client, type, lpu, null);
        } else if (lpu == null && type == null) {
View Full Code Here

Examples of domain.shedule.WorkType

    }

    @Override
    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
        Client client = CH.getOptional(getDao(), Client.class, request.getParameter("client"));
        WorkType type = CH.getOptional(getDao(), WorkType.class, request.getParameter("type"));
        Lpu lpu = CH.getOptional(getDao(), Lpu.class, request.getParameter("lpu"));
        Collaborator collab = CH.getOptional(getDao(), Collaborator.class, request.getParameter("collaborator"));

        if (client == null) {
            return IncomingParamsValidator.redirectTo("/reception/index.htm", client, type, lpu, collab);
View Full Code Here

Examples of edu.csusm.cs671.auction.model.WorkType

    String idTemp = props.getProperty("agentConfig.id");
    int id = Integer.parseInt(idTemp);
    result.setId(id);
   
    String workType0ne = props.getProperty("agentConfig.workPreference.one");
    WorkType workType1 = buildWorkType(workType0ne);
    result.setWorkPreference(workType1, WorkPreferenceType.FIRST);
   
   
    String workTypeTwo = props.getProperty("agentConfig.workPreference.two");
    WorkType workType2 = buildWorkType(workTypeTwo);
    result.setWorkPreference(workType2, WorkPreferenceType.SECOND);
   
    String workTypeThree = props.getProperty("agentConfig.workPreference.three");
    WorkType workType3 = buildWorkType(workTypeThree);
    result.setWorkPreference(workType3, WorkPreferenceType.THIRD);
   
    return result;
  }
View Full Code Here

Examples of org.hibernate.search.backend.WorkType

     * to the type of work being fired.
     * @param work
     */
    private PerEntityWork(Work<T> work) {
      entity = work.getEntity();
      WorkType type = work.getType();
      // sets the initial state:
      switch ( type ) {
      case ADD:
        add = true;
        break;
View Full Code Here

Examples of org.hibernate.search.backend.WorkType

     * work is added to the plan.
     * @param work
     */
    public void addWork(Work<T> work) {
      entity = work.getEntity();
      WorkType type = work.getType();
      switch ( type ) {
      case INDEX:
        batch = true;
        // not breaking intentionally
      case UPDATE:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.