\DMSCartBackendInterface
Interface DMSCartBackendInterface represents the contract for a Session Backend
Synopsis
interface DMSCartBackendInterface
{
- // methods
- public array getItems()
- public DMSRequestItem|boolean getItem()
- public DMSCartBackendInterface addItem()
- public DMSCartBackendInterface removeItem()
- public DMSCartBackendInterface removeItemByID()
- public DMSCartBackendInterface emptyCart()
- public DMSCartBackendInterface setBackUrl()
- public string getBackUrl()
- public DMSCartBackendInterface setReceiverInfo()
- public array getReceiverInfo()
Methods
public
- addItem() — Add an {@link DMSRequestItem} object into the cart.
- emptyCart() — Flushes the cart
- getBackUrl() — Returns the backURL for the current Document Cart
- getItem() — Returns a single element from the items list
- getItems() — Get all the {@link DMSRequestItem} objects serialized in the cart.
- getReceiverInfo() — Retrieves the recipients info
- removeItem() — Remove a {@link DMSRequestItem} object from the cart.
- removeItemByID() — Removes a {@link DMSRequestItem} from the cart by it's id
- setBackUrl() — Set the backURL to be a Session variable for the current Document Cart
- setReceiverInfo() — Sets the recipients information