Skip to main content

DataItem

Data transition and control of actions operations, used in scripts in server/actions.

if (_dataItem.isUpdate()) {
_log.info('Changed record ID: '+ _dataItem.id);
}

getCounter


getCounter() : int

Return

( int )


getErrorMessage


getErrorMessage() : string

Return

( string )


getErrorTitle


getErrorTitle() : string

Return

( string )


getField


getField() : string

Return

( string )


getFirebaseValues


getFirebaseValues() : Values

Return

( Values )


getId


getId() : string

Return

( string )


getOldRecord


getOldRecord() : Values

Return

( Values )


getRecord


getRecord() : Values

Return

( Values )


getRelationItem


getRelationItem() : Values

Return

( Values )


getRelationTable


getRelationTable() : Values

Return

( Values )


getStatus


getStatus() : org.netuno.tritao.db.DataItem$Status

Return

( org.netuno.tritao.db.DataItem$Status )


getStatusType


getStatusType() : org.netuno.tritao.db.DataItem$StatusType

Return

( org.netuno.tritao.db.DataItem$StatusType )


getTable


getTable() : string

Return

( string )


getUid


getUid() : string

Return

( string )


getValues


getValues() : Values

Return

( Values )


isDelete


isDelete() : boolean

Return

( boolean )


isError


isError() : boolean

Return

( boolean )


isFirebase


isFirebase() : boolean

Return

( boolean )


isInsert


isInsert() : boolean

Return

( boolean )


isNone


isNone() : boolean

Return

( boolean )


isOk


isOk() : boolean

Return

( boolean )


isProgrammatically


isProgrammatically() : boolean

Return

( boolean )


isStatusAsDelete


isStatusAsDelete() : boolean

Return

( boolean )


isStatusAsDeleted


isStatusAsDeleted() : boolean

Return

( boolean )


isStatusAsError


isStatusAsError() : boolean

Return

( boolean )


isStatusAsExists


isStatusAsExists() : boolean

Return

( boolean )


isStatusAsInsert


isStatusAsInsert() : boolean

Return

( boolean )


isStatusAsInserted


isStatusAsInserted() : boolean

Return

( boolean )


isStatusAsNone


isStatusAsNone() : boolean

Return

( boolean )


isStatusAsNotFound


isStatusAsNotFound() : boolean

Return

( boolean )


isStatusAsRelations


isStatusAsRelations() : boolean

Return

( boolean )


isStatusAsUpdate


isStatusAsUpdate() : boolean

Return

( boolean )


isStatusAsUpdated


isStatusAsUpdated() : boolean

Return

( boolean )


isStatusTypeAsError


isStatusTypeAsError() : boolean

Return

( boolean )


isStatusTypeAsNone


isStatusTypeAsNone() : boolean

Return

( boolean )


isStatusTypeAsOk


isStatusTypeAsOk() : boolean

Return

( boolean )


isUpdate


isUpdate() : boolean

Return

( boolean )


setCounter


setCounter(counter: int) : DataItem

Attributes
NAMETYPEDESCRIPTION
counterint
Return

( DataItem )


setErrorMessage


setErrorMessage(errorMessage: string) : DataItem

Attributes
NAMETYPEDESCRIPTION
errorMessagestring
Return

( DataItem )


setErrorTitle


setErrorTitle(errorTitle: string) : DataItem

Attributes
NAMETYPEDESCRIPTION
errorTitlestring
Return

( DataItem )


setField


setField(field: string) : DataItem

Attributes
NAMETYPEDESCRIPTION
fieldstring
Return

( DataItem )


setFirebase


setFirebase(firebase: boolean) : DataItem

Attributes
NAMETYPEDESCRIPTION
firebaseboolean
Return

( DataItem )


setFirebaseValues


setFirebaseValues(firebaseValues: Values) : DataItem

Attributes
NAMETYPEDESCRIPTION
firebaseValuesValues
Return

( DataItem )


setId


setId(id: string) : DataItem

Attributes
NAMETYPEDESCRIPTION
idstring
Return

( DataItem )


setProgrammatically


setProgrammatically(programmatically: boolean) : DataItem

Attributes
NAMETYPEDESCRIPTION
programmaticallyboolean
Return

( DataItem )


setRecord


setRecord(record: Values) : void

Attributes
NAMETYPEDESCRIPTION
recordValues
Return

( void )


setRelationItem


setRelationItem(relationItem: Values) : DataItem

Attributes
NAMETYPEDESCRIPTION
relationItemValues
Return

( DataItem )


setRelationTable


setRelationTable(relationTable: Values) : DataItem

Attributes
NAMETYPEDESCRIPTION
relationTableValues
Return

( DataItem )


setStatus


setStatus(status: org.netuno.tritao.db.DataItem$Status) : DataItem

Attributes
NAMETYPEDESCRIPTION
statusorg.netuno.tritao.db.DataItem$Status
Return

( DataItem )


setStatusWithError


setStatusWithError() : DataItem

Return

( DataItem )


setTable


setTable(table: string) : DataItem

Attributes
NAMETYPEDESCRIPTION
tablestring
Return

( DataItem )


setUid


setUid(uid: string) : DataItem

Attributes
NAMETYPEDESCRIPTION
uidstring
Return

( DataItem )


setValues


setValues(values: Values) : DataItem

Attributes
NAMETYPEDESCRIPTION
valuesValues
Return

( DataItem )