Next4Me
 All Data Structures Files Functions Variables
MicroflowActions Class Reference

Administrare MicroflowActions. More...

Public Member Functions

 AddEditMicroflowActions ($entity)
 Adauga o inregistrare noua daca IdMicroflowAction==0, sau face update la una existenta daca IdMicroflowAction!=0.
 DeleteMicroflowActions ($entity)
 Sterge MicroflowAction aferent IdMicroflowAction primit.
 GetMicroflowActions ($entity)
 Returneaza (in campul "response") MicroflowAction-ul aferent unui IdMicroflowAction (cand IdMicroflowAction!=0) sau toate inregistrarile (cand IdMicroflowAction==0). Daca primeste IdMicroflow va returna toate MicroflowActions-urile aferente IdMicroflow-ului primit Intre IdMicroflow si IdMicroflowAction este SI ca si operator logic in query In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string).

Protected Attributes

 $_name = "MicroflowActions"
 tabela mapata de clasa
 $_primary = "IdMicroflowAction"
 cheie primara

Detailed Description

Administrare MicroflowActions.

Clasa implementeaza functiile de add/edit/delete/get pentru MicroflowActions.

Definition at line 17 of file MicroflowActions.php.


Member Function Documentation

AddEditMicroflowActions ( entity)

Adauga o inregistrare noua daca IdMicroflowAction==0, sau face update la una existenta daca IdMicroflowAction!=0.

Parameters:
[in]Integer$IdMicroflowActionIdMicroflowAction
[in]Integer$IdMicroflowIdMicroflow din tabel Microflows
[in]String$NameNume
[in]String$DescriptionDescriere
[in]TimeStamp$TimeActivationmomentul activarii
[in]TimeStamp$TimeClosedmomentul opriri
[in]Integer$IdContextIdContext din tabela Contexts
[in]Integer$IdTplMicroflowActionIdTplMicroflowAction din tabela tplMicroflowActions
Exceptions:
<5004>Nu puteti muta un MicroflowActions de pe un Microflow pe altul
<3019>Nu puteti edita un MicroflowActions inexistent
Returns:
array(resultCode, resultId)
Used for testing MicroflowActions

Definition at line 40 of file MicroflowActions.php.

DeleteMicroflowActions ( entity)

Sterge MicroflowAction aferent IdMicroflowAction primit.

Parameters:
[in]Integer$IdMicroflowActionIdMicroflowAction
Exceptions:
<3020>MicroflowActions-ul cerut nu exista in baza de date
<4005>MicroflowAction-ul nu poate fi sters deoarece sunt inregistrari asociate intr-una sau mai multe din tabelele: MicroflowNextActions, MicroflowActionAlerts, MicroflowActionProperties, MicroflowActionResults
Returns:
array(resultCode, resultId)
Used for testing MicroflowActions

Definition at line 122 of file MicroflowActions.php.

GetMicroflowActions ( entity)

Returneaza (in campul "response") MicroflowAction-ul aferent unui IdMicroflowAction (cand IdMicroflowAction!=0) sau toate inregistrarile (cand IdMicroflowAction==0). Daca primeste IdMicroflow va returna toate MicroflowActions-urile aferente IdMicroflow-ului primit Intre IdMicroflow si IdMicroflowAction este SI ca si operator logic in query In caz de eroare (resId!=0), campul "response" contine descrierea erorii (tip string).

Parameters:
[in]Integer$IdMicroflowActionIdMicroflowAction
[in]Integer$IdMicroflowIdMicroflow este legatura cu tabela Microflow
Exceptions:
<3021>Intoarce eroare self descriptiva daca se cere un MicroflowAction inexistent
Returns:
array(resultCode, resultId)
Used for testing MicroflowActions

Definition at line 212 of file MicroflowActions.php.


The documentation for this class was generated from the following file: