Package org.fenixedu.academic.domain.accessControl

Examples of org.fenixedu.academic.domain.accessControl.PersistentGroupMembers


    }

    public ActionForward prepareEditPersistentGroup(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {

        PersistentGroupMembers persistentGroup = getPersistentGroupFromParameter(request);
        request.setAttribute("persistentGroup", persistentGroup);
        return mapping.findForward("prepareCreateNewPersistentGroup");
    }
View Full Code Here


    }

    public ActionForward deletePersistentGroup(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {

        PersistentGroupMembers persistentGroup = getPersistentGroupFromParameter(request);
        DeletePersistentGroup.run(persistentGroup);
        return listAllGroups(mapping, form, request, response);
    }
View Full Code Here

    }

    public ActionForward removePersistentGroupMember(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) throws FenixServiceException {

        PersistentGroupMembers persistentGroup = getPersistentGroupFromParameter(request);
        Person person = getPersonFromParameter(request);
        RemovePersistentGroupMember.run(person, persistentGroup);
        return prepareEditPersistentGroup(mapping, form, request, response);
    }
View Full Code Here

public class CreatePersistentGroup {

    protected void run(Unit unit, String name, List<Person> people, PersistentGroupMembersType type) {

        PersistentGroupMembers members = new PersistentGroupMembers(name, type);
        members.setUnit(unit);
        for (Person person : people) {
            members.addPersons(person);
        }
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.accessControl.PersistentGroupMembers

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.