Package org.dspace.app.webui.cris.dto

Examples of org.dspace.app.webui.cris.dto.ManageRelationDTO


    {
        ACrisObject cris = getCRISObject(request);
        if (!"submit_exit".equalsIgnoreCase(UIUtil.getSubmitButton(request, "exit")))
        {
            Context context = UIUtil.obtainContext(request);
            ManageRelationDTO dto = (ManageRelationDTO) command;
            String relationType = getRelationType(request);
            boolean doneChange = false;
   
            doneChange = relationService.unlink(context, cris, relationType,
                    dto.getToUnLink())
                    || doneChange;
            doneChange = relationService.active(context, cris, relationType,
                    dto.getToActivate())
                    || doneChange;
            doneChange = relationService.hide(context, cris, relationType,
                    dto.getToHide())
                    || doneChange;
   
            List<String> newSelectedItems = dto.getOrderedSelected();
            doneChange = relationService.select(context, cris, relationType,
                    newSelectedItems) || doneChange;
   
            if (doneChange)
            {
View Full Code Here

TOP

Related Classes of org.dspace.app.webui.cris.dto.ManageRelationDTO

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.