{
List groupContentTypeDefinitionList = this.getGroupContentTypeDefinitionList(groupName, db);
Iterator contentTypeDefinitionsIterator = groupContentTypeDefinitionList.iterator();
while(contentTypeDefinitionsIterator.hasNext())
{
GroupContentTypeDefinition groupContentTypeDefinition = (GroupContentTypeDefinition)contentTypeDefinitionsIterator.next();
db.remove(groupContentTypeDefinition);
}
for(int i=0; i<contentTypeDefinitionIds.length; i++)
{