|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.ObjectPropertyValue
Supported API: false
Extendable: false
Field Summary | |
protected static String |
BLANK_SPACE
|
static String |
PLAIN_TEXT_ONLY
|
protected static boolean |
VERBOSE
|
Constructor Summary | |
ObjectPropertyValue()
|
Method Summary | |
static Method |
getGetterMethod(String attribute,
Object obj)
This uses introspection to find the getter method for the object passed in and it's attribute. |
protected static String |
getObjectIdentity(Object object,
Locale locale)
|
protected String |
getObjectPropertyValueString(String propertyName,
Properties parameters,
Locale locale,
Object obj)
A utility method that implements some of the basic functionality needed by objectPropertyValue(). |
protected String |
getObjectPropertyValueString(String propertyName,
Properties parameters,
Locale locale,
Object obj,
boolean warn)
|
protected String |
getParentFolderLink(CabinetBased cabinet_based,
String label,
Locale locale)
Returns the String containing the HTML code to display a Hyperlink to the object properties page of the parent folder of the given FolderEntry object. |
protected String |
getPrincipalEmailLink(WTPrincipalReference principal,
String args)
Returns a String containing the HTML code to display a mail-to hyperlink to the e-mail of the principal referenced by the given WTPrincipalReference. |
protected String |
getPrincipalEmailLink(WTPrincipal principal,
String args)
Returns a String containing the HTML code to display a mail-to hyperlink to the e-mail of the given principal. |
String |
getSearchResultsURL(String attribute,
String value,
String label,
String search_objs,
Locale locale)
Supported API: false |
static String |
objectActionLinkAux(Object obj,
String action,
String label,
Locale locale)
A utility method that implements some of the basic functionality needed by objectActionLink(). |
static String |
objectActionLinkAux(Object obj,
String action,
String label,
Properties params,
Locale locale)
A utility method that implements some of the basic functionality needed by objectActionLink(). |
static String |
objectActionLinkAux(Object obj,
String action,
String label,
Properties params,
String href_props,
Locale locale)
A utility method that implements some of the basic functionality needed by objectActionLink(). |
static String |
objectActionLinkAux(Object obj,
String action,
String label,
String href_props,
Locale locale)
A utility method that implements some of the basic functionality needed by objectActionLink(). |
String |
objectPropertyValueString(Object source,
String propertyName,
Properties parameters,
Locale locale)
|
private String |
removeEnclosingQuotes(String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static boolean VERBOSE
protected static final String BLANK_SPACE
public static final String PLAIN_TEXT_ONLY
Constructor Detail |
public ObjectPropertyValue()
Method Detail |
public String objectPropertyValueString(Object source, String propertyName, Properties parameters, Locale locale) throws WTIntrospectionException, WTException
WTIntrospectionException
WTException
protected String getObjectPropertyValueString(String propertyName, Properties parameters, Locale locale, Object obj) throws WTIntrospectionException, WTException
WTIntrospectionException
WTException
protected String getObjectPropertyValueString(String propertyName, Properties parameters, Locale locale, Object obj, boolean warn) throws WTIntrospectionException, WTException
WTIntrospectionException
WTException
private String removeEnclosingQuotes(String value)
protected String getParentFolderLink(CabinetBased cabinet_based, String label, Locale locale)
cabinet_based
- the CabinetBased object for which the link to the properties
page of the parent folder is returnedlabel
- the String label to use as the link text. If no label is given,
the display identity of the parent folder is used.locale
- the Locale in which the link will be displayed
public static String objectActionLinkAux(Object obj, String action, String label, Locale locale) throws WTException
obj
- the Object to be the context object of the linkaction
- the action to link to (i.e. ObjProps)label
- the label to use as the text of the HREF link
WTException
public static String objectActionLinkAux(Object obj, String action, String label, String href_props, Locale locale) throws WTException
obj
- the Object to be the context object of the linkaction
- the action to link to (i.e. ObjProps)label
- the label to use as the text of the HREF linkhref_props
- a String containing HTML code to be used in
the HREF tags.
WTException
public static String objectActionLinkAux(Object obj, String action, String label, Properties params, Locale locale) throws WTException
WTException
protected String getPrincipalEmailLink(WTPrincipalReference principal, String args)
principal
- the WTPrincipalReference referencing the principal for which
a hyperlink to his/her e-mail is returned.args
- an optional string containing HTML code to be used in building
the HREF link.
protected String getPrincipalEmailLink(WTPrincipal principal, String args)
principal
- the WTPrincipal for which a hyperlink to his/her e-mail is returned.args
- an optional string containing HTML code to be used in building
the HREF link.
public String getSearchResultsURL(String attribute, String value, String label, String search_objs, Locale locale)
protected static String getObjectIdentity(Object object, Locale locale)
public static Method getGetterMethod(String attribute, Object obj) throws WTException
attribute
- for which to find the getter
WTException
public static String objectActionLinkAux(Object obj, String action, String label, Properties params, String href_props, Locale locale) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |