|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.impl.repository.language.AbstractTranslationContext
public abstract class AbstractTranslationContext
This is an abstract class for creating a map (containing token/data) used in template translations.
| Field Summary | |
|---|---|
protected static String |
FIELDS_TOKEN
These common shared tokens are needed since velocity doesn't allow periods in tokens. |
| Constructor Summary | |
|---|---|
AbstractTranslationContext()
|
|
| Method Summary | |
|---|---|
Map<String,Object> |
createContextMap(Map<String,Object> parameters)
Creates the context map (template data) for the requirement component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String FIELDS_TOKEN
These common shared tokens are needed since velocity doesn't allow periods in tokens.
E.g. kuali.reqComponent.field.type.totalCredits must either be convert to totalCredits or reqCompFieldType_totalCredits so a template would look like:
'Student must take $totalCredits of MATH 100'
or'Student must take $reqCompFieldType_totalCredits of MATH 100'
| Constructor Detail |
|---|
public AbstractTranslationContext()
| Method Detail |
|---|
public Map<String,Object> createContextMap(Map<String,Object> parameters)
createContextMap in interface TranslationContextparameters -
org.kuali.student.r2.common.exceptions.DoesNotExistException - If CLU, CluSet or relation does not exist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||