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
NAME | TYPE | DESCRIPTION |
---|---|---|
counter | int |
Return
( DataItem )
setErrorMessage
setErrorMessage(errorMessage: string) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
errorMessage | string |
Return
( DataItem )
setErrorTitle
setErrorTitle(errorTitle: string) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
errorTitle | string |
Return
( DataItem )
setField
setField(field: string) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
field | string |
Return
( DataItem )
setFirebase
setFirebase(firebase: boolean) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
firebase | boolean |
Return
( DataItem )
setFirebaseValues
setFirebaseValues(firebaseValues: Values) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
firebaseValues | Values |
Return
( DataItem )
setId
setId(id: string) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
id | string |
Return
( DataItem )
setProgrammatically
setProgrammatically(programmatically: boolean) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
programmatically | boolean |
Return
( DataItem )
setRecord
setRecord(record: Values) : void
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
record | Values |
Return
( void )
setRelationItem
setRelationItem(relationItem: Values) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
relationItem | Values |
Return
( DataItem )
setRelationTable
setRelationTable(relationTable: Values) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
relationTable | Values |
Return
( DataItem )
setStatus
setStatus(status: org.netuno.tritao.db.DataItem$Status) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
status | org.netuno.tritao.db.DataItem$Status |
Return
( DataItem )
setStatusWithError
setStatusWithError() : DataItem
Return
( DataItem )
setTable
setTable(table: string) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
table | string |
Return
( DataItem )
setUid
setUid(uid: string) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
uid | string |
Return
( DataItem )
setValues
setValues(values: Values) : DataItem
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
values | Values |
Return
( DataItem )