public ContentTypeDefinitionVO create(Integer parentContentTypeDefinitionId, ContentTypeDefinitionVO contentTypeDefinitionVO) throws ConstraintException, SystemException
{
Database db = CastorDatabaseService.getDatabase();
ConstraintExceptionBuffer ceb = new ConstraintExceptionBuffer();
ContentTypeDefinition contentTypeDefinition = null;
beginTransaction(db);
try
{
contentTypeDefinition = create(db, parentContentTypeDefinitionId, contentTypeDefinitionVO);
ceb.throwIfNotEmpty();
commitTransaction(db);
}
catch(ConstraintException ce)
{