Package org.infoglue.cms.entities.management.impl.simple

Examples of org.infoglue.cms.entities.management.impl.simple.UserPropertiesImpl


  public UserProperties create(Integer languageId, Integer contentTypeDefinitionId, UserPropertiesVO userPropertiesVO, Database db) throws ConstraintException, SystemException, Exception
    {
    Language language = LanguageController.getController().getLanguageWithId(languageId, db);
    ContentTypeDefinition contentTypeDefinition = ContentTypeDefinitionController.getController().getContentTypeDefinitionWithId(contentTypeDefinitionId, db);

    UserProperties userProperties = new UserPropertiesImpl();
    userProperties.setLanguage((LanguageImpl)language);
    userProperties.setContentTypeDefinition((ContentTypeDefinition)contentTypeDefinition);
 
    userProperties.setValueObject(userPropertiesVO);

    db.create(userProperties);
   
    return userProperties;
  }    
View Full Code Here


      {
        logger.info("Changing userName from '" + currentModifier + "' to '" + newModifier + "' for number of UserProperties: " + results.size());
      }
      while (results.hasMore())
      {
        UserPropertiesImpl up = (UserPropertiesImpl)results.nextElement();
        up.setUserName(newModifier);
        if (logger.isDebugEnabled())
        {
          logger.debug("Changing userName from '" + currentModifier + "' to '" + newModifier + "' for UserProperty with ID: " + up.getUserPropertiesId());
        }
      }

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

TOP

Related Classes of org.infoglue.cms.entities.management.impl.simple.UserPropertiesImpl

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.