public class MapiFolderService extends java.lang.Object implements IMapiFolder
Constructor and Description |
---|
MapiFolderService(BmContext ctx,
javax.sql.DataSource ds,
Container c) |
Modifier and Type | Method and Description |
---|---|
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since) |
ContainerChangeset<java.lang.Long> |
changesetById(java.lang.Long since) |
ContainerChangelog |
containerChangelog(java.lang.Long since) |
Count |
count(ItemFlagFilter filter)
Count items matching an
ItemFlagFilter |
Ack |
createById(long id,
MapiRawMessage value) |
void |
deleteById(long id) |
ContainerChangeset<ItemVersion> |
filteredChangesetById(java.lang.Long since,
ItemFlagFilter filter) |
ItemValue<MapiRawMessage> |
getCompleteById(long id) |
long |
getVersion() |
ItemChangelog |
itemChangelog(java.lang.String itemUid,
java.lang.Long since) |
void |
multipleDeleteById(java.util.List<java.lang.Long> ids) |
void |
reset() |
java.util.List<java.lang.Long> |
sortedIds(SortDescriptor sorted)
Returns all items in a container matching a sort criteria
|
Ack |
updateById(long id,
MapiRawMessage value) |
void |
xfer(java.lang.String serverUid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allIds
public ItemValue<MapiRawMessage> getCompleteById(long id)
getCompleteById
in interface ICrudByIdSupport<MapiRawMessage>
getCompleteById
in interface IMapiFolder
public Ack updateById(long id, MapiRawMessage value)
updateById
in interface ICrudByIdSupport<MapiRawMessage>
updateById
in interface IMapiFolder
public Ack createById(long id, MapiRawMessage value)
createById
in interface ICrudByIdSupport<MapiRawMessage>
createById
in interface IMapiFolder
public void deleteById(long id)
deleteById
in interface ICrudByIdSupport<MapiRawMessage>
deleteById
in interface IMapiFolder
public ItemChangelog itemChangelog(java.lang.String itemUid, java.lang.Long since) throws ServerFault
itemChangelog
in interface IChangelogSupport
itemChangelog
in interface IMapiFolder
ContainerChangelog
ServerFault
public ContainerChangelog containerChangelog(java.lang.Long since) throws ServerFault
containerChangelog
in interface IChangelogSupport
containerChangelog
in interface IMapiFolder
ContainerChangelog
ServerFault
public ContainerChangeset<java.lang.String> changeset(java.lang.Long since) throws ServerFault
changeset
in interface IChangelogSupport
changeset
in interface IMapiFolder
ContainerChangeset
ServerFault
public ContainerChangeset<java.lang.Long> changesetById(java.lang.Long since) throws ServerFault
changesetById
in interface IChangelogSupport
changesetById
in interface IMapiFolder
ContainerChangeset
with internal
numeric idsServerFault
public ContainerChangeset<ItemVersion> filteredChangesetById(java.lang.Long since, ItemFlagFilter filter) throws ServerFault
filteredChangesetById
in interface IChangelogSupport
filteredChangesetById
in interface IMapiFolder
filter
- to exclude some items (eg. deleted items)ContainerChangeset
with internal
numeric ids matching the given filterServerFault
public long getVersion() throws ServerFault
getVersion
in interface IChangelogSupport
getVersion
in interface IMapiFolder
ServerFault
public Count count(ItemFlagFilter filter) throws ServerFault
ICountingSupport
ItemFlagFilter
count
in interface ICountingSupport
count
in interface IMapiFolder
ServerFault
public void reset()
reset
in interface IMapiFolder
public java.util.List<java.lang.Long> sortedIds(SortDescriptor sorted) throws ServerFault
ISortingSupport
sortedIds
in interface ISortingSupport
sorted
- sorting criteriaItemValue.internalId
sortedServerFault
public void xfer(java.lang.String serverUid) throws ServerFault
xfer
in interface IDataShardSupport
ServerFault
public void multipleDeleteById(java.util.List<java.lang.Long> ids) throws ServerFault
multipleDeleteById
in interface ICrudByIdSupport<MapiRawMessage>
ServerFault
Copyright © 2021. All Rights Reserved.