|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.impl.ui.CustomOperatorUiTranslator
public class CustomOperatorUiTranslator
Utility service used by the KRMS agenda editing UI for display and access to custom operators.
| Constructor Summary | |
|---|---|
CustomOperatorUiTranslator()
|
|
| Method Summary | |
|---|---|
CustomOperator |
getCustomOperator(String customOperatorFormValue)
Gets the service instance given the specially formatted form value. |
String |
getCustomOperatorName(String customOperatorFormValue)
Gets the custom operator function name which is used for display purposes |
boolean |
isCustomOperatorFormValue(String formValue)
Checks if a form value represents a custom operator. |
QName |
parseCustomOperatorServiceQName(String customOperatorFormValue)
Parses the QName for the custom operator service from the form value string, which has the format
customOperator:<Namespace>:<serviceName> |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomOperatorUiTranslator()
| Method Detail |
|---|
public QName parseCustomOperatorServiceQName(String customOperatorFormValue)
QName for the custom operator service from the form value string, which has the format
customOperator:<Namespace>:<serviceName>
customOperatorFormValue -
public String getCustomOperatorName(String customOperatorFormValue)
customOperatorFormValue - the form value representing the custom operator
public CustomOperator getCustomOperator(String customOperatorFormValue)
The form value contains the namespace and name of the service, which is used internally for retrieval.
customOperatorFormValue - the custom operator form value
IllegalArgumentException - if the customOperatorFormValue is null or is formatted incorrectlypublic boolean isCustomOperatorFormValue(String formValue)
The determination is made be checking for a special prefix value that is used by convention.
formValue - the form value to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||