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

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


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

    RoleProperties roleProperties = new RolePropertiesImpl();
    roleProperties.setLanguage((LanguageImpl)language);
    roleProperties.setContentTypeDefinition((ContentTypeDefinition)contentTypeDefinition);
 
    roleProperties.setValueObject(rolePropertiesVO);
    db.create(roleProperties);
   
    return roleProperties;
  }    
View Full Code Here

TOP

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

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.