public class

ObjectStoreHelper

extends Object
java.lang.Object
   ↳ org.mule.modules.salesforce.ObjectStoreHelper

Summary

Constants
String LATEST_UPDATE_TIME_BACKUP_KEY
String LATEST_UPDATE_TIME_KEY
Fields
private String keyPrefix
private ObjectStore objectStore
Public Constructors
ObjectStoreHelper(String keyPrefix, ObjectStore objectStore)
Public Methods
String getLastUpdateTimeKey(String type)
String getLatestUpdateTimeBackupKey(String type)
Calendar getTimestamp(String type)
void resetTimestamps(String type)
void updateTimestamp(GetUpdatedResult getUpdatedResult, String type)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String LATEST_UPDATE_TIME_BACKUP_KEY

Constant Value: "latestUpdateTimeBackup"

private static final String LATEST_UPDATE_TIME_KEY

Constant Value: "latestUpdateTime"

Fields

private String keyPrefix

private ObjectStore objectStore

Public Constructors

public ObjectStoreHelper (String keyPrefix, ObjectStore objectStore)

Parameters
keyPrefix
objectStore

Public Methods

public String getLastUpdateTimeKey (String type)

Parameters
type

public String getLatestUpdateTimeBackupKey (String type)

Parameters
type

public Calendar getTimestamp (String type)

Parameters
type
Throws
ObjectStoreException

public void resetTimestamps (String type)

Parameters
type
Throws
ObjectStoreException

public void updateTimestamp (GetUpdatedResult getUpdatedResult, String type)

Parameters
getUpdatedResult
type
Throws
ObjectStoreException