ProcessMaker-BE "Role (Endpoints)"

- Se han implementado los siguientes Endpoints:
    GET    /api/1.0/{workspace}/roles?filter={filter}&start={start}&limit={limit}
    GET    /api/1.0/{workspace}/role/{rol_uid}
    POST   /api/1.0/{workspace}/role
    PUT    /api/1.0/{workspace}/role/{rol_uid}
    DELETE /api/1.0/{workspace}/role/{rol_uid}
This commit is contained in:
Victor Saisa Lopez
2014-05-27 16:25:57 -04:00
parent c495486ffd
commit 13a11f1e9a
6 changed files with 771 additions and 4 deletions

View File

@@ -566,7 +566,7 @@ class WebEntry
$webEntry->fromArray($arrayData, \BasePeer::TYPE_FIELDNAME);
$webEntryUid = \G::generateUniqueID();
$webEntryUid = \ProcessMaker\Util\Common::generateUID();
$webEntry->setWeUid($webEntryUid);
$webEntry->setProUid($processUid);
@@ -833,7 +833,7 @@ class WebEntry
$this->getFieldNameByFormatFieldName("WE_CREATE_USR_UID") => $record["WE_CREATE_USR_UID"],
$this->getFieldNameByFormatFieldName("WE_UPDATE_USR_UID") => $record["WE_UPDATE_USR_UID"] . "",
$this->getFieldNameByFormatFieldName("WE_CREATE_DATE") => $webEntryCreateDate,
$this->getFieldNameByFormatFieldName("WE_UPDATE_DATE") => $webEntryUpdateDate . ""
$this->getFieldNameByFormatFieldName("WE_UPDATE_DATE") => $webEntryUpdateDate
);
} catch (\Exception $e) {
throw $e;