Home Previous Up Next Index

memoryx::CollectionInterface

Overview

interface CollectionInterface

Used By

CollectionList

Operation Index

getNS
count
findByMongoId
findByFieldValue
findByFieldValueList
findOneByFieldValue
findByQuery
findByConstraintQuery
findOneByQuery
findAll
findAllUniqueByFieldName
findAllIds
findAllFieldValues
insert
insertList
update
updateByQuery
updateWithUserKey
save
saveWithUserKey
removeByMongoId
removeByQuery
removeByFieldValue
clear
ensureIndex

Operations

string getNS()

int count()

DBStorableData findByMongoId(string mongoId) throws NotConnectedException, InvalidMongoIdException

DBStorableDataList findByFieldValue(string fieldName, string fieldValue) throws NotConnectedException

DBStorableDataList findByFieldValueList(string fieldName, NameList fieldValueList) throws NotConnectedException

DBStorableData findOneByFieldValue(string query, string fieldValue) throws NotConnectedException

DBStorableDataList findByQuery(string query) throws NotConnectedException

DBStorableDataList findByConstraintQuery(string query, string where) throws NotConnectedException

DBStorableData findOneByQuery(string query) throws NotConnectedException

DBStorableDataList findAll() throws NotConnectedException

DBStorableData findAllUniqueByFieldName(string fieldName) throws NotConnectedException

EntityIdList findAllIds() throws NotConnectedException

NameList findAllFieldValues(string fieldName) throws NotConnectedException

string insert(DBStorableData obj) throws NotConnectedException

::Ice::StringSeq insertList(DBStorableDataList objectList) throws NotConnectedException

bool update(DBStorableData obj) throws NotConnectedException

bool updateByQuery(string query, DBStorableData obj) throws NotConnectedException

bool updateWithUserKey(DBStorableData obj, string keyField) throws NotConnectedException, FieldNotFoundException

string save(DBStorableData obj) throws NotConnectedException

bool saveWithUserKey(DBStorableData obj, string keyField) throws NotConnectedException, FieldNotFoundException

bool removeByMongoId(string mongoId) throws NotConnectedException, InvalidMongoIdException

bool removeByQuery(string query) throws NotConnectedException

bool removeByFieldValue(string fieldName, string fieldValue) throws NotConnectedException

bool clear() throws NotConnectedException

bool ensureIndex(string fieldName, bool unique) throws NotConnectedException


Home Previous Up Next Index