wt.fc.requireddata
Interface RequiredDataServiceSvr

All Known Implementing Classes:
StandardRequiredDataService

public interface RequiredDataServiceSvr

The RequiredDataServiceSvr contains methods that can only be invoked on the server for common queries.

Supported API: false

Extendable: false


Method Summary
 WTKeyedMap queryAdHocForeignKey(AdHocForeignKeyLinkQueryData[] adHocFKLinkQueryData)
          Supports bulk queries for relationships that are not modeled as BinaryLink or ForeignKeyLink.
 WTCollection queryLinks(LinkQueryData[] linkQueryData)
          Builds a query based on the information in an array of LinkQueryData objects and returns a WTCollection for the linkClasses defined in the LinkQueryData[].
 WTKeyedMap queryLinks(LinkQueryData[] linkQueryData, boolean useRoleA)
          Queries a single link class role specified by the useRoleA boolean and the information defined in the LinkQueryData[].
 

Method Detail

queryLinks

public WTCollection queryLinks(LinkQueryData[] linkQueryData)
                        throws WTException
Builds a query based on the information in an array of LinkQueryData objects and returns a WTCollection for the linkClasses defined in the LinkQueryData[]. Each element in the WTCollection is an Object array containing two elements: the link classname and the link id.

Supported API: false

Parameters:
linkQueryData -
Returns:
WTCollection
Throws:
WTException

queryLinks

public WTKeyedMap queryLinks(LinkQueryData[] linkQueryData,
                             boolean useRoleA)
                      throws WTException
Queries a single link class role specified by the useRoleA boolean and the information defined in the LinkQueryData[]. Returns a WTKeyedMap with key/value pairs of link reference/role object reference.

Supported API: false

Parameters:
linkQueryData -
useRoleA -
Returns:
WTKeyedMap
Throws:
WTException

queryAdHocForeignKey

public WTKeyedMap queryAdHocForeignKey(AdHocForeignKeyLinkQueryData[] adHocFKLinkQueryData)
                                throws WTException
Supports bulk queries for relationships that are not modeled as BinaryLink or ForeignKeyLink. Returns a WTKeyedMap with key/value pairs of foreign key object reference/parent object reference. This api assumes that only ObjectIdentifier QueryKeys are passed.

Supported API: false

Parameters:
adHocFKLinkQueryData -
Returns:
WTKeyedMap
Throws:
WTException