OrgUnitPicker Class |
[This is preliminary documentation and is subject to change.]
Namespace: CSC.SC.TOPICA4.Template
public class OrgUnitPicker : OrgUnitPickerBase
The OrgUnitPicker type exposes the following members.
Name | Description | |
---|---|---|
OrgUnitPicker |
Default constructor
| |
OrgUnitPicker(CaptionBase) |
Copy constructor
| |
OrgUnitPicker(DataNameBase) |
Copy constructor
| |
OrgUnitPicker(OrgUnitPickerBase) |
Copy constructor
| |
OrgUnitPicker(Picker) |
Copy constructor
| |
OrgUnitPicker(TmplItem) |
Copy constructor
|
Name | Description | |
---|---|---|
Add |
Add sub-item
(Inherited from TmplItem.) | |
AddComputation |
Add computation
(Inherited from TmplItem.) | |
AddHistoryData |
Adds history data to historyDataRow (Overrides TmplItemAddHistoryData(DataRow, FormContext).) | |
AddHistoryDataDefinition |
Adds column to historyDataTable (Overrides TmplItemAddHistoryDataDefinition(DataTable).) | |
AddRule |
Add specified rule to rulcollection
(Inherited from TmplItem.) | |
AllowChild(Type) | (Inherited from Primitive.) | |
AllowChild(TmplItem) | (Inherited from Primitive.) | |
AttributeString |
Returns attriburestring
(Overrides OrgUnitPickerBaseAttributeString.) | |
CheckAll(ProgressCollection, String, String) |
Check TmplItem - including sub-items - for inconsistencies
(Inherited from TmplItem.) | |
CheckAll(ProgressCollection, String, String, Boolean) |
Check TmplItem - including sub-items - for inconsistencies
(Inherited from TmplItem.) | |
CheckDataValueStatus |
Check status (load and input) and generate apporiate messages
(Inherited from Picker.) | |
CheckReport(ProgressCollection, String, String) |
Check TmplItem
(Inherited from TmplItem.) | |
CheckReport(Boolean, ProgressCollection, String, String) |
Check TmplItem - optionally write header and footer
(Inherited from TmplItem.) | |
CheckRules(FormContext, CheckRulesResult) |
Check rules (including fill-in-status) on this item and all subitems
(Inherited from TmplItem.) | |
CheckRules(FormContext, MessageCollection, CheckRulesResult) |
Check rules (including fill-in-status) on this item and all subitems
(Inherited from TmplItem.) | |
CheckRules1 |
Check rules (including fill-in-status) on this element only
(Inherited from TmplItem.) | |
ClearMessages |
Remove all messages
(Inherited from TmplItem.) | |
ClearMessages(MessageSource) |
Remove all messages from a specific source
(Inherited from TmplItem.) | |
Clone |
Implements the Clone method of the ICloneable interface. Enables deep copying of this object
as opposed to the shallow copying of MemberwiseCopy
(Inherited from TmplItem.) | |
ComputeVisibility | (Inherited from TmplItem.) | |
CopySubTmplItems |
Method to copy SubTmplItems from another TmplItem to this.
Default behavior is to only copy those items allowed beneath this TmplItem
Override this method if special handling is needed
(Inherited from TmplItem.) | |
DataClear |
Clear data from the TmplItem
(Inherited from TmplItem.) | |
DataDictionary |
DataDictionary processing for this TmplItem and all sub-items.
Maintains list of parent tables.
(Inherited from TmplItem.) | |
DataDictionaryFieldAdd |
Utility method to add field to DataDictionary
(Inherited from TmplItem.) | |
DataDictionaryFieldCreate(DataDictionary, DataType, Int32, ProgressCollection, String, Boolean) |
Utility method to create a DataDictionary field - not inserted in DataDictionary!
(Inherited from TmplItem.) | |
DataDictionaryFieldCreate(DataDictionary, DataType, String, Int32, ProgressCollection, String, Boolean) |
Utility method to create a DataDictionary field - not inserted in DataDictionary!
(Inherited from TmplItem.) | |
DataDictionaryTableCreate |
Utility method to create table in DataDictionary
(Inherited from TmplItem.) | |
DataDictionaryTableFieldAdd |
Utility method to add a field to the current table
(Inherited from TmplItem.) | |
DataGet |
Get data from submitted HTML form into TemplItem
(Inherited from TmplItem.) | |
DataLoad |
Load data from DynamicRecord dynRec into TmplItem
(Inherited from TmplItem.) | |
DataPostSave |
Called after the record is saved to facilitate various clean-up
(Inherited from TmplItem.) | |
DataSave |
Save data from TmplItem into DynamicRecord dynRec (Inherited from TmplItem.) | |
DebugPrint |
Print to debug listener
(Inherited from TmplItem.) | |
DebugPrint(String) |
Print to debug listener
(Inherited from TmplItem.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate |
Evaluate
(Inherited from TmplItem.) | |
EvaluateSpecific |
Enables sub classes to implement specific evaluation functionality
(Inherited from TmplItem.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindByDataName |
Returns tmpItem that matches specified dataname
(Inherited from TmplItem.) | |
FindByHTMLName |
Returns tmpItem that matches specified htmlname
(Inherited from TmplItem.) | |
FindById |
Search the tree from this node to find a TmplItem with the given id (optionally search recusively)
(Inherited from TmplItem.) | |
FindByUniqueId |
Search the tree from this node to find a TmplItem with the given UniqueId (optionally search recusively)
(Inherited from TmplItem.) | |
FormInit | (Inherited from TmplItem.) | |
GetActualHistoryCaption |
Returns a Caption for displaying in the history tree
(Inherited from DataNameBase.) | |
GetArrayTableContainer |
Returns the ArrayTable that this TmplItem is contained in (null is the
TmplItem isn't contained in an array)
(Inherited from TmplItem.) | |
GetCaption |
Gets Caption
(Inherited from CaptionBase.) | |
GetDataName |
Returns dataname
(Inherited from DataNameBase.) | |
GetDefaultChild |
Returns the default type (subclass of TmplItem) of child this object prefers
(Inherited from TmplItem.) | |
GetFillInStatus |
Get the fill in status of this template item
(Inherited from DataNameBase.) | |
GetGlobalStringResource(String) |
Gets the global string resource. Default to using 'TOPICA' as ClassKey.
(Inherited from TmplItem.) | |
GetGlobalStringResource(String, String) |
Gets the global string resource.
(Inherited from TmplItem.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetHistoryCaption |
Gets Caption
(Inherited from CaptionBase.) | |
GetLocalStringResource(String, String) |
Gets the local string resource.
(Inherited from TmplItem.) | |
GetLocalStringResource(String, String, CultureInfo) |
Gets the local string resource.
(Inherited from TmplItem.) | |
GetMessages |
Get all messages (recursively for entire TmplItem tree)
(Inherited from TmplItem.) | |
GetPostProcess |
Get collection of currently selected post-processing commands
(Inherited from TmplItem.) | |
GetPreProcess |
Collect pre-processing commands recursively (for alle visible elements)
(Inherited from TmplItem.) | |
GetPreProcessedValue |
Get value of attribute addressed by Xpath expression in PreProcessInstruction
(Inherited from DataNameBase.) | |
GetSubItemsByType |
Get all subitems with a specified type
(Inherited from TmplItem.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeAncestorReplaced |
Get output of TOPICAbasic replace on TypeAncestor member
(Inherited from OrgUnitPickerBase.) | |
GetTypeFilterReplaced |
Get output of TOPICAbasic replace on TypeFilter member
(Inherited from OrgUnitPickerBase.) | |
HTMLFormName |
Returns the HTML name of the form tag
(Inherited from TmplItem.) | |
HTMLWrite |
Write HTML: whole TmplItem (caption and control inside span tag)
(Inherited from TmplItem.) | |
IncludeCount |
Get # of Include-items (used to decide whether include-resolving is necessary)
(Inherited from TmplItem.) | |
InsertAfter |
Insert ti after this TmplItem
(Inherited from TmplItem.) | |
InsertBefore |
Insert ti before this TmplItem
(Inherited from TmplItem.) | |
JavaScriptFocus | (Inherited from TmplItem.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MergeInclude |
Merge merge in place of first include item
(Inherited from TmplItem.) | |
NumberString |
Set number strings
(Inherited from TmplItem.) | |
OnPreRender |
Do some postprocesseing immediately after the form HTML has been generated.
Note that the page is not fully generated at this point.
If you need to do some processing after the page has been fulle rendered, use OnPreRenderComplete
(Inherited from TmplItem.) | |
OnPreRenderComplete |
Do some postprocesseing immediately after the whole page has been generated.
(Inherited from TmplItem.) | |
RegisterJavaScriptClearFunction |
Register JavaScript function to clear control
| |
RegisterJavaScriptSearchFunction |
Register JavaScript function to open search window
| |
Renumber |
Renumber id 1, 2, 3, ... in whole hierarchy (depth first)
(Inherited from TmplItem.) | |
Renumber(Int32) |
Renumber id in hierarchy (depth first)
(Inherited from TmplItem.) | |
SetComputation(String, String) |
Set commputation with name and expression expr (Inherited from TmplItem.) | |
SetComputation(DataDictionaryComputationName, String) |
Set commputation with name and expression expr (Inherited from TmplItem.) | |
SetCustomPropertiesOnDataDictionaryTable |
Override this method to set properties on the DataDictionarytable that isn't defined on TmplItem but instead
on a TmplItem inherited class. This default implementation does nothing
(Inherited from TmplItem.) | |
SetDefault |
Set default value
(Inherited from TmplItem.) | |
SetFromPreProcessed |
Set dataValue from the preprocessed data
(Overrides TmplItemSetFromPreProcessed(FormContext, Boolean).) | |
Top |
Get the top item.
(Inherited from TmplItem.) | |
ToString |
For debugging
(Inherited from TmplItem.) | |
WriteStructure |
Write hierarchical structure of this TmplItem and sub-items
(Inherited from TmplItem.) | |
XMLLoad |
Load attributes and subelements from node, optionally resolving includes
(Inherited from TmplItem.) | |
XMLWrite(XmlTextWriter) |
Write TmplItem - (including sub-items) to XML file
(Inherited from TmplItem.) | |
XMLWrite(String, Encoding) |
Write TmplItem - including sub-items - to XML file
(Inherited from TmplItem.) | |
XMLWrite(XmlTextWriter, Boolean) |
Write TmplItem - (including sub-items) to XML file
(Inherited from TmplItem.) | |
XMLWrite(Stream, Encoding, Boolean) |
Write TmplItem - including sub-items - to (Inherited from TmplItem.) | |
XMLWrite(String, Encoding, Boolean) |
Write TmplItem - including sub-items - to XML file
(Inherited from TmplItem.) | |
XMLWrite(Stream, Encoding, Boolean, Boolean) |
Write TmplItem - including sub-items - to (Inherited from TmplItem.) |
Name | Description | |
---|---|---|
Ancestors |
Add ancestors
(Inherited from OrgUnitPickerBase.) | |
Caption |
Field label etc. displayed in data entry form
(Inherited from CaptionBase.) | |
ClassNameControl |
Stylesheet classname for control
(Inherited from TmplItem.) | |
ClassNameControlCell |
Stylesheet classname for table cell containing control
(Inherited from TmplItem.) | |
ClassNameLabel |
Stylesheet classname for label
(Inherited from TmplItem.) | |
ClassNameLabelCell |
Stylesheet classname for table cell containing label
(Inherited from TmplItem.) | |
ClearButtonIcon |
The icon to display on "Clear" button
(Inherited from Picker.) | |
ClearButtonText |
The text to display on "Clear" button
(Inherited from Picker.) | |
ClearOnCopy |
This TmplItem will be cleared when copying
(Inherited from TmplItem.) | |
Comment |
Internal comment for use by designer
(Inherited from TmplItem.) | |
Computation |
Expression that computes default value for field
(Inherited from DataNameBase.) | |
ConvertInfo |
Misc. conversion info.
(Inherited from TmplItem.) | |
DataName |
Name of table / field in data base
(Inherited from DataNameBase.) | |
dataValueStatusInput |
Status of input data
(Inherited from Picker.) | |
dataValueStatusLoad |
Status of loaded data
(Inherited from Picker.) | |
DefaultLastPrevious |
True => field default value is set to last previous value
(Inherited from DataNameBase.) | |
DefaultToUsersEmployer |
If no data is entered the current users employer is default
(Inherited from OrgUnitPickerBase.) | |
Deleted |
TmplItem (and anything below it) is skipped when generating DataDictionary,
so fields will not be generated in database.
(Inherited from TmplItem.) | |
Descendants |
Add descendants
(Inherited from OrgUnitPickerBase.) | |
Description |
Textual description of field definition, use, etc.
(Inherited from DataNameBase.) | |
DisplayFields |
The fields to display - dropdown mode only
(Inherited from Picker.) | |
DrillDown |
Enable selection by drill down using a series of dropdown controls
(Inherited from OrgUnitPickerBase.) | |
ExcludeFromPrint |
The TmplItem is excluded from the printed version of the form
(Inherited from TmplItem.) | |
FillInStatusComputation |
Specifies how empty field is treated
(Inherited from DataNameBase.) | |
FillInStatusSelect |
Specifies how empty field is treated
(Inherited from DataNameBase.) | |
FunctionFilter |
Function name to filter by
(Inherited from OrgUnitPickerBase.) | |
Hidden |
Hidden fields generate fields in DataDictionary (and hence database),
but are not visible in input form.
(Inherited from TmplItem.) | |
HistoryCaption |
Field label displayed in history tree (
(Inherited from CaptionBase.) | |
HTMLName |
Field name in generated HTML form (blank: use DataName)
(Inherited from CaptionBase.) | |
IncludeRoot |
Include "root" in hierarchy or not
(Inherited from OrgUnitPickerBase.) | |
InputField |
Show input field for direct key-in of organization code
(Inherited from OrgUnitPickerBase.) | |
Link |
Reference (e.g. URL) to field definition
(Inherited from DataNameBase.) | |
ListColumn |
Columns in automatically generated list views are sorted by this value.
(Inherited from DataNameBase.) | |
MapToExternalField |
Corresponding field name in som external system - used for mapping during import/export
(Inherited from DataNameBase.) | |
Mode |
DropDown or PopUp window
(Inherited from Picker.) | |
ModuleOnSelect |
Run this module (.aspx) after selecting org.unit
(Inherited from OrgUnitPickerBase.) | |
ModuleParameters |
Parameters sent to modules
(Inherited from OrgUnitPickerBase.) | |
ModuleTab |
Run this module to build a tab for custom selection
(Inherited from OrgUnitPickerBase.) | |
ModuleTabCaption |
Caption in tab for module
(Inherited from OrgUnitPickerBase.) | |
Number |
Should this field be numbered
(Inherited from CaptionBase.) | |
OnBlur |
Custom script for onblur-event
(Inherited from TmplItem.) | |
OnChange |
Custom script for onchange-event
(Inherited from TmplItem.) | |
OnClick |
Custom script for onclick-event
(Inherited from TmplItem.) | |
OnFocus |
Custom script for onfocus-event
(Inherited from TmplItem.) | |
OnKeyDown |
Custom script for onkeydown-event
(Inherited from TmplItem.) | |
OnKeyPress |
Custom script for onkeypress-event
(Inherited from TmplItem.) | |
OnKeyUp |
Custom script for onkeyup-event
(Inherited from TmplItem.) | |
OrderBy |
The field to order by (sorting) - dropdown mode only
(Inherited from Picker.) | |
OrgUnitSelection |
The various selection modes specifying the OrgUnits the user may select from.
Specifies how to fied the "starting point" in the arganizational hierarchy.
(Inherited from OrgUnitPickerBase.) | |
PopUpMode |
PopUpMode
(Inherited from Picker.) | |
PostProcess |
Code (e.g. .aspx) to execute on save
(Inherited from TmplItem.) | |
PreProcess |
Code (e.g. .aspx) to execute on load
(Inherited from TmplItem.) | |
PreProcessInstruction |
XPath expression to find values in preprocessed xml (MUST address an attribute)
(Inherited from DataNameBase.) | |
PublishChanges |
If true, the control is registered as a publisher, which means other controls can subscribe to changes on this control
(Inherited from DataNameBase.) | |
ReadFromFile |
The disk file this TmplItem was read from
(Inherited from TmplItem.) | |
ReadOnly |
Read only expression - if expression evaluates true, field may not be edited
(Inherited from DataNameBase.) | |
RunPreProcessInstructionOnEdit |
Normally the PreProcessInstruction is only run on when creating a new form, set this attribute
to also run the instruction when editing the form
(Inherited from DataNameBase.) | |
Search |
Enable searching by search criterias
(Inherited from OrgUnitPickerBase.) | |
SearchButtonIcon |
The icon to display on "Search" button
(Inherited from Picker.) | |
SearchButtonText |
The text to display on "Search" button
(Inherited from Picker.) | |
SetValueOnCopy |
Expression to set value on new recod in copy operation.
If not set, dfeautl beavior is to copy the value from the source record.
If set, evaluet expression, and set evaluated value on copy.
(Inherited from DataNameBase.) | |
ShowCurrent |
Show the current selected OrgUnit in separate span tag
(Inherited from OrgUnitPickerBase.) | |
SQLQuery |
SQL query used to compute list of OrgUnits to select from.
Only used in DropDown case.
Must return columns: Type, Code, Name
(Inherited from OrgUnitPickerBase.) | |
StyleControl |
Inline style for control
(Inherited from TmplItem.) | |
StyleControlCell |
Inline style for table cell containing control
(Inherited from TmplItem.) | |
StyleLabel |
Inline style for label
(Inherited from TmplItem.) | |
StyleLabelCell |
Inline style for table cell containng label
(Inherited from TmplItem.) | |
subTmplItems |
tmpItemcollection
(Inherited from TmplItem.) | |
Tooltip |
Tooltip
(Inherited from CaptionBase.) | |
TooltipComputation |
Expression to compute tooltip value
(Inherited from CaptionBase.) | |
Tree |
Enable browsing in organizational tree
(Inherited from OrgUnitPickerBase.) | |
TreeExpandLevels |
Number of levels to automatically expand (only when TreeLoadAll is true)
(Inherited from OrgUnitPickerBase.) | |
TreeLoadAll |
Load all nodes in tree - should be used only when browsing small subset of organisation tree
(Inherited from OrgUnitPickerBase.) | |
TypeAncestor |
Type of ancestor organizational unit.
Hs only effect when OrgUnitSelection==DataOwnerAncestor or OrgUnitSelection==PatientOrgUnitAncestor
(Inherited from OrgUnitPickerBase.) | |
TypeFilter |
Type to filter by
(Inherited from OrgUnitPickerBase.) | |
URLHelp |
URL with help etc. for this field
(Inherited from CaptionBase.) | |
ViewName |
Name of table / field in autogenerated views (optional - defaults to DataName)
(Inherited from DataNameBase.) | |
VisibleComputation |
Computation (formula) controlling visibility of item - true => item is visible
(Inherited from TmplItem.) |
Name | Description | |
---|---|---|
ClearFunctionName |
Name of the JavaScript clear function
| |
ClearHandlerKey |
Key for the registered JavaScript clear function
| |
Computations |
Get the DataDictionaryComputationCollection from the TmplItem
(Inherited from TmplItem.) | |
FocusId |
Return id for the HTML element to focus
(Inherited from TmplItem.) | |
FocusSelect |
Return whether a focused element may be selected (e.g. whether .select() should be called)
(Inherited from TmplItem.) | |
Id |
get/set ID
(Inherited from TmplItem.) | |
IdOfFieldToReceiveFocus |
Get the id of the HTML field that should receive focus
(Overrides DataNameBaseIdOfFieldToReceiveFocus.) | |
IsInGridRecord |
Check if this TmplItem is placed (directly) in GridRecord
(Inherited from TmplItem.) | |
IsInsideArray |
Check if this TmplItem is contained in an ArrayTable (recursively)
(Inherited from TmplItem.) | |
PublishingName |
Changes in OrgUnitPicker will be published with this name
(Overrides TmplItemPublishingName.) | |
RegisterPublisherKey |
Key for the registered JavaScript clear function
| |
Rules |
Get the RuleCollection from the TmplItem
(Inherited from TmplItem.) | |
SearchFunctionName |
Name of the JavaScript function function to execute whrne Search button is clicked
| |
SearchHandlerKey |
Key for the registered JavaScript clear function
| |
SubTmplItems |
Get the collection of TmplItems contained in this TmplItem
(Inherited from TmplItem.) | |
SuperTmplItem |
Get/set the parent TmplItem of this TmplItem
(Inherited from TmplItem.) | |
UniqueId |
Get the uniqueId for this TmplItem (randomly set in the ctor)
(Inherited from TmplItem.) |