|
||||||||||
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.AgentResourceAdapter
com.waveset.adapter.RemedyResourceAdapter
Resource adapter for creating people records in the Remedy AR server. Since remedy doesn't have a JAVA based API, this resource will be a Gateway based adapter. Also supports active sync. Polls Remedy to retrieve rows from an arbitrary schema which are qualified with a static or last-result-based predicate. A user-defined workflow is launched with each qualified row (after being mapping to the user schema).
Nested Class Summary | |
static class |
RemedyResourceAdapter.RemedyMapResolver
A class that implements the VariableResolver interface. |
static class |
RemedyResourceAdapter.VariableChecker
VariableChecker verifies that a variables appear in the LHS of the schema map. |
Nested classes inherited from class com.waveset.adapter.AgentResourceAdapter |
AgentResourceAdapter.AcctIter, AgentResourceAdapter.AgentAccountSupplier, AgentResourceAdapter.BlockAcctIter, AgentResourceAdapter.BlockObjectIterator |
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 |
code_id
|
static java.lang.String |
LAST_FETCHED_CONJUNCTION
|
static java.lang.String |
LAST_FETCHED_FILTER
|
static java.lang.String |
RA_PASSWORD
|
static java.lang.String |
RA_PROCESS_NAME
deprecated As of IdM 5.5. |
static java.lang.String |
RA_REMEDY_RPCSOCKET
|
static java.lang.String |
RA_REMEDY_TCPPORT
|
static java.lang.String |
RA_SCHEMA
|
static java.lang.String |
RA_SERVER
|
static java.lang.String |
RA_SUPPORTS_PASSWORDS
|
static java.lang.String |
RA_UPDATE_SEARCH_FILTER
|
static java.lang.String |
RA_USER
|
Fields inherited from class com.waveset.adapter.AgentResourceAdapter |
_connection, ATTR_ACTION, CONNECTED_TO_RESOURCE, RA_AUTHTIMEOUT, RA_CONN, RA_HANGTIMEOUT, RA_HOST, RA_OBJCLASS, RA_PORT, SUPPORTS_ENCRYPTED_TYPE, USER_CLASS |
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 | |
RemedyResourceAdapter()
|
|
RemedyResourceAdapter(Resource res,
ObjectCache cache)
|
Method Summary | |
void |
callCompleted(com.waveset.adapter.iapi.IAPI call)
|
Resource |
createPrototypeResource()
|
AccountIterator |
getAccountIterator()
Default implementation just gets all the users and holds them in an array. |
java.lang.Object |
getAttributeValue(java.lang.String name)
Get or set an attribute value for the ActiveSync. |
GenericObject |
getFeatures()
Override the default implementation of this method to indicate that password, expirepassword, disable and enable are not supported by remedy. |
protected java.lang.String |
getLoginAttrName(java.lang.String key)
Get the attribute name to use for the login info key that is passed in. |
void |
init()
initialize yourself. |
java.util.List |
listObjects(java.lang.String objectType,
java.util.Map options)
Returns a list of objects matching the requested objectType and options |
int |
poll()
The poll method. |
void |
setAttributeValue(java.lang.String name,
java.lang.Object value)
|
void |
setResource(Resource r)
|
void |
setResourceObjectClassAttr(java.lang.String objectType,
boolean primary)
Set the object class attr value, return the old one. |
void |
shutdown()
shutdown |
static Resource |
staticCreatePrototypeResource()
|
boolean |
supportsAccountDisable()
Return true if this resource supports some form of native account disable. |
WavesetResult |
testConfiguration()
Default implementation of test method, calls check create. |
protected void |
traceAndLog(long traceLevel,
java.lang.String method,
int logLevel,
java.lang.String message)
|
protected boolean |
updateIdFromResource()
Override the default implementation of this method to indicate that the identity for Remedy resources should come from the resource. |
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_USER
public static final java.lang.String RA_PASSWORD
public static final java.lang.String RA_SCHEMA
public static final java.lang.String RA_SERVER
public static final java.lang.String RA_REMEDY_TCPPORT
public static final java.lang.String RA_REMEDY_RPCSOCKET
public static final java.lang.String RA_SUPPORTS_PASSWORDS
public static final java.lang.String RA_UPDATE_SEARCH_FILTER
public static final java.lang.String RA_PROCESS_NAME
public static final java.lang.String LAST_FETCHED_FILTER
public static final java.lang.String LAST_FETCHED_CONJUNCTION
Constructor Detail |
public RemedyResourceAdapter(Resource res, ObjectCache cache)
public RemedyResourceAdapter()
Method Detail |
public static Resource staticCreatePrototypeResource() throws WavesetException
WavesetException
public Resource createPrototypeResource() throws WavesetException
createPrototypeResource
in interface ResourceAdapter
createPrototypeResource
in class AgentResourceAdapter
WavesetException
protected java.lang.String getLoginAttrName(java.lang.String key)
getLoginAttrName
in class AgentResourceAdapter
public AccountIterator getAccountIterator() throws WavesetException
AgentResourceAdapter
getAccountIterator
in interface ResourceAdapter
getAccountIterator
in class AgentResourceAdapter
WavesetException
public boolean supportsAccountDisable()
supportsAccountDisable
in interface ResourceAdapter
supportsAccountDisable
in class ResourceAdapterBase
protected boolean updateIdFromResource()
updateIdFromResource
in class AgentResourceAdapter
public GenericObject getFeatures()
getFeatures
in interface ResourceAdapter
getFeatures
in class AgentResourceAdapter
ResourceAdapter.Features
public java.util.List listObjects(java.lang.String objectType, java.util.Map options) throws WavesetException
AgentResourceAdapter
listObjects
in interface ResourceAdapter
listObjects
in class AgentResourceAdapter
objectType
- - the name of a valid object class for this specified "resId".options
- - several options can be specified which control the behavior of the search.
They include:
WavesetException
public void setResourceObjectClassAttr(java.lang.String objectType, boolean primary)
ResourceAdapterBase
setResourceObjectClassAttr
in interface ResourceAdapter
setResourceObjectClassAttr
in class ResourceAdapterBase
public void init() throws java.lang.Exception
ActiveSync
init
in interface ActiveSync
java.lang.Exception
public void shutdown()
ActiveSync
shutdown
in interface ActiveSync
public java.lang.Object getAttributeValue(java.lang.String name) throws java.lang.Exception
ActiveSync
getAttributeValue
in interface ActiveSync
java.lang.Exception
public void setAttributeValue(java.lang.String name, java.lang.Object value) throws java.lang.Exception
setAttributeValue
in interface ActiveSync
java.lang.Exception
public int poll() throws java.lang.InterruptedException
ActiveSync
poll
in interface ActiveSync
java.lang.InterruptedException
public void callCompleted(com.waveset.adapter.iapi.IAPI call)
public void setResource(Resource r)
setResource
in interface ResourceAdapter
setResource
in class ResourceAdapterBase
public WavesetResult testConfiguration() throws WavesetException
ResourceAdapterBase
testConfiguration
in interface ResourceAdapter
testConfiguration
in class ResourceAdapterBase
WavesetException
protected void traceAndLog(long traceLevel, java.lang.String method, int logLevel, java.lang.String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |