Package evolaris.framework.sys.datamodel

Examples of evolaris.framework.sys.datamodel.ClientProject


        } else {
          // IF  web user from client project with client-project-specific mapping definitions and configuration file within path
          // OR (once this class is thread-safe) web user not an administrator
          // THEN  reopen session with additional tables and/or (once this class is thread-safe) group-specific locking
          if (webUser != null){
            ClientProject clientProject = webUser.getGroup().getClientProject();
            String additionalConfigurationFile = null;
            String hibernateConfigurationFile = clientProject.getHibernateConfigurationFile();
            if (hibernateConfigurationFile != null && getClass().getClassLoader().getResource(hibernateConfigurationFile)!= null){
              additionalConfigurationFile = hibernateConfigurationFile;
            }
            /*Long accessedGroupId = (req.isUserInRole(UserManagerBase.ADMINISTRATOR) ? null : webUser.getGroup().getId());*/
            if (additionalConfigurationFile != null /*|| accessedGroupId != null*/){
 
View Full Code Here


    group.setTimerEventsDisabled(timerEventsDisabled?1:0);
    group.setHomePagePath(homePagePath);

    // client project
    GroupManager groupMgm = new GroupManager(locale,session);
    ClientProject clientProject = groupMgm.getClientProject(clientProjectId);
    if (clientProject == null){
      throw new InputException(resources.getMessage(locale,"um.clientProjectDeleted"));
    }
    group.setClientProject(clientProject);
View Full Code Here

TOP

Related Classes of evolaris.framework.sys.datamodel.ClientProject

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.