public static Tag persist(Tag tag) throws TagException, UnableToCreateEntityException, UnableToLoadEntityException, UCMEntityNotFoundException, UnableToGetEntityException, UnableToInitializeEntityException { /* Make the new tag */ Tag newtag = Tag.newTag( tag.getTagType(), tag.getTagID(), tag.getTagEntity(), Tag.mapToCGI(tag.GetEntries(), true)); /* Delete the old tag */ delete(tag); return newtag; }