Package wt.ixb.clientAccess
Class StandardIXBService
java.lang.Object
wt.services.StandardManager
wt.ixb.clientAccess.StandardIXBService
- All Implemented Interfaces:
Serializable,wt.fc._NetFactor,NetFactor,IXBService,IXBSvrService,wt.services.Manager
Use the newStandardIXBService static factory method(s), not the StandardIXBService
constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondoExport(WTContainerRef container, boolean previewOnly, String[] generatorIds, String[] generatorParams, String[] filterIds, String[] filterParams, IXBStreamer ruleFile, String guiId, boolean detailedLog, IXBStreamer policyFile, String actionName, String clientFileName)
Supported API: truedoExport(ObjectExportParameters exportParam) Perform export.doExport(ObjectExportParameters exportParam, ConflictResolution[] conflictResolutions) Perform export.doImport(WTContainerRef container, IXBStreamer ruleFile, IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, IXBStreamer policyFile, Locale locale)
Supported API: truedoImport(WTContainerRef container, IXBStreamer ruleFile, IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, IXBStreamer policyFile, IXBStreamer containerMappingFile, Locale locale)
Supported API: truedoImport(WTContainerRef container, IXBStreamer ruleFile, IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, IXBStreamer policyFile, IXBStreamer containerMappingFile, Locale locale, Boolean validation)
Supported API: truedoImport(ObjectImportParameters importParam) Perform import.doImport(ObjectImportParameters importParam, ConflictResolution[] conflictResolutions) Perform import.getExportHandler(String obType) Returns the default export handler class name for the object type under the Windchill default DTD.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: truegetListOfExportActors(boolean displayableOnly, Locale locale) Get all available export actor information as aVector.getListOfExportActors(Locale locale) Get all available export actor information as aVector.getListOfImportActors(boolean displayableOnly, Locale locale) Get all available import actor information as aVector.getListOfImportActors(Locale locale) Get all available import actor information as aVector.getListOfObjectSetHandlerIds(String searchClassName, Locale locale) Get all object set generator information applicable to the class with name searchClassName as aVector.getListOfObjectSetHandlerIds(String searchClassName, Locale locale, boolean exactClassSearch) Get all object set generator information applicable to the class with name searchClassName as aVector.getNavigatorParamString(String navId, String topLevelObId) result is initParams string - i.e.String[]getNavigatorTopObjectsKeysSearchSpec(String navId, Locale locale) Return an array of String.String[]getNavigatorTopObjectsSearchSpec(String navId, Locale locale) Return an array of String.getObjectDisplayId(Persistable obj, Locale locale)
Supported API: trueMethods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType, initialize, performShutdownProcess, performStartupProcess, registerEvents
-
Method Details
-
getListOfObjectSetHandlerIds
public Vector getListOfObjectSetHandlerIds(String searchClassName, Locale locale) throws WTException Get all object set generator information applicable to the class with name searchClassName as aVector. Eelements in the vector areIXBHandlerDescription. By default all generators applicable to this class and its parent classes will be returned.
Supported API: true- Specified by:
getListOfObjectSetHandlerIdsin interfaceIXBService- Parameters:
searchClassName- The class name of the corresponding objectlocale- 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
public Vector getListOfObjectSetHandlerIds(String searchClassName, Locale locale, boolean exactClassSearch) throws WTException Get all object set generator information applicable to the class with name searchClassName as aVector. Eelements in the vector areIXBHandlerDescription. 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- Specified by:
getListOfObjectSetHandlerIdsin interfaceIXBService- Parameters:
searchClassName-locale- locale passed from the client. If it is null, then it will be defaulted to the Windchill server localeexactClassSearch- 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
Returns the default export handler class name for the object type under the Windchill default DTD.
Supported API: true- Specified by:
getExportHandlerin interfaceIXBService- Parameters:
obType- The object type. Typically this is the class name for the corresponding objects such aswt.part.WTPart- Returns:
- Object
- Throws:
WTException
-
getExportHandler
Returns the default export handler class name for the object type under the specified DTD (other than Windchill default DTD)
Supported API: true- Specified by:
getExportHandlerin interfaceIXBService- Parameters:
obType- The object type. Typically this is the class name for the corresponding objects such aswt.part.WTPartstDtd- The DTD used to define the export handler for the object.- Returns:
- Object
- Throws:
WTException
-
getListOfExportActors
Get all available export actor information as aVector. Eelements in the vector areActorInfo. By default only those displayable to client will be returned.
Supported API: true- Specified by:
getListOfExportActorsin interfaceIXBService- Parameters:
locale-- Returns:
- Vector
- Throws:
WTException- See Also:
-
getListOfExportActors
Get all available export actor information as aVector. Elements in the vector areActorInfo. 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- Specified by:
getListOfExportActorsin interfaceIXBService- Parameters:
displayableOnly-locale-- Returns:
- Vector
- Throws:
WTException- See Also:
-
getObjectDisplayId
Supported API: true- Specified by:
getObjectDisplayIdin interfaceIXBService- Parameters:
obj-locale-- Returns:
- String
- Throws:
WTException
-
doExport
public IXBExpImpStatus doExport(WTContainerRef container, boolean previewOnly, String[] generatorIds, String[] generatorParams, String[] filterIds, String[] filterParams, IXBStreamer ruleFile, String guiId, boolean detailedLog, IXBStreamer policyFile, String actionName, String clientFileName) throws WTException
Supported API: true- Specified by:
doExportin interfaceIXBService- Parameters:
container-previewOnly-generatorIds-generatorParams-filterIds-filterParams-ruleFile-guiId-detailedLog-policyFile-actionName-clientFileName-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
doExport
Perform export. All information is set in parameterObjectExportParametersexportParam.
Supported API: true- Specified by:
doExportin interfaceIXBService- Parameters:
exportParam-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
doExport
public IXBExpImpStatus doExport(ObjectExportParameters exportParam, ConflictResolution[] conflictResolutions) throws WTException Perform export. All information is set in parameterObjectExportParametersexportParam. The predefined conflict resolutions in theConflictResolution[]
Supported API: true- Specified by:
doExportin interfaceIXBService- Parameters:
exportParam-conflictResolutions-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
getListOfImportActors
Get all available import actor information as aVector. Eelements in the vector areActorInfo. By default only those displayable to client will be returned.
Supported API: true- Specified by:
getListOfImportActorsin interfaceIXBService- Parameters:
locale-- Returns:
- Vector
- Throws:
WTException- See Also:
-
getListOfImportActors
Get all available import actor information as aVector. Eelements in the vector areActorInfo. 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- Specified by:
getListOfImportActorsin interfaceIXBService- Parameters:
displayableOnly-locale-- Returns:
- Vector
- Throws:
WTException- See Also:
-
doImport
public IXBExpImpStatus doImport(WTContainerRef container, IXBStreamer ruleFile, IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, IXBStreamer policyFile, Locale locale) throws WTException
Supported API: true- Specified by:
doImportin interfaceIXBService- Parameters:
container-ruleFile-dataFile-overrideConflicts-guiId-isPreview-detailedLog-actorName-policyFile-locale-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
doImport
public IXBExpImpStatus doImport(WTContainerRef container, IXBStreamer ruleFile, IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, IXBStreamer policyFile, IXBStreamer containerMappingFile, Locale locale) throws WTException
Supported API: true- Specified by:
doImportin interfaceIXBService- Parameters:
container-ruleFile-dataFile-overrideConflicts-guiId-isPreview-detailedLog-actorName-policyFile-containerMappingFile-locale-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
doImport
public IXBExpImpStatus doImport(WTContainerRef container, IXBStreamer ruleFile, IXBStreamer dataFile, boolean overrideConflicts, String guiId, boolean isPreview, boolean detailedLog, String actorName, IXBStreamer policyFile, IXBStreamer containerMappingFile, Locale locale, Boolean validation) throws WTException
Supported API: true- Specified by:
doImportin interfaceIXBService- Parameters:
container-ruleFile-dataFile-overrideConflicts-guiId-isPreview-detailedLog-actorName-policyFile-containerMappingFile-locale-validation-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
doImport
Perform import. All information is set in parameterObjectImportParametersimportParam
Supported API: true- Specified by:
doImportin interfaceIXBService- Parameters:
importParam-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-
doImport
public IXBExpImpStatus doImport(ObjectImportParameters importParam, ConflictResolution[] conflictResolutions) throws WTException Perform import. All information is set in parameterObjectImportParametersimportParam. The predefined conflict resolutions in theConflictResolution[]
Supported API: true- Specified by:
doImportin interfaceIXBService- Parameters:
importParam-conflictResolutions-- Returns:
- IXBExpImpStatus
- Throws:
WTException
-