Documentation for class spreadsheet_row (inherits from generic_iacl):


Properties:

name type default params representant foreign foreign_prop position
id CO_INTEGER SEQUENCE READONLY=1;HIDDEN=1 0 0
version CO_INTEGER 0 READONLY=1;HIDDEN=1 0 0
deleted CO_INTEGER 0 READONLY=1;HIDDEN=1 0 0
row_number CO_INTEGER 0 1 44
length CO_INTEGER 0 1 44
spreadsheet_id CO_INTEGER 0 1 spreadsheet id 44
name CO_STRING '' 1 44
align CO_STRING '' 1 44
fontsize CO_STRING '' 1 44
textstyle CO_STRING '' 1 44
textcolor CO_STRING '' 1 44
fontfamily CO_STRING '' 1 44

Methods:


method insertBeforeRow
description: creates new row and inserts before given
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER


method insertAfterRow
description: creates new row and inserts after given
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER


method delete
description: deletes row
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

version
description: Version of object to be changed this must be current version in database. If version = -1 than it is not used. Default value is -1.
type CO_INTEGER


method setAttribute
description: changes row attribute
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

row_id
type CO_INTEGER

attribute_name
type CO_STRING

attribute_value
type CO_STRING_SQL_VALUE


method getAttribute
description: obtains row attribute
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

row_id
type CO_INTEGER

attribute_name
type CO_STRING


method getIdByNumber
description: Requires object number and id of the container (parent);
description: returns id of the element
description: Does not generates actions.
description: It GET for spreadsheet - but class method because we do not know row id.
parameters:

par_area
type CO_STRING

par_class
type CO_STRING

par_id
type CO_INTEGER

id_parent
type CO_INTEGER

number
type CO_INTEGER