public interface IThingRelationQuery
Modifier and Type | Method and Description |
---|---|
IThingIDList |
getContainerIDs(IThingID thingID,
int relType,
int startIndex,
int endIndex,
boolean includeDescendents)
Get the IDs of any containers of this thing.
|
List<IThingChildEntry> |
getRelatedIDs(IThingID thingID,
boolean fFrom) |
IThingIDList |
getRelatedIDs(IThingID thingID,
boolean fFrom,
int relType,
int startIndex,
int endIndex)
Get the set of generically related things as an array of thingIDs.
|
IThingIDList |
listStyledThings(IThingID styleID,
int startIndex,
int endIndex)
Lists things of a given style
|
IThingIDList getRelatedIDs(IThingID thingID, boolean fFrom, int relType, int startIndex, int endIndex) throws MetaException
relType
- the relationship type to followstartIndex
- index of the first item to return.endIndex
- index of the last item to return. -1 specifies the last item.MetaException
IThingIDList getContainerIDs(IThingID thingID, int relType, int startIndex, int endIndex, boolean includeDescendents) throws MetaException
relType
- specifies a relationship type to filter for. Must be a containment relationship. Ignored if includeDescendents is truestartIndex
- start of listendIndex
- -1 means allincludeDescendents
- true if you want to find all containers of all descendentsMetaException
- If thing is invalid or DB errorList<IThingChildEntry> getRelatedIDs(IThingID thingID, boolean fFrom) throws MetaException
MetaException
IThingIDList listStyledThings(IThingID styleID, int startIndex, int endIndex) throws MetaException
styleID
- startIndex
- endIndex
- MetaException