wt.ixb.clientAccess
Interface IXBService

All Known Implementing Classes:
StandardIXBService

public interface IXBService



Supported API: true

Extendable: true


Method Summary
 wt.ixb.clientAccess.IXBExpImpStatus doExport(ObjectExportParameters exportParam)
          Perform export.
 wt.ixb.clientAccess.IXBExpImpStatus doExport(WTContainerRef container, boolean previewOnly, String[] generatorIds, String[] generatorParams, String[] filterIds, String[] filterParams, wt.ixb.clientAccess.IXBStreamer ruleFile, String guiId, boolean detailedLog, wt.ixb.clientAccess.IXBStreamer policyFile, String actionName, String clientFileName)
          

Supported API: true
 wt.ixb.clientAccess.IXBExpImpStatus doImport(ObjectImportParameters importParam)
          Perform export.
 wt.ixb.clientAccess.IXBExpImpStatus doImport(WTContainerRef container, wt.ixb.clientAccess.IXBStreamer ruleFile, wt.ixb.clientAccess.IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, wt.ixb.clientAccess.IXBStreamer policyFile, wt.ixb.clientAccess.IXBStreamer containerMappingFile, Locale locale)
          

Supported API: true
 wt.ixb.clientAccess.IXBExpImpStatus doImport(WTContainerRef container, wt.ixb.clientAccess.IXBStreamer ruleFile, wt.ixb.clientAccess.IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, wt.ixb.clientAccess.IXBStreamer policyFile, wt.ixb.clientAccess.IXBStreamer containerMappingFile, Locale locale, Boolean validation)
          

Supported API: true
 wt.ixb.clientAccess.IXBExpImpStatus doImport(WTContainerRef container, wt.ixb.clientAccess.IXBStreamer ruleFile, wt.ixb.clientAccess.IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, wt.ixb.clientAccess.IXBStreamer policyFile, Locale locale)
          

Supported API: true
 wt.ixb.clientAccess.IXBObjectInfo[] findNavigatorTopObjectsBySearchSpec(String navId, String[] values, WTContainerRef wtcontainerRef)
          Find all seed objects matching the query identified by the parameter "values".
 Object getExportHandler(String obType)
          Returns the default export handler class name for the object type under the Windchill default DTD.
 Object getExportHandler(String obType, String stDtd)
          Returns the default export handler class name for the object type under the specified DTD (other than Windchill default DTD)

Supported API: true
 wt.ixb.clientAccess.IXBHandlerDescription[] getFilterList(boolean displayableOnly, Locale locale)
          Get all object set filters as an array.
 wt.ixb.clientAccess.IXBHandlerDescription[] getGeneratorList(boolean displayableOnly, Locale locale)
          Get all object set generators as an array.
 Vector getListOfExportActors(boolean displayableOnly, Locale locale)
          Get all available export actor information as a Vector.
 Vector getListOfExportActors(Locale locale)
          Get all available export actor information as a Vector.
 Vector getListOfImportActors(boolean displayableOnly, Locale locale)
          Get all available import actor information as a Vector.
 Vector getListOfImportActors(Locale locale)
          Get all available import actor information as a Vector.
 Vector getListOfObjectSetHandlerIds(String searchClassName, Locale locale)
          Get all object set generator information applicable to the class with name searchClassName as a Vector.
 Vector getListOfObjectSetHandlerIds(String searchClassName, Locale locale, boolean exactClassSearch)
          Get all object set generator information applicable to the class with name searchClassName as a Vector.
 String getNavigatorParamString(String navId, String topLevelObId)
          result is initParams string - i.e.
 String[] getNavigatorTopObjectsSearchSpec(String navId, Locale locale)
          Return an array of String.
 String getObjectDisplayId(Persistable obj, Locale locale)
          

Supported API: true
 

Method Detail

getGeneratorList

wt.ixb.clientAccess.IXBHandlerDescription[] getGeneratorList(boolean displayableOnly,
                                                             Locale locale)
                                                             throws WTException
Get all object set generators as an array. Each element in the array will be IXBHandlerDescription. If parameter displayableOnly is set to true, then only generators which are set displayable will be returned, otherwise all generators will be returned.

Supported API: true

Parameters:
displayableOnly -
locale -
Returns:
IXBHandlerDescription[]
Throws:
WTException

getFilterList

wt.ixb.clientAccess.IXBHandlerDescription[] getFilterList(boolean displayableOnly,
                                                          Locale locale)
                                                          throws WTException
Get all object set filters as an array. Each element in the array will be IXBHandlerDescription. If parameter displayableOnly is set to true, only filters which are set displayable will be returned, otherwise all filters will be returned.

Supported API: true

Parameters:
displayableOnly -
locale -
Returns:
IXBHandlerDescription[]
Throws:
WTException

getListOfObjectSetHandlerIds

Vector getListOfObjectSetHandlerIds(String searchClassName,
                                    Locale locale)
                                    throws WTException
Get all object set generator information applicable to the class with name searchClassName as a Vector. Eelements in the vector are IXBHandlerDescription. By default all generators applicable to this class and its parent classes will be returned.

Supported API: true

Parameters:
searchClassName - The class name of the corresponding object
locale - locale passed from the client. If it is null, then it will be defaulted to the Windchill server locale
Returns:
Vector
Throws:
WTException
See Also:
getListOfObjectSetHandlerIds( String searchClassName, Locale locale, boolean exactClassSearch ) , IXBHandlerDescription

getListOfObjectSetHandlerIds

Vector getListOfObjectSetHandlerIds(String searchClassName,
                                    Locale locale,
                                    boolean exactClassSearch)
                                    throws WTException
Get all object set generator information applicable to the class with name searchClassName as a Vector. Eelements in the vector are IXBHandlerDescription. If parameter exactClassSearch is false, all generators applicable to this class and its parent classes will be returned; otherwise only generators for this class will be returned.

Supported API: true

Parameters:
searchClassName -
locale - locale passed from the client. If it is null, then it will be defaulted to the Windchill server locale
exactClassSearch - If true, the target class name will be exactly the same as the searchClass; if false, the parent class will be considered as well.
Returns:
Vector
Throws:
WTException
See Also:
getListOfObjectSetHandlerIds( String searchClassName, Locale locale) , IXBHandlerDescription

getExportHandler

Object getExportHandler(String obType)
                        throws WTException
Returns the default export handler class name for the object type under the Windchill default DTD.

Supported API: true

Parameters:
obType - The object type. Typically this is the class name for the corresponding objects such as wt.part.WTPart
Returns:
Object
Throws:
WTException

getExportHandler

Object getExportHandler(String obType,
                        String stDtd)
                        throws WTException
Returns the default export handler class name for the object type under the specified DTD (other than Windchill default DTD)

Supported API: true

Parameters:
obType - The object type. Typically this is the class name for the corresponding objects such as wt.part.WTPart
stDtd - The DTD used to define the export handler for the object.
Returns:
Object
Throws:
WTException

getListOfExportActors

Vector getListOfExportActors(Locale locale)
                             throws WTException
Get all available export actor information as a Vector. Eelements in the vector are ActorInfo. By default only those displayable to client will be returned.

Supported API: true

Parameters:
locale -
Returns:
Vector
Throws:
WTException
See Also:
(boolean displayableOnly, Locale locale), ( Locale locale), ( boolean displayableOnly, Locale locale), ActorInfo

getListOfExportActors

Vector getListOfExportActors(boolean displayableOnly,
                             Locale locale)
                             throws WTException
Get all available export actor information as a Vector. Eelements in the vector are ActorInfo. If parameter displayableOnly is set to true, only those displayable to client will be returned, otherwise all export actors will be returned.

Supported API: true

Parameters:
displayableOnly -
locale -
Returns:
Vector
Throws:
WTException
See Also:
(Locale locale), ( Locale locale), ( boolean displayableOnly, Locale locale), ActorInfo

getObjectDisplayId

String getObjectDisplayId(Persistable obj,
                          Locale locale)
                          throws WTException


Supported API: true

Parameters:
obj -
locale -
Returns:
String
Throws:
WTException

getNavigatorTopObjectsSearchSpec

String[] getNavigatorTopObjectsSearchSpec(String navId,
                                          Locale locale)
                                          throws WTException
Return an array of String. The first element of the array is the localized search description, and the rest are localized field names for search .

Supported API: true

Parameters:
navId - The object set generator ID
locale -
Returns:
String[]
Throws:
WTException

getNavigatorParamString

String getNavigatorParamString(String navId,
                               String topLevelObId)
                               throws WTException
result is initParams string - i.e. navigator "technical description"

Supported API: true

Parameters:
navId -
topLevelObId -
Returns:
String
Throws:
WTException

findNavigatorTopObjectsBySearchSpec

wt.ixb.clientAccess.IXBObjectInfo[] findNavigatorTopObjectsBySearchSpec(String navId,
                                                                        String[] values,
                                                                        WTContainerRef wtcontainerRef)
                                                                        throws WTException
Find all seed objects matching the query identified by the parameter "values". The returned is an array of IXBObjectInfo. The search will be performed in the specified container.

Supported API: true

Parameters:
navId - The ID of the object set generator
values - The values entered to search seed objects. The values are corresponding to the tag <searchKey/queryName> in the registry XML file.
wtcontainerRef - The container reference for seed objects to be searched in.
Returns:
IXBObjectInfo[]
Throws:
WTException
See Also:
IXBObjectInfo.

doExport

wt.ixb.clientAccess.IXBExpImpStatus doExport(WTContainerRef container,
                                             boolean previewOnly,
                                             String[] generatorIds,
                                             String[] generatorParams,
                                             String[] filterIds,
                                             String[] filterParams,
                                             wt.ixb.clientAccess.IXBStreamer ruleFile,
                                             String guiId,
                                             boolean detailedLog,
                                             wt.ixb.clientAccess.IXBStreamer policyFile,
                                             String actionName,
                                             String clientFileName)
                                             throws WTException


Supported API: true

Parameters:
container -
previewOnly -
generatorIds -
generatorParams -
filterIds -
filterParams -
ruleFile -
guiId -
detailedLog -
policyFile -
actionName -
clientFileName -
Returns:
IXBExpImpStatus
Throws:
WTException

doExport

wt.ixb.clientAccess.IXBExpImpStatus doExport(ObjectExportParameters exportParam)
                                             throws WTException
Perform export. All information is set in parameter ObjectExportParameters exportParam.

Supported API: true

Parameters:
exportParam -
Returns:
IXBExpImpStatus
Throws:
WTException

getListOfImportActors

Vector getListOfImportActors(Locale locale)
                             throws WTException
Get all available import actor information as a Vector. Eelements in the vector are ActorInfo. By default only those displayable to client will be returned.

Supported API: true

Parameters:
locale -
Returns:
Vector
Throws:
WTException
See Also:
( boolean displayableOnly, Locale locale), ( Locale locale), ( boolean displayableOnly, Locale locale), ActorInfo

getListOfImportActors

Vector getListOfImportActors(boolean displayableOnly,
                             Locale locale)
                             throws WTException
Get all available import actor information as a Vector. Eelements in the vector are ActorInfo. If parameter displayableOnly, is set to true, only those displayable to client will be returned, otherwise all import actors will be returned.

Supported API: true

Parameters:
displayableOnly -
locale -
Returns:
Vector
Throws:
WTException
See Also:
(Locale locale), ( Locale locale), ( boolean displayableOnly, Locale locale), ActorInfo

doImport

wt.ixb.clientAccess.IXBExpImpStatus doImport(WTContainerRef container,
                                             wt.ixb.clientAccess.IXBStreamer ruleFile,
                                             wt.ixb.clientAccess.IXBStreamer dataFile,
                                             boolean overrideConflicts,
                                             String guiId,
                                             boolean isPreview,
                                             boolean detailedLog,
                                             String actorName,
                                             wt.ixb.clientAccess.IXBStreamer policyFile,
                                             Locale locale)
                                             throws WTException


Supported API: true

Parameters:
container -
ruleFile -
dataFile -
overrideConflicts -
guiId -
isPreview -
detailedLog -
actorName -
policyFile -
locale -
Returns:
IXBExpImpStatus
Throws:
WTException

doImport

wt.ixb.clientAccess.IXBExpImpStatus doImport(WTContainerRef container,
                                             wt.ixb.clientAccess.IXBStreamer ruleFile,
                                             wt.ixb.clientAccess.IXBStreamer dataFile,
                                             boolean overrideConflicts,
                                             String guiId,
                                             boolean isPreview,
                                             boolean detailedLog,
                                             String actorName,
                                             wt.ixb.clientAccess.IXBStreamer policyFile,
                                             wt.ixb.clientAccess.IXBStreamer containerMappingFile,
                                             Locale locale)
                                             throws WTException


Supported API: true

Parameters:
container -
ruleFile -
dataFile -
overrideConflicts -
guiId -
isPreview -
detailedLog -
actorName -
policyFile -
containerMappingFile -
locale -
Returns:
IXBExpImpStatus
Throws:
WTException

doImport

wt.ixb.clientAccess.IXBExpImpStatus doImport(WTContainerRef container,
                                             wt.ixb.clientAccess.IXBStreamer ruleFile,
                                             wt.ixb.clientAccess.IXBStreamer dataFile,
                                             boolean overrideConflicts,
                                             String guiId,
                                             boolean isPreview,
                                             boolean detailedLog,
                                             String actorName,
                                             wt.ixb.clientAccess.IXBStreamer policyFile,
                                             wt.ixb.clientAccess.IXBStreamer containerMappingFile,
                                             Locale locale,
                                             Boolean validation)
                                             throws WTException


Supported API: true

Parameters:
container -
ruleFile -
dataFile -
overrideConflicts -
guiId -
isPreview -
detailedLog -
actorName -
policyFile -
containerMappingFile -
locale -
validation -
Returns:
IXBExpImpStatus
Throws:
WTException

doImport

wt.ixb.clientAccess.IXBExpImpStatus doImport(ObjectImportParameters importParam)
                                             throws WTException
Perform export. All information is set in parameter ObjectImportParameters exportParam.

Supported API: true

Parameters:
importParam -
Returns:
IXBExpImpStatus
Throws:
WTException