
Public Types | |
| enum | Inclusion { ANY, ALL } |
Public Member Functions | |
| void | untagAllTaggables () |
| void | willDelete () throws ValidationException |
Static Public Member Functions | |
| static void | deleteTagNamed (EOEditingContext editingContext, String tagName) |
| static void | deleteTagNamed (String tagName) |
| static String | escapeTagNamed (String tagName) |
Static Private Attributes | |
| static Logger | log = Logger.getLogger(ERTag.class) |
| enum Inclusion |
| static void deleteTagNamed | ( | EOEditingContext | editingContext, | |
| String | tagName | |||
| ) | [static] |
Deletes the tag with the given name and removes the tag from all taggables.
| editingContext | the editing context to delete in | |
| tagName | the tag name to delete |
| static void deleteTagNamed | ( | String | tagName | ) | [static] |
Deletes the tag with the given name and removes the tag from all taggables.
| tagName | the tag name to delete |
Escapes the quotes inside the given tag name and defensively surrounds this tag with quotes.
| tagName | the tag name to escape |
| void untagAllTaggables | ( | ) |
Removes this tag from all taggables. This is automatically called prior to deleting an ERTag.
| void willDelete | ( | ) | throws ValidationException [virtual] |
Called as part of the augmented transaction process. This method is called after saveChanges is called on the editing context, but before the object is actually deleted from the database. This method is also called before validateForDelete is called on this object. This method is called by the editing context delegate ERXDefaultEditingContextDelegate.
| NSValidation.ValidationException | to stop the object from being deleted. |
Reimplemented from ERXGenericRecord.
Logger log = Logger.getLogger(ERTag.class) [static, private] |
general logging support
Implements ERXEnterpriseObject.
1.5.8