Package wt.fv
Class StandardFvService
java.lang.Object
wt.services.StandardManager
wt.fv.StandardFvService
- All Implemented Interfaces:
Serializable,wt.fc._NetFactor,NetFactor,FvService,FvServiceSvr,wt.services.Manager
public class StandardFvService
extends StandardManager
implements FvService, FvServiceSvr, Serializable
Standard implementation of the file vault service. Contains implementation
of the client and server APIs.These APIs can be accessed using following
pattern:
FvHelper.service.API_Name()
Use the newStandardFvService static factory method(s), not
the StandardFvService 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: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic VectorgetFileLocation(ApplicationData appData) Gets set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).static StringgetFileLocation(ApplicationData appData, String delimiter) Gets a set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).static VectorgetFileLocation(ApplicationData appData, ContentHolder holder) Gets set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).static WTKeyedMapgetFileURLs(WTKeyedMap holders, WTValuedHashMap fvItems) Gets a set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType, initialize, performShutdownProcess
-
Method Details
-
getFileLocation
Gets set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).- Parameters:
appData- ApplicationData info associated with the file to look for- Returns:
- Vector of Strings containing all possible paths of the file.
Supported API: true
Extendable: false - Since:
- Windchill R6 - build ?
-
getFileLocation
Gets set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).- Parameters:
appData- ApplicationData info associated with the file to look forholder- ContentHolder owner of appData- Returns:
- Vector of Strings containing all possible paths of the file.
Supported API: true
Extendable: false - Since:
- Windchill R6.2.6 DSU 5
-
getFileLocation
Gets a set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).- Parameters:
appData- ApplicationData info associated with the file to look fordelimiter- String to serve as a delimiter among the possible paths.
if null or empty, assumes semicolon (;)- Returns:
- string containing all possible paths of the file.
It can return an empty string due to initialization problems with the passed parameter or when the file resides in the DB, not in a vault.
Supported API: true
Extendable: false - Since:
- Windchill R6 - build ?
-
getFileURLs
public static WTKeyedMap getFileURLs(WTKeyedMap holders, WTValuedHashMap fvItems) throws WTException Gets a set of possible locations associated with a file in URL format.
Warning:
This method has a limited scope and will work under most of possible mounting scenarios, but not all of them (different physical folders, abandoned mount, etc).- Parameters:
holders- WTKeyedMap between ContentHolder and List of its ApplicationData- Returns:
- WTKeyedMap between ContentItem and a List containing all possible paths of the file associated with ApplicationData object.
The List may be empty due to initialization problems with the passed parameter or when the file resides in the DB, not in a vault.
Supported API: true
Extendable: false - Throws:
WTException- Since:
- Windchill R6 - build ?
-