com.mulesoft.adapter.module.salesforce
Class SObjectTypeFinder

java.lang.Object
  extended by com.mulesoft.adapter.module.salesforce.SObjectTypeFinder

public class SObjectTypeFinder
extends Object

Helper used to cache describe-operation results


Constructor Summary
SObjectTypeFinder(String type, org.mule.tools.module.invocation.DynamicModule module)
           
 
Method Summary
 com.sforce.soap.partner.Field findField(String name)
           
 void init()
          cache type description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SObjectTypeFinder

public SObjectTypeFinder(String type,
                         org.mule.tools.module.invocation.DynamicModule module)
Method Detail

init

public void init()
          throws org.mule.api.lifecycle.InitialisationException,
                 org.mule.api.MuleException
cache type description

Throws:
org.mule.api.lifecycle.InitialisationException
org.mule.api.MuleException

findField

public com.sforce.soap.partner.Field findField(String name)
Parameters:
name - the field name
Returns:
the Field or null if not found in type
Throws:
org.mule.api.MuleException


Copyright © 2012. All Rights Reserved.