|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
getProperty(String key,
boolean def)
Get a property from the local windchill properties list. |
int |
getProperty(String key,
int def)
Get a property from the local windchill properties list. |
String |
getProperty(String key,
String def)
Get a property from the local windchill properties list. |
boolean |
getServerProperty(String key,
boolean def)
Get a property from the server's windchill properties list. |
int |
getServerProperty(String key,
int def)
Get a property from the server's windchill properties list. |
String |
getServerProperty(String key,
String def)
Get a property from the server's windchill properties list. |
String |
getUsername()
Returns the username currently being used for method invocation. |
Object |
invoke(String targetMethod,
String targetClass,
Integer targetObjectHandle,
Class[] argTypes,
Object[] newArgs)
|
void |
setPassword(String password)
Set the password for authentication. |
void |
setUsername(String username)
Sets the username for all transactions with Windchill. |
Method Detail |
public Object invoke(String targetMethod, String targetClass, Integer targetObjectHandle, Class[] argTypes, Object[] newArgs) throws RemoteException, InvocationTargetException
RemoteException
InvocationTargetException
public void setUsername(String username)
username
- The username to authenticate as.public String getUsername()
public void setPassword(String password)
password
- The password for the current user.public boolean getProperty(String key, boolean def)
key
- The property key to look up.def
- The default value to return if the property is not found.
public int getProperty(String key, int def)
key
- The property key to look up.def
- The default value to return if the property is not found.
public String getProperty(String key, String def)
key
- The property key to look up.def
- The default value to return if the property is not found.
public boolean getServerProperty(String key, boolean def)
key
- The property key to look up.def
- The default value to return if the property is not found.
public int getServerProperty(String key, int def)
key
- The property key to look up.def
- The default value to return if the property is not found.
public String getServerProperty(String key, String def)
key
- The property key to look up.def
- The default value to return if the property is not found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |