Interface RepositoryInterface
An interface for retrieving and manipulating entities.
Direct known implementers
PipelinerSales\ApiClient\Repository\Rest\RestRepositoryLocated at PipelinerSales/ApiClient/Repository/RepositoryInterface.php
integer |
FLAG_ROLLBACK_ON_ERROR
If any error occurs, no entity will be processed, and the entire batch will be rolled back. |
#
0
|
integer |
FLAG_IGNORE_ON_ERROR
If an error occurs for an entity, the entity is ignored and the system continues with the next one. |
#
1
|
integer |
FLAG_INSERT_ON_UPDATE
If any error occurs during the update of an entity (e.g. the entity doesn’t exists), the entity will be inserted instead, and a new unique identificator will be generated |
#
2
|
integer |
FLAG_GET_NO_DELETED_ID
The method will return a list of IDs which cannot be deleted. Can be used with combination with FLAG_IGNORE_ON_ERROR. |
#
4
|
integer |
FLAG_IGNORE_AND_RETURN_ERRORS
If any error occurs for an entity, the entity is ignored and the system continues with the next one. |
#
8
|
integer |
FLAG_VALIDATE_ONLY_UPDATED_FIELDS
Only updated fields in the entity will be validated instead of all fields. |
#
256
|
integer |
SEND_MODIFIED_FIELDS
Partial update, send only fields which have been modified since the entity was last loaded/saved |
#
0
|
integer |
SEND_ALL_FIELDS
Send all fields that exist within the entity |
#
1
|