public interface IThingContainerQuery
Modifier and Type | Method and Description |
---|---|
IThingIDList |
getChildrenByName(IThingID thingID,
String name,
int relType,
int xtypeID,
int startIndex,
int endIndex)
returns all children whose name exactly matches (case-insensitive) 'name'
Will check all languages
|
int |
getCount(IThingID thingID,
int relType,
int typeID,
int xtypeID)
Get a count of children of this container, based on relationship type.
|
IThingChildList |
listChilds(IThingID containerID)
Get all things that are childs of the specified container.
|
IThingIDList |
listIDs(IThingID thingID,
int startIndex,
int endIndex)
Get things that are contained by this thing
|
IThingIDList |
listIDsByType(IThingID thingID,
int startIndex,
int endIndex,
int typeID)
Return list of all children with this type
|
IThingIDList |
listIDsByXType(IThingID thingID,
int startIndex,
int endIndex,
int xtypeID)
Return list of all children with this xtype
|
IThingIDList |
searchChildrenByName(IThingID thingID,
String query,
int relType,
int xtypeID,
int startIndex,
int endIndex)
returns all children whose name exactly matches 'name'
if includeLink is true, also includes matches on link name.
|
IThingChildList listChilds(IThingID containerID) throws MetaException
MetaException
IThingIDList listIDs(IThingID thingID, int startIndex, int endIndex) throws MetaException
startIndex
- index of the first item to return.endIndex
- index of the last item to return. -1 specifies the last item.MetaException
IThingIDList listIDsByType(IThingID thingID, int startIndex, int endIndex, int typeID) throws MetaException
startIndex
- index of the first item to return.endIndex
- index of the last item to return. -1 specifies the last item.MetaException
IThingIDList listIDsByXType(IThingID thingID, int startIndex, int endIndex, int xtypeID) throws MetaException
startIndex
- index of the first item to return.endIndex
- index of the last item to return. -1 specifies the last item.MetaException
int getCount(IThingID thingID, int relType, int typeID, int xtypeID) throws MetaException
relType
- -1 specifies all containment relationships. (IRelation)typeID
- -1 specifies all item types (IThingType)xtypeID
- -1 specifies all xtypesMetaException
IThingIDList getChildrenByName(IThingID thingID, String name, int relType, int xtypeID, int startIndex, int endIndex) throws MetaException
name
- (case-insensitive) name to search forrelType
- relation type to search onxtypeID
- 0 means all, else filterstartIndex
- for pagingendIndex
- for paging, -1 for allMetaException
- if container not found or DB errorIThingIDList searchChildrenByName(IThingID thingID, String query, int relType, int xtypeID, int startIndex, int endIndex) throws MetaException
query
- name to search forrelType
- relation type to search onxtypeID
- 0 means all, else filterstartIndex
- for pagingendIndex
- for paging, -1 for allMetaException
- if container not found or DB error