|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.org.electronicIdentity.tools.LoadWTUserElectronicIdentification
This class is to be used in the bulk loading of electronic identification objects for Windchill users. The class will create a FormatContentHolder of type ApplicationData with the primary content the electronic identification object specified in the path. This class is merly a helper, it is intended that this class be used in some kind of loop that repeadly calls it with a new user and electronic identification object.
Constructor Summary | |
LoadWTUserElectronicIdentification()
|
Method Summary | |
private static WTUser |
getWTUser(String userName)
Finds the WTUser given that users Web Server ID. |
static void |
main(String[] args)
|
static void |
setUserElectronicIdentification(String userName,
String fileName,
String pathWithFileName)
Finds the WTUser associated with the user name. |
static void |
setUserElectronicIdentification(WTUser user,
String fileName,
String pathWithFileName)
Creates the UserElectronicIDLink between WTUser and their ElectronicSignature, then associates the ElectronicSignature with a FormatContentHolder which is then associated with ApplicationData. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoadWTUserElectronicIdentification()
Method Detail |
public static void main(String[] args)
public static void setUserElectronicIdentification(String userName, String fileName, String pathWithFileName) throws WTPropertyVetoException, WTException
fileName
- The display name to be given to the electronic identity, usually the filename.pathWithFileName
- The complete path to the file, with the file name.
WTPropertyVetoException
WTException
public static void setUserElectronicIdentification(WTUser user, String fileName, String pathWithFileName) throws WTPropertyVetoException, WTException
user
- The WTUserfileName
- The display name to be given to the electronic identity, usually the filename.pathWithFileName
- The complete path to the file, with the file name.
WTPropertyVetoException
WTException
private static WTUser getWTUser(String userName)
userName
- The Authenticated(WTUser) user name.
None
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |