| java.lang.Object |
| ↳ |
org.mule.module.magento.api.AbstractMagentoClient |
Known Direct Subclasses
|
Class Overview
Base class for all Magento clients. Magento clients follow the following
conventions:
- They are parameterized by the exception type they throw. For example, axis
clients should be parameterized to throw RemoteExceptions, while
MagentoClientAdaptor will throw MagentoExceptions
- They are parameterized by the way they model attributes and attributes
collections. For example, axis clients will answers arrays of magento objects for
representing collection of attributes, while
MagentoClientAdaptor will
answer lists of maps, instead
- Create and update operations take the target's object attributes in a Map with
String keys and Object values.
- Retrieve operations return object's attributes in a Map similar to the
previously described
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
Public Constructors
Protected Methods
protected
static
boolean
fromIntegerString
(String value)
protected
final
String
getSessionId
()
protected
Map<K, V>
nullToEmpty
(Map<K, V> attributes)
protected
Collection<T>
nullToEmpty
(Collection<T> collection)
protected
static
T[]
toArray
(Collection<T> collection, Class<T> clazz)
protected
static
String
toIntegerString
(boolean value)