Class NoteUtils API
Package name: com.brekeke.pbx.common
This class is used to access Notes. When referring to or editing a note, the methods in this class should be used.
*For Brekeke Multi-Tenant PBX, if call the note which is created under a tenant, parameter “name” in above method is in format <tenant_name>.<note_name>
read
| Signature | public static String read( String name ) | 
| Description | Read contents of the note | 
| Parameters | name: Name of the note | 
| Returns | Contents of the note | 
write
| Signature | public static boolean write( String name, String text ) | 
| Description | Write into the note | 
| Parameters | name: Name of the note text: Character string which will be written in the note | 
| Returns | Returns “true” on success, “false” on fail | 
lastModified
| Signature | public static long lastModified( String name ) | 
| Description | Returns the time when the note was last edited. | 
| Parameters | name: Name of the note | 
| Returns | Return time of the last edit using “long” value. “OL” will be returned when the note does not exist or error occured | 
exists
| Signature | public static boolean exists( String name ) | 
| Description | Look for the specified note | 
| Parameters | name: Name of the note | 
| Returns | Return “true” when specified note exists, if not, returns “false“. | 
Related Links:
