|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.pim.factories.PIMContextFactory
public class PIMContextFactory
Factory for retrieving a context for a given set of credentials
Field Summary | |
---|---|
static java.lang.String |
copyright
Deprecated. |
static java.lang.String |
DEFAULT_CONTEXT_CLASS
Deprecated. Current designated implementation DEFAULT_CONTEXT_CLASS |
static java.lang.String |
DEFAULT_CONTEXT_CLASS_BASE_CONTEXT_SET_METHOD
Deprecated. |
Constructor Summary | |
---|---|
PIMContextFactory()
Deprecated. |
Method Summary | |
---|---|
static Context |
getContext(java.lang.String userName,
java.lang.String userPassword,
java.lang.String userCompany)
Deprecated. Instantiate a new API Context Object based upon username, password and company code. |
static Context |
getCurrentContext()
Deprecated. Get current context. |
static void |
setCurrentContext(Context context)
Deprecated. Sets the current context for the thread this is called in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
public static final java.lang.String DEFAULT_CONTEXT_CLASS
DEFAULT_CONTEXT_CLASS
public static final java.lang.String DEFAULT_CONTEXT_CLASS_BASE_CONTEXT_SET_METHOD
Constructor Detail |
---|
public PIMContextFactory()
Method Detail |
---|
public static Context getCurrentContext()
public static void setCurrentContext(Context context) throws java.lang.Exception
context
-
java.lang.Exception
public static Context getContext(java.lang.String userName, java.lang.String userPassword, java.lang.String userCompany) throws java.lang.Exception
userName
- The useriduserPassword
- The user passworduserCompany
- The company id registered
java.lang.Exception
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |