-
Notifications
You must be signed in to change notification settings - Fork 0
Box StoreDataInterface
Travis edited this page Mar 13, 2014
·
10 revisions
StoreDataInterface
- Interface name: StoreDataInterface
- Namespace: Box
- This is an interface
- This interface extends: Box\StoreBaseInterface
\Box\DataObjectInterface|null Box\StoreDataInterface::\Box\StoreDataInterface::getById()(integer $id, \Box\DataObjectInterface $type)
Get a data package from id.
- Visibility: public
- $id integer
- $type Box\DataObjectInterface
\Box\DataObjectCollection Box\StoreDataInterface::\Box\StoreDataInterface::getAllByIds()(integer[] $ids, \Box\DataObjectInterface $type)
Get data packages from ids.
- Visibility: public
- $ids integer[]
- $type Box\DataObjectInterface
mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persist()(\Box\DataObjectInterface $dataObject)
Persist a single data object.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObject Box\DataObjectInterface
mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persistAll()(\Box\DataObjectCollection $dataObjects)
Persist a collection of data objects.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObjects Box\DataObjectCollection
integer Box\StoreBaseInterface::\Box\StoreBaseInterface::delete()(\Box\DataObjectInterface $dataObject)
Delete a data object from store.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObject Box\DataObjectInterface
integer Box\StoreBaseInterface::\Box\StoreBaseInterface::deleteAll()(\Box\DataObjectCollection $dataObjects)
Delete a collection of data objects from store.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $dataObjects Box\DataObjectCollection
mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::truncate()(\Box\DataObjectInterface $type)
Remove all records of the given type.
- Visibility: public
- This method is defined by Box\StoreBaseInterface
- $type Box\DataObjectInterface