Class RowDefaulter
Defaulter for HDB row objects.
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public sealed class RowDefaulter : Object
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
Methods
GetDefaultMDOValue(MDOType)
Get default value for an MDO List.
Declaration
public static int GetDefaultMDOValue(MDOType mdoType)
Parameters
Type | Name | Description |
---|---|---|
MDOType | mdoType | Type of MDO list to get the default value for. |
Returns
Type | Description |
---|---|
Int32 | Default value for the MDO list. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(AppointmentRow)
Set default values for a AppointmentRow object.
Declaration
public static void SetDefaults(AppointmentRow row)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(AppointmentRow, DefaulterStrategy)
Set default values for a AppointmentRow object.
Declaration
public static void SetDefaults(AppointmentRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(AppointmentRow, TaskType)
Set default values for a AppointmentRow object. Overwrites existing values
Declaration
public static void SetDefaults(AppointmentRow row, TaskType type)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRow | row | The row to set default values on. |
TaskType | type | The type of appointment |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(AppointmentRow, TaskType, DefaulterStrategy)
Set default values for a AppointmentRow object. Overwrites existing values
Declaration
public static void SetDefaults(AppointmentRow row, TaskType type, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
AppointmentRow | row | The row to set default values on. |
TaskType | type | The type of appointment |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(ContactRow)
Set default values for a ContactRows object.
Declaration
public static void SetDefaults(ContactRow row)
Parameters
Type | Name | Description |
---|---|---|
ContactRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(ContactRow, DefaulterStrategy)
Set default values for a ContactRows object.
Declaration
public static void SetDefaults(ContactRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
ContactRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(DocumentRow)
Set default values for a DocumentRow object.
Declaration
public static void SetDefaults(DocumentRow row)
Parameters
Type | Name | Description |
---|---|---|
DocumentRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(DocumentRow, DefaulterStrategy)
Set default values for a DocumentRow object.
Declaration
public static void SetDefaults(DocumentRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
DocumentRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(EjCategoryRow)
Set default values for a EjCategoryRow object.
Declaration
public static void SetDefaults(EjCategoryRow row)
Parameters
Type | Name | Description |
---|---|---|
EjCategoryRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(EjCategoryRow, DefaulterStrategy)
Set default values for a EjCategoryRow object.
Declaration
public static void SetDefaults(EjCategoryRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
EjCategoryRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(PersonRow)
Set default values for a PersonRow object.
Declaration
public static void SetDefaults(PersonRow row)
Parameters
Type | Name | Description |
---|---|---|
PersonRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(PersonRow, ContactRow)
Set default values for a PersonRow object.
Declaration
public static void SetDefaults(PersonRow row, ContactRow contact)
Parameters
Type | Name | Description |
---|---|---|
PersonRow | row | The row to set default values on. |
ContactRow | contact | The contact row that contains default data. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(PersonRow, ContactRow, DefaulterStrategy)
Set default values for a PersonRow object.
Declaration
public static void SetDefaults(PersonRow row, ContactRow contact, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
PersonRow | row | The row to set default values on. |
ContactRow | contact | The contact row that contains default data. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(PersonRow, DefaulterStrategy)
Set default values for a PersonRow object.
Declaration
public static void SetDefaults(PersonRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
PersonRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(PersonRow, Int32)
Set default values for a PersonRow object.
Declaration
public static void SetDefaults(PersonRow row, int contactId)
Parameters
Type | Name | Description |
---|---|---|
PersonRow | row | The row to set default values on. |
Int32 | contactId |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(PersonRow, Int32, DefaulterStrategy)
Set default values for a PersonRow object.
Declaration
public static void SetDefaults(PersonRow row, int contactId, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
PersonRow | row | The row to set default values on. |
Int32 | contactId | |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(ProjectRow)
Set default values for a ProjectRow object.
Declaration
public static void SetDefaults(ProjectRow row)
Parameters
Type | Name | Description |
---|---|---|
ProjectRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(ProjectRow, DefaulterStrategy)
Set default values for a ProjectRow object.
Declaration
public static void SetDefaults(ProjectRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
ProjectRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(RelationsRow)
Set default values for a RelationsRow object: associate id, group id, end date
Declaration
public static void SetDefaults(RelationsRow row)
Parameters
Type | Name | Description |
---|---|---|
RelationsRow | row |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(RelationsRow, DefaulterStrategy)
Set default values for a RelationsRow object: associate id, group id, end date
Declaration
public static void SetDefaults(RelationsRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
RelationsRow | row | |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(SaleRow)
Set default values for a SaleRow object.
Declaration
public static void SetDefaults(SaleRow row)
Parameters
Type | Name | Description |
---|---|---|
SaleRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(SaleRow, DefaulterStrategy)
Set default values for a SaleRow object.
Declaration
public static void SetDefaults(SaleRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
SaleRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(SelectionRow)
Set default values for a SelectionRow object.
Declaration
public static void SetDefaults(SelectionRow row)
Parameters
Type | Name | Description |
---|---|---|
SelectionRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(SelectionRow, DefaulterStrategy)
Set default values for a SelectionRow object.
Declaration
public static void SetDefaults(SelectionRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
SelectionRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TableRowBase)
Set default values for a row. This default implementation does nothing.
Declaration
public static void SetDefaults(TableRowBase row)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TableRowBase, DefaulterStrategy)
Set default values for a row. This default implementation does nothing.
Declaration
public static void SetDefaults(TableRowBase row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
TableRowBase | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TicketPriorityRow)
Set default values for a TicketPriorityRow
Declaration
public static void SetDefaults(TicketPriorityRow row)
Parameters
Type | Name | Description |
---|---|---|
TicketPriorityRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TicketPriorityRow, DefaulterStrategy)
Set default values for a TicketPriorityRow. Implementation correctly sets all default values, like sortOrder, start/stop dates, etc.
Declaration
public static void SetDefaults(TicketPriorityRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
TicketPriorityRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TicketStatusRow)
Set default values for a TicketStatusRow object.
Declaration
public static void SetDefaults(TicketStatusRow row)
Parameters
Type | Name | Description |
---|---|---|
TicketStatusRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TicketStatusRow, DefaulterStrategy)
Set default values for a TicketStatusRow object.
Declaration
public static void SetDefaults(TicketStatusRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
TicketStatusRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TicketTypeRow)
Set default values for a TicketTypeRow object.
Declaration
public static void SetDefaults(TicketTypeRow row)
Parameters
Type | Name | Description |
---|---|---|
TicketTypeRow | row | The row to set default values on. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);
SetDefaults(TicketTypeRow, DefaulterStrategy)
Set default values for a TicketTypeRow object.
Declaration
public static void SetDefaults(TicketTypeRow row, DefaulterStrategy strategy)
Parameters
Type | Name | Description |
---|---|---|
TicketTypeRow | row | The row to set default values on. |
DefaulterStrategy | strategy | Strategy used when appliying default values. |
Remarks
This defaulter does not know anything about relations, hence the contacts country is not applied on the person and the appointment's text is not set on hte related text object.
Examples
Takes a HDB Row object and set default values..
ContactRow row; // Some row
RowDefaulter.SetDefaults(row);