|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.pim.context.PIMContextFactory
public class PIMContextFactory
Factory for retrieving a context for a given set of credentials
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static java.lang.String |
DEFAULT_CONTEXT_CLASS
Current designated implementation DEFAULT_CONTEXT_CLASS |
Constructor Summary | |
---|---|
PIMContextFactory()
|
Method Summary | |
---|---|
static Context |
getContext(java.lang.String userName,
java.lang.String userPassword,
java.lang.String userCompany)
Instantiate a new API Context Object based upon username, password and company code. |
static Context |
getCurrentContext()
Return the current context |
static Context |
getCurrentContextInternal()
Get current context. |
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
Constructor Detail |
---|
public PIMContextFactory()
Method Detail |
---|
public static Context getCurrentContext()
PIMInternalException
- if the context is not initializedpublic static Context getCurrentContextInternal()
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 |