|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.adapter.ResourceAdapterBase
com.waveset.adapter.BlackberryResourceAdapter
This is an unsupported adapter
Nested Class Summary | |
class |
BlackberryResourceAdapter.BlackBerryAccountIterator
|
Nested classes inherited from class com.waveset.adapter.ResourceAdapterBase |
ResourceAdapterBase.SimpleAccountIterator |
Nested classes inherited from class com.waveset.adapter.ResourceAdapter |
ResourceAdapter.ActionResult, ResourceAdapter.Features, ResourceAdapter.ObjectType |
Field Summary | |
static java.lang.String |
ACCOUNT_ID
|
static java.lang.String |
code_id
|
static java.lang.String |
LHS_MAILBOX_DN
|
static java.lang.String |
LHS_PIN
|
static java.lang.String |
LHS_SERVER_DN
|
static java.lang.String |
LHS_TYPE
|
static java.lang.String |
MAILBOX_DN
|
static java.lang.String |
PIN
|
static java.lang.String |
RA_BB_SERVER_NAME
The name of the blackberry server |
static java.lang.String |
RA_BB_SERVER_NETWORK_NAME
The network name or ip address of the blackberry server |
static java.lang.String |
RA_PATH_TO_EXE
The path to the exe. |
static java.lang.String |
SERVER_DN
|
static java.lang.String |
TYPE
|
Fields inherited from class com.waveset.adapter.ResourceAdapterBase |
_cache, _context, _excludedAccountsRule, _excludedAccountsRuleInited, _listAllObjectsAttrParse, _listAllObjectsAttrParseName, _listUserAttrParse, _listUserAttrParseName, _listUserGroupsAttrParse, _listUserGroupsAttrParseName, _resource, _thread, _trace, displayInfoCode, RA_BLOCKCOUNT, RA_LOGIN_ACTION, RA_LOGOFF_ACTION, RA_MULTI_VALUED_ATTRS, RA_TEST_MODE |
Constructor Summary | |
BlackberryResourceAdapter()
|
|
BlackberryResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
WavesetResult |
authenticate(java.util.HashMap loginInfo)
authenticate |
WavesetResult |
checkCreateAccount(WSUser user)
checkCreateAccount |
WavesetResult |
checkDeleteAccount(WSUser user)
checkDeleteAccount |
WavesetResult |
checkUpdateAccount(WSUser user)
checkUpdateAccount |
Resource |
createPrototypeResource()
|
AccountIterator |
getAccountIterator()
|
GenericObject |
getFeatures()
Expose features supported by the Resource Adapter. |
protected java.lang.String |
getResourceAttribute(java.lang.String name)
Get a resource attribute value as a string, carefully. |
WSUser |
getUser(WSUser user)
Retrieve information about an account, and package it as a WSUser object. |
protected void |
realCreate(WSUser user,
WavesetResult result)
Create a new user account on the resource This method is called by createAccounts (the multiuser create method). |
protected void |
realDelete(WSUser user,
WavesetResult result)
Needs to be overridden by subclass if default deleteAccounts() implementation is used. |
protected void |
startConnection()
Needs to be overridden by subclass if default createAccounts() implementation is used. |
static Resource |
staticCreatePrototypeResource()
|
protected void |
stopConnection()
Needs to be overridden by subclass if default createAccounts() implementation is used. |
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 code_id
public static final java.lang.String RA_PATH_TO_EXE
public static final java.lang.String RA_BB_SERVER_NAME
public static final java.lang.String ACCOUNT_ID
public static final java.lang.String RA_BB_SERVER_NETWORK_NAME
public static final java.lang.String MAILBOX_DN
public static final java.lang.String SERVER_DN
public static final java.lang.String PIN
public static final java.lang.String TYPE
public static final java.lang.String LHS_MAILBOX_DN
public static final java.lang.String LHS_SERVER_DN
public static final java.lang.String LHS_PIN
public static final java.lang.String LHS_TYPE
Constructor Detail |
public BlackberryResourceAdapter(Resource res, ObjectCache cache)
public BlackberryResourceAdapter()
Method Detail |
public GenericObject getFeatures()
ResourceAdapterBase
getFeatures
in interface ResourceAdapter
getFeatures
in class ResourceAdapterBase
ResourceAdapter.Features
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class ResourceAdapterBase
WavesetException
public WSUser getUser(WSUser user) throws WavesetException
Information required to identify the resource account is supplied in another WSUser object.
The returned user object will resemble the source object, but will have its account attribute list filled in.
Returns "null" if there is no account that corresponds to the user.
getUser
in interface ResourceAdapter
getUser
in class ResourceAdapterBase
WavesetException
protected void realCreate(WSUser user, WavesetResult result) throws WavesetException
realCreate
in class ResourceAdapterBase
WavesetException
protected void realDelete(WSUser user, WavesetResult result) throws WavesetException
ResourceAdapterBase
realDelete
in class ResourceAdapterBase
WavesetException
public AccountIterator getAccountIterator() throws WavesetException
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class ResourceAdapterBase
WavesetException
public WavesetResult checkUpdateAccount(WSUser user) throws WavesetException
checkUpdateAccount
in interface ResourceAdapter
checkUpdateAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult checkDeleteAccount(WSUser user) throws WavesetException
checkDeleteAccount
in interface ResourceAdapter
checkDeleteAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult checkCreateAccount(WSUser user) throws WavesetException
checkCreateAccount
in interface ResourceAdapter
checkCreateAccount
in class ResourceAdapterBase
WavesetException
public WavesetResult authenticate(java.util.HashMap loginInfo) throws WavesetException
authenticate
in interface ResourceAdapter
authenticate
in class ResourceAdapterBase
WavesetException
protected void startConnection() throws WavesetException
ResourceAdapterBase
startConnection
in class ResourceAdapterBase
WavesetException
protected void stopConnection() throws WavesetException
ResourceAdapterBase
stopConnection
in class ResourceAdapterBase
WavesetException
protected java.lang.String getResourceAttribute(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |