HOR-4075
Define Interface for List classes. Implement a trait base for the lists. Fix sort by current user at Review and Reassign lists.
This commit is contained in:
27
workflow/engine/classes/ListCreateUpdateInterface.php
Normal file
27
workflow/engine/classes/ListCreateUpdateInterface.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* The list can create and update records.
|
||||
*
|
||||
*/
|
||||
interface ListCreateUpdateInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Create an application record into list.
|
||||
*
|
||||
* @param type $data
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function create($data);
|
||||
|
||||
/**
|
||||
* Update an application record from list.
|
||||
*
|
||||
* @param type $data
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function update($data);
|
||||
}
|
||||
Reference in New Issue
Block a user