Package org.dspace.app.cris.model.jdyna

Examples of org.dspace.app.cris.model.jdyna.BoxDynamicObject


        String shortName = object.getShortName();
       
        String boxId = request.getParameter("boxId");
                       
        if(boxId!=null && !boxId.isEmpty()) {
            BoxDynamicObject box = getApplicationService().get(BoxDynamicObject.class, Integer.parseInt(boxId));
            if(!shortName.startsWith(box.getTypeDef().getShortName())) {
                object.getReal().setShortName(box.getTypeDef().getShortName() + shortName);  
            }           
        } 
       
        return super.onSubmit(request, response, object, errors);
    }
View Full Code Here


        String shortName = object.getShortName();
       
        String boxId = request.getParameter("boxId");
                       
        if(boxId!=null && !boxId.isEmpty()) {
            BoxDynamicObject box = getApplicationService().get(BoxDynamicObject.class, Integer.parseInt(boxId));
            if(!shortName.startsWith(box.getTypeDef().getShortName())) {
                object.getReal().setShortName(box.getTypeDef().getShortName() + shortName);  
            }           
        } 
        return super.onSubmit(request, response, command, errors);
    }
View Full Code Here

        String shortName = object.getReal().getShortName();
       
        String boxId = request.getParameter("boxId");
                       
        if(boxId!=null && !boxId.isEmpty()) {
            BoxDynamicObject box = getApplicationService().get(BoxDynamicObject.class, Integer.parseInt(boxId));
            if(!shortName.startsWith(box.getTypeDef().getShortName())) {
                object.getReal().setShortName(box.getTypeDef().getShortName() + shortName);  
            }           
        } 
        return super.onSubmit(request, response, command, errors);
    }
View Full Code Here

                    BoxOrganizationUnit.class, boxName);
            return isBoxHidden((OrganizationUnit) anagrafica, box);
        }
        if (anagrafica instanceof ResearchObject)
        {
            BoxDynamicObject box = applicationService.getBoxByShortName(
                    BoxDynamicObject.class, boxName);
            return isBoxHidden((ResearchObject) anagrafica, box);
        }
        BoxResearcherPage box = applicationService.getBoxByShortName(
                BoxResearcherPage.class, boxName);
View Full Code Here

TOP

Related Classes of org.dspace.app.cris.model.jdyna.BoxDynamicObject

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.