Skip to content

Box StoreIndexInterface

Travis edited this page Mar 13, 2014 · 8 revisions

Box\StoreIndexInterface

StoreIndexInterface

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

Methods

\Box\StoreIndexInterface::getId()

integer|null Box\StoreIndexInterface::\Box\StoreIndexInterface::getId()(\Box\Query $query)

Find a single id from query.

  • Visibility: public

Arguments

\Box\StoreIndexInterface::getAllIds()

integer[] Box\StoreIndexInterface::\Box\StoreIndexInterface::getAllIds()(\Box\Query $query)

Find ids from query.

  • Visibility: public

Arguments

\Box\StoreIndexInterface::count()

integer Box\StoreIndexInterface::\Box\StoreIndexInterface::count()(\Box\Query $query)

Count entries for query.

  • 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