
Static Public Member Functions | |
| static NSArray | filteredArrayWithKeyAndValue (NSArray anArray, String key, String value) |
| static void | invalidateObject (EOEnterpriseObject object) |
| static EOEnterpriseObject | localInstance (EOEditingContext ec, EOEnterpriseObject anObject) |
| static Number | primaryKeyForObjectWithKey (EOEnterpriseObject object, String key) |
| static void | reverseSortArrayWithKey (NSMutableArray anArray, String key) |
| static void | reverseSortArrayWithKey1And2 (NSMutableArray anArray, String key1, String key2) |
| static NSArray | reverseSortedArrayWithKey (NSMutableArray anArray, String key) |
| static void | sortArrayWithKey (NSMutableArray anArray, String key) |
| static void | sortArrayWithKey1And2 (NSMutableArray anArray, String key1, String key2) |
| static NSArray | sortedArrayWithKey (NSMutableArray anArray, String key) |
| static String | toHTML (String str) |
Private Member Functions | |
| WBUtilities () | |
Static Private Attributes | |
| static final WBComboFormatter | htmlFormatter = new WBComboFormatter(false, false, true) |
| WBUtilities | ( | ) | [private] |
Filters an array of EOEnterpriseObjects with a key and value.
| anArray | Array of EOEnterpriseObjects | |
| key | Key to filter by | |
| value | Value for key |
| static void invalidateObject | ( | EOEnterpriseObject | object | ) | [static] |
Invalidate the Object
| object | EOEnterpriseObject to invalidate |
| static EOEnterpriseObject localInstance | ( | EOEditingContext | ec, | |
| EOEnterpriseObject | anObject | |||
| ) | [static] |
Short hand method for EOUtilities.localInstanceOfObject(ec, anObject);.
| ec | EOEditingContext | |
| anObject | EOEnterpriseObject |
Returns the Primary Key for an EOEnterpriseObject.
| object | EOEnterpriseObject to get the Primary Key | |
| key | Key for Primary Key |
| static void reverseSortArrayWithKey | ( | NSMutableArray | anArray, | |
| String | key | |||
| ) | [static] |
Sorts an array of EOEnterpriseObjects with a key. The array will be descending.
| anArray | Array of EOEnterpriseObjects | |
| key | Key to sort by |
| static void reverseSortArrayWithKey1And2 | ( | NSMutableArray | anArray, | |
| String | key1, | |||
| String | key2 | |||
| ) | [static] |
Sorts an array of EOEnterpriseObjects with two keys. The array will be descending.
| anArray | Array of EOEnterpriseObjects | |
| key1 | Key to sort by first | |
| key3 | Key to sort by second |
| static NSArray reverseSortedArrayWithKey | ( | NSMutableArray | anArray, | |
| String | key | |||
| ) | [static] |
Sorts an array of EOEnterpriseObjects with a key. The array will be descending.
| anArray | Array of EOEnterpriseObjects | |
| key | Key to sort by |
| static void sortArrayWithKey | ( | NSMutableArray | anArray, | |
| String | key | |||
| ) | [static] |
Sorts an array of EOEnterpriseObjects with a key. The array will be ascending.
| anArray | Array of EOEnterpriseObjects | |
| key | Key to sort by |
| static void sortArrayWithKey1And2 | ( | NSMutableArray | anArray, | |
| String | key1, | |||
| String | key2 | |||
| ) | [static] |
Sorts an array of EOEnterpriseObjects with two keys. The array will be ascending.
| anArray | Array of EOEnterpriseObjects | |
| key1 | Key to sort by first | |
| key3 | Key to sort by second |
| static NSArray sortedArrayWithKey | ( | NSMutableArray | anArray, | |
| String | key | |||
| ) | [static] |
Sorts an array of EOEnterpriseObjects with a key. The array will be ascending.
| anArray | Array of EOEnterpriseObjects | |
| key | Key to sort by |
Takes a String and converts the carriage returns to breaks and tabs to five non-break spaces.
| str | String to format |
final WBComboFormatter htmlFormatter = new WBComboFormatter(false, false, true) [static, private] |
1.5.8