|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.fieldctrlimpl.OwFieldManagerControlNote.OwNote
public static class OwFieldManagerControlNote.OwNote
Convenient class for holding a note.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Constructor Summary | |
|---|---|
OwFieldManagerControlNote.OwNote(Locale locale_p,
String user_p,
String timestamp_p,
String content_p)
Constructor |
|
| Method Summary | |
|---|---|
void |
appendContent(String content_p)
Append m_content to this note. |
static OwFieldManagerControlNote.OwNote |
buildNote(Locale locale_p,
String rawNoteText_p)
Build a note object from a String object. |
static OwFieldManagerControlNote.OwNote |
buildNoteFromOldContent(Locale locale_p,
String rawNoteText_p)
Build a note object from a String object (old style m_notes). |
boolean |
equals(Object o_p)
|
String[] |
getContentLines()
Get the note m_content as lines. |
String |
getFormatedNote()
Get note m_content. |
String |
getHeader()
Get the note header |
int |
getSize()
Get the size of this note. |
int |
hashCode()
|
void |
setShortenThreshold(int threshold_p)
Set the threshold for shortening note. |
void |
setShouldShortenNote(boolean shouldShortNote_p)
Set the shouldShortNote flag. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OwFieldManagerControlNote.OwNote(Locale locale_p,
String user_p,
String timestamp_p,
String content_p)
locale_p - - the locale parameter.user_p - - m_usertimestamp_p - - time stampcontent_p - - note m_content.| Method Detail |
|---|
public boolean equals(Object o_p)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String getFormatedNote()
public String getHeader()
public int getSize()
public void appendContent(String content_p)
content_p - - the m_content to be added.public String[] getContentLines()
public static OwFieldManagerControlNote.OwNote buildNote(Locale locale_p,
String rawNoteText_p)
throws OwFieldManagerControlNote.OwNoteException
locale_p - the current locale.rawNoteText_p - - the m_content.
OwFieldManagerControlNote.OwNoteException - - when a note cannot be created from the given text.
public static OwFieldManagerControlNote.OwNote buildNoteFromOldContent(Locale locale_p,
String rawNoteText_p)
throws OwFieldManagerControlNote.OwNoteException
locale_p - - the current localerawNoteText_p - - the m_content.
OwFieldManagerControlNote.OwNoteException - - thrown when the note cannot be created.public String toString()
toString in class ObjectObject.toString()public void setShouldShortenNote(boolean shouldShortNote_p)
shouldShortNote_p - - the flag.public void setShortenThreshold(int threshold_p)
threshold_p - - the value of threshold.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||