Examples of UserConfiguration


Examples of org.opencustomer.util.configuration.UserConfiguration

   
    @Override
    protected final void search(EntityPanel panel, E form, ActionMessages errors, HttpServletRequest request, HttpServletResponse response)
    {
        UserVO activeUser = (UserVO)request.getSession().getAttribute(Globals.USER_KEY);
        UserConfiguration conf = (UserConfiguration)request.getSession().getAttribute(Globals.CONFIGURATION_KEY);

        List<UserListVO> list = null;
        long count = 0;

        List<UserVO> ignoredUsers = getIgnoredUsers(panel);
       
        Sort sort = null;
        if (form.getSort() == null)
            sort = new Sort(PersonListDAO.SORT_LASTNAME, true);
        else
            sort = Sort.parseParam(form.getSort());

        Page page = new Page(conf.getIntValue(UserConfiguration.Key.LIST_NUMBER_ROWS), form.getPage());

        String paramFirstName = form.getFirstName();
        String paramLastName = form.getLastName();
        String paramUserName = form.getUserName();
       
View Full Code Here

Examples of org.opencustomer.util.configuration.UserConfiguration

   
    @Override
    protected final void search(EntityPanel panel, E form, ActionMessages errors, HttpServletRequest request, HttpServletResponse response)
    {
        UserVO user   = (UserVO)request.getSession().getAttribute(Globals.USER_KEY);
        UserConfiguration conf = (UserConfiguration)request.getSession().getAttribute(Globals.CONFIGURATION_KEY);

        List<PersonListVO> list = null;
        long count = 0;

        List<PersonVO> ignoredPersons = getIgnoredPersons(panel);
        if(ignoredPersons != null)
            panel.setAttribute("ignoredPersons", ignoredPersons);
       
        Sort sort = extractSort(panel, form, PersonListDAO.SORT_LASTNAME);
        Page page = new Page(conf.getIntValue(UserConfiguration.Key.LIST_NUMBER_ROWS), form.getPage());

        String paramCompanyName = form.getCompanyName();
        String paramFirstName = form.getFirstName();
        String paramLastName = form.getLastName();
View Full Code Here

Examples of org.opencustomer.util.configuration.UserConfiguration

   
    @Override
    protected final void search(EntityPanel panel, E form, ActionMessages errors, HttpServletRequest request, HttpServletResponse response)
    {
        UserVO activeUser = (UserVO) request.getSession().getAttribute(Globals.USER_KEY);
        UserConfiguration conf = (UserConfiguration)request.getSession().getAttribute(Globals.CONFIGURATION_KEY);

        List<UsergroupVO> list = null;
        long count = 0;

        Sort sort = extractSort(panel, form, UsergroupDAO.SORT_NAME);

        Page page = new Page(conf.getIntValue(UserConfiguration.Key.LIST_NUMBER_ROWS), form.getPage());

        String paramName = form.getName();

        UsergroupDAO.AdminSelect adminSelect = UsergroupDAO.AdminSelect.NOT_ADMIN;
        if(isAdmin(panel))
View Full Code Here

Examples of org.opencustomer.util.configuration.UserConfiguration

   
    @Override
    protected final void search(EntityPanel panel, E form, ActionMessages errors, HttpServletRequest request, HttpServletResponse response)
    {
        UserVO user   = (UserVO)request.getSession().getAttribute(Globals.USER_KEY);
        UserConfiguration conf = (UserConfiguration)request.getSession().getAttribute(Globals.CONFIGURATION_KEY);

        List<CompanyVO> list = null;
        long count = 0;

        Sort sort = extractSort(panel, form, CompanyDAO.SORT_COMPANYNAME);

        Page page = new Page(conf.getIntValue(UserConfiguration.Key.LIST_NUMBER_ROWS), form.getPage());

        String paramCompanyName = form.getCompanyName();

        CompanyDAO dao = new CompanyDAO();
View Full Code Here

Examples of org.opencustomer.util.configuration.UserConfiguration

        if(uservo != null && errors.isEmpty())
        {     
            Authenticator auth = new Authenticator(uservo);
            if(auth.isValid(Right.EXTERN_WEBSERVICE_READ))
            {
                UserConfiguration userConf = new UserConfiguration(uservo);
               
                eventList = new ArrayList<HashMap>();
                EventBeanCalculator calc = new EventBeanCalculator(uservo.getCalendar(),startDate,endDate);
                calc.setWithReminderDate(true);
                List<EventBean> eventBeanList = calc.getEventBeans();
View Full Code Here

Examples of org.opencustomer.util.configuration.UserConfiguration

        List<UserVO> users = new UserDAO().getAll();
        for(UserVO user : users)
        {
            if(log.isDebugEnabled())
                log.debug("loading jobs for: " + user.getUserName());
            UserConfiguration userConf = new UserConfiguration(user);
           
            EventBeanCalculator calc = new EventBeanCalculator(user.getCalendar(),startDate,endDate);
            calc.setWithReminderDate(true);
            List<EventBean> eventBeanList = calc.getEventBeans();
            if(log.isDebugEnabled())
View Full Code Here

Examples of org.skyscreamer.yoga.demo.dto.UserConfiguration

                    .withAliasProperties( this.getClass().getClassLoader().getResourceAsStream( "selectorAlias.properties" ) )
                    .withOutputCountLimit( 2000 )
                    .enableStarAsAllFields()
                    .enableYogaLinks()
                    .registerYogaMetaDataClasses( User.class, Album.class, Artist.class, Song.class )
                    .registerEntityConfigurations( new UserConfiguration( dao ) );

                bind( GenericDao.class ).toInstance( dao );
                bind( YogaBuilderViewFactory.class ).toInstance( new YogaBuilderViewFactory( builder ));
                bind( MetaDataRegistry.class ).toInstance( builder.getMetaDataRegistry() );
                bind( StreamingJsonSelectorMessageBodyWriter.class );
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.