Examples of UserProperties


Examples of org.infoglue.cms.entities.management.UserProperties

        results = oql.execute();
    }
   
    while (results.hasMore())
    {
      UserProperties userProperties = (UserProperties)results.next();
      userPropertiesList.add(userProperties);
    }

    results.close();
    oql.close();
View Full Code Here

Examples of org.infoglue.cms.entities.management.UserProperties

        beginTransaction(db);

        try
        {
      UserProperties userProperties = UserPropertiesController.getController().getUserPropertiesWithId(userPropertiesId, db);
      if(userProperties != null)
      {
        Collection digitalAssets = userProperties.getDigitalAssets();
        digitalAssetVOList = toVOList(digitalAssets);
      }
                 
            commitTransaction(db);
        }
View Full Code Here

Examples of org.infoglue.cms.entities.management.UserProperties

         
        contentVersion.getDigitalAssets().add(digitalAsset);           
        }
        else if(entity.equalsIgnoreCase(UserProperties.class.getName()))
        {
        UserProperties userProperties = UserPropertiesController.getController().getUserPropertiesWithId(entityId, db);
        Collection userPropertiesList = new ArrayList();
        userPropertiesList.add(userProperties);
        logger.info("Added userProperties:" + userProperties.getId());
        
        digitalAsset = new DigitalAssetImpl();
        digitalAsset.setValueObject(digitalAssetVO);
        if(CmsPropertyHandler.getEnableDiskAssets().equals("false"))
          digitalAsset.setAssetBlob(is);
        digitalAsset.setUserProperties(userPropertiesList);
       
        db.create(digitalAsset);
         
        userProperties.getDigitalAssets().add(digitalAsset);           
        }
        else if(entity.equalsIgnoreCase(RoleProperties.class.getName()))
        {
            RoleProperties roleProperties = RolePropertiesController.getController().getRolePropertiesWithId(entityId, db);
        Collection rolePropertiesList = new ArrayList();
View Full Code Here

Examples of org.jivesoftware.openfire.commands.admin.user.UserProperties

        addCommand(new UpdateGroup());
        addCommand(new DeleteGroup());
        addCommand(new AddUser());
        addCommand(new AuthenticateUser());
        addCommand(new ChangeUserPassword());
        addCommand(new UserProperties());
        addCommand(new PacketsNotification());
        addCommand(new GetServerStats());
        addCommand(new HttpBindStatus());
        addCommand(new ChangeSharedSecret());
        addCommand(new UserCreated());
View Full Code Here

Examples of org.onebusaway.users.model.UserProperties

    return getServiceForVersion(maxVersion);
  }

  private int getPropertiesVersion(User user) {
    UserProperties props = user.getProperties();
    if (props instanceof UserPropertiesV1)
      return 1;
    if (props instanceof UserPropertiesV2)
      return 2;

    _log.warn("unknown user properties version: " + props.getClass());
    return 0;
  }
View Full Code Here

Examples of org.onebusaway.users.model.UserProperties

        for (int userId : userIds) {
          User user = _dao.getUserForId(userId);
          _log.info("processing user: id=" + user.getId());
          if (_propertiesMigration.needsMigration(user.getProperties(), _target)) {
            _log.info("migrating user: id=" + user.getId());
            UserProperties properties = _propertiesMigration.migrate(
                user.getProperties(), _target);
            user.setProperties(properties);
            _dao.saveOrUpdateUser(user);
            usersConverted++;
          }
View Full Code Here

Examples of org.onebusaway.users.model.UserProperties

  /****
   * Private Methods
   ****/

  private UserPropertiesV2 getProperties(User user) {
    UserProperties props = user.getProperties();
    UserPropertiesV2 v2 = _userPropertiesMigration.migrate(props,
        UserPropertiesV2.class);
    if (props != v2)
      user.setProperties(v2);
    return v2;
View Full Code Here

Examples of org.traccar.web.client.model.UserProperties

    public UsersDialog(ListStore<User> userStore, UserHandler userHandler) {
        this.userStore = userStore;
        this.userHandler = userHandler;

        UserProperties userProperties = GWT.create(UserProperties.class);

        List<ColumnConfig<User, ?>> columnConfigList = new LinkedList<ColumnConfig<User, ?>>();
        columnConfigList.add(new ColumnConfig<User, String>(userProperties.login(), 0, "Name"));
        columnConfigList.add(new ColumnConfig<User, Boolean>(userProperties.admin(), 0, "Administrator"));
        columnModel = new ColumnModel<User>(columnConfigList);

        uiBinder.createAndBindUi(this);

        grid.getSelectionModel().addSelectionChangedHandler(this);
View Full Code Here

Examples of org.traccar.web.client.model.UserProperties

    @Override
    public void onUsersSelected() {
        Application.getDataService().getUsers(new BaseAsyncCallback<List<User>>() {
            @Override
            public void onSuccess(List<User> result) {
                UserProperties userProperties = GWT.create(UserProperties.class);
                final ListStore<User> userStore = new ListStore<User>(userProperties.id());
                userStore.addAll(result);

                new UsersDialog(userStore, new UsersDialog.UserHandler() {

                    @Override
View Full Code Here

Examples of simtools.ui.UserProperties

   * <br><b>Summary:</b><br>
   * initialise stuff such as, userproperties, language and the actions.
   */
  private void init(){
    // Read properties => this contain the user preference, including language setup
    userProperties=new UserProperties("jlogtool", true);
    userProperties.read();

    // language may be "fr", or "en_US", or whatever. If unsupported, it will default to best match
    String language = userProperties.getString("jlogtool.language","");

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.