public GroupProperties create(Integer languageId, Integer contentTypeDefinitionId, GroupPropertiesVO groupPropertiesVO, Database db) throws ConstraintException, SystemException, Exception
{
Language language = LanguageController.getController().getLanguageWithId(languageId, db);
ContentTypeDefinition contentTypeDefinition = ContentTypeDefinitionController.getController().getContentTypeDefinitionWithId(contentTypeDefinitionId, db);
GroupProperties groupProperties = new GroupPropertiesImpl();
groupProperties.setLanguage((LanguageImpl)language);
groupProperties.setContentTypeDefinition((ContentTypeDefinition)contentTypeDefinition);
groupProperties.setValueObject(groupPropertiesVO);
db.create(groupProperties);
return groupProperties;
}