|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.cyclos.impl.systemas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Fills in the given CustomFieldDetailedVOs using values generated from script. ForClass CustomFieldValueHandler, Class<?> getValueType(CustomField<?, ?, ?>)CustomFieldssupportedof typecustom fieldCustomFieldType.DYNAMIC_SELECTIONtypes,callscall the script of type ScriptType.DYNAMICLOAD_CUSTOM_FIELD_VALUES. For othersupportedcustom field types,calldo nothing. @param fieldType The actual custom field class, required to load thescript ofproper entitiestype@paramScriptType.LOAD_CUSTOM_FIELD_VALUESfunction The function to call.FillsMay be called in thevocontextaccordingly.of an entity or a search @param vos Thegivenlist of CustomFieldDetailedVO which will be processed @param variablesareVariables to beaddedbound to the script context.
Returns the type of actual values this field has, according to the field type:Class CustomFieldValueHandler, void setDefaultValues(EntityWithCustomValues<CF, C, PV, V>, Collection<CF>)
- CustomFieldType.STRING, CustomFieldType.TEXT, CustomFieldType.RICH_TEXT or CustomFieldType.URL: String;
- CustomFieldType.BOOLEAN: Boolean;
- CustomFieldType.INTEGER: Integer;
- CustomFieldType.DECIMAL: BigDecimal;
- CustomFieldType.DATE: Date;
- CustomFieldType.SINGLE_SELECTION: the proper subclass of CustomFieldPossibleValue;
- CustomFieldType.MULTI_SELECTION: Set of the proper subclass of CustomFieldPossibleValue;
;- CustomFieldType.DYNAMIC_SELECTION: DynamicFieldValueVO;
- CustomFieldType.FILE: RawFile;
- CustomFieldType.IMAGE: Image;
- CustomFieldType.LINKED_ENTITY: Depends on the linked entity type:
AddsClass CustomFieldValueHandler, Map<String, Object> toMap(Class<CustomField<?, ?, ?>>, Collection<? extends <any>>, boolean)an emptya custom field valueforsettingeachitsfield,default ifand fillit is not present in thedefaultgiven entity according to the fieldsvalueslist.
Returns a Map, keyed by the custom field internal names, whose values are "server side" (example, Date, not DateTime,CustomFieldPossibleValue, not CustomFieldPossibleValueVO, etc) @param sanitize Indicates if text should be sanitized. Should be set to true when reading text from clients, and false when reading data from the database.