Skip to content

Box StoreDataInterface

Travis edited this page Mar 13, 2014 · 10 revisions

Box\StoreDataInterface

StoreDataInterface

  • Interface name: StoreDataInterface
  • Namespace: Box
  • This is an interface
  • This interface extends: Box\StoreBaseInterface

Methods

\Box\StoreDataInterface::getById()

\Box\DataObjectInterface|null Box\StoreDataInterface::\Box\StoreDataInterface::getById()(integer $id, \Box\DataObjectInterface $type)

Get a data package from id.

  • Visibility: public

Arguments

\Box\StoreDataInterface::getAllByIds()

\Box\DataObjectCollection Box\StoreDataInterface::\Box\StoreDataInterface::getAllByIds()(integer[] $ids, \Box\DataObjectInterface $type)

Get data packages from ids.

  • Visibility: public

Arguments

\Box\StoreBaseInterface::persist()

mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persist()(\Box\DataObjectInterface $dataObject)

Persist a single data object.

Arguments

\Box\StoreBaseInterface::persistAll()

mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::persistAll()(\Box\DataObjectCollection $dataObjects)

Persist a collection of data objects.

Arguments

\Box\StoreBaseInterface::delete()

integer Box\StoreBaseInterface::\Box\StoreBaseInterface::delete()(\Box\DataObjectInterface $dataObject)

Delete a data object from store.

Arguments

\Box\StoreBaseInterface::deleteAll()

integer Box\StoreBaseInterface::\Box\StoreBaseInterface::deleteAll()(\Box\DataObjectCollection $dataObjects)

Delete a collection of data objects from store.

Arguments

\Box\StoreBaseInterface::truncate()

mixed Box\StoreBaseInterface::\Box\StoreBaseInterface::truncate()(\Box\DataObjectInterface $type)

Remove all records of the given type.

Arguments

Clone this wiki locally