public class ChangeTrackingAPI
extends java.lang.Object
Constructor and Description |
---|
ChangeTrackingAPI() |
Modifier and Type | Method and Description |
---|---|
static ChangeRecord |
create(java.lang.String user,
int changeType,
java.lang.String descrption,
java.lang.String resType) |
static java.util.List<ChangeRecord> |
getAllChangeRecords() |
static java.util.List<ChangeRecord> |
getChangeRecordByResourceType(java.lang.String resourceType) |
static java.util.List<ChangeRecord> |
getChangeRecordByResourceTypeAndName(java.lang.String resourceType,
java.lang.String resourceName) |
static java.util.List<ChangeRecord> |
getChangeRecordsSinceID(int id,
int maxCount) |
static java.util.List<ChangeRecord> |
getRecentChangeRecords(int maxCount) |
static void |
insertRecord(ChangeRecord rec) |
static boolean |
persistChangeRecord(ChangeRecord record) |
public static boolean persistChangeRecord(ChangeRecord record) throws java.lang.Exception
java.lang.Exception
public static java.util.List<ChangeRecord> getChangeRecordsSinceID(int id, int maxCount) throws java.lang.Exception
java.lang.Exception
public static java.util.List<ChangeRecord> getChangeRecordByResourceType(java.lang.String resourceType) throws java.lang.Exception
java.lang.Exception
public static java.util.List<ChangeRecord> getChangeRecordByResourceTypeAndName(java.lang.String resourceType, java.lang.String resourceName) throws java.lang.Exception
java.lang.Exception
public static java.util.List<ChangeRecord> getAllChangeRecords() throws java.lang.Exception
java.lang.Exception
public static java.util.List<ChangeRecord> getRecentChangeRecords(int maxCount) throws java.lang.Exception
java.lang.Exception
public static void insertRecord(ChangeRecord rec)
public static ChangeRecord create(java.lang.String user, int changeType, java.lang.String descrption, java.lang.String resType)