public interface CommonManager extends Remote
Modifier and Type | Method and Description |
---|---|
Item |
getItem(long id,
AttributeRequest[] attributes)
Returns an Item given an Item ID and an array of AttributeRequests.
|
NamedValue[] |
getItemInvalidations(long[] addedIds,
long[] removedIds,
long[] setIds)
Gets the set of Item invalidations for items the session has
registered interest for.
|
Item[] |
getItems(long[] ids,
AttributeRequest[] attributes)
Returns an array of Items given an array of Item IDs and an array
of AttributeRequests.
|
long |
getUniqueId()
Returns a unique ID backed by a repository sequence.
|
Item getItem(long id, AttributeRequest[] attributes) throws FdkException
id
- the ID of the Item to return.attributes
- the attributes to retrieve for each Item.FdkException
- if the operation fails.Item[] getItems(long[] ids, AttributeRequest[] attributes) throws FdkException
ids
- the IDs of the Items to return.attributes
- the attributes to retrieve for each Item.FdkException
- if the operation fails.long getUniqueId() throws FdkException
FdkException
- if the operation fails.NamedValue[] getItemInvalidations(long[] addedIds, long[] removedIds, long[] setIds) throws FdkException
Also specify an optional set of newly added IDs of interest, a set of IDs that the client no longer has interest, or the explicit set of IDs that the client has interest in. If a non-null explicit list is specified, the other two lists are ignored.
addedIds
- the new IDs of interestremovedIds
- the IDs that the client no longer has interest.setIds
- the total set IDs of interestFdkException
- if the operation fails.Copyright © 2023. All rights reserved.