|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DriftManagerRemote
| Method Summary | |
|---|---|
void |
deleteDriftDefinition(Subject subject,
EntityContext entityContext,
String driftDefName)
Remove the provided driftDef (identified by name) on the specified entityContext. |
PageList<? extends DriftChangeSet<?>> |
findDriftChangeSetsByCriteria(Subject subject,
DriftChangeSetCriteria criteria)
Standard criteria based fetch method |
PageList<DriftDefinition> |
findDriftDefinitionsByCriteria(Subject subject,
DriftDefinitionCriteria criteria)
|
PageList<? extends Drift<?,?>> |
findDriftsByCriteria(Subject subject,
DriftCriteria criteria)
Standard criteria based fetch method |
FileDiffReport |
generateUnifiedDiff(Subject subject,
Drift<?,?> drift)
Generates a unified diff of the two files references by drift. |
FileDiffReport |
generateUnifiedDiff(Subject subject,
Drift<?,?> drift1,
Drift<?,?> drift2)
Generates a unified diff of the two files referenced by drift1 and drift2. |
FileDiffReport |
generateUnifiedDiffByIds(Subject subject,
String driftId1,
String driftId2)
Generates a unified diff of the two file versions referenced by drift ids. |
String |
getDriftFileBits(Subject subject,
String hash)
Returns the content associated with the specified hash as a string |
DriftSnapshot |
getSnapshot(Subject subject,
DriftSnapshotRequest request)
Calculate and return requested Drift Snapshot. |
void |
pinSnapshot(Subject subject,
int driftDefId,
int snapshotVersion)
|
void |
updateDriftDefinition(Subject subject,
EntityContext entityContext,
DriftDefinition driftConfig)
|
| Method Detail |
|---|
void deleteDriftDefinition(Subject subject,
EntityContext entityContext,
String driftDefName)
subject - entityContext - driftDefName -
PageList<? extends DriftChangeSet<?>> findDriftChangeSetsByCriteria(Subject subject,
DriftChangeSetCriteria criteria)
throws Exception
subject - criteria -
Exception
PageList<DriftDefinition> findDriftDefinitionsByCriteria(Subject subject,
DriftDefinitionCriteria criteria)
PageList<? extends Drift<?,?>> findDriftsByCriteria(Subject subject,
DriftCriteria criteria)
throws Exception
subject - criteria -
Exception
FileDiffReport generateUnifiedDiff(Subject subject,
Drift<?,?> drift)
drift - Specifies the two files that will be compared
FileDiffReport generateUnifiedDiff(Subject subject,
Drift<?,?> drift1,
Drift<?,?> drift2)
Drift.getNewDriftFile()
are compared.
drift1 - References the first file to be compareddrift2 - References the second file to be compared
FileDiffReport generateUnifiedDiffByIds(Subject subject,
String driftId1,
String driftId2)
drift1Id - the "new" version of the first driftdrift2Id - the "new" version of the second drift
String getDriftFileBits(Subject subject,
String hash)
hash - The hash the uniquely identifies the requested content
DriftSnapshot getSnapshot(Subject subject,
DriftSnapshotRequest request)
subject - request -
IllegalArgumentException - if the specified drift definition does not exist
void pinSnapshot(Subject subject,
int driftDefId,
int snapshotVersion)
void updateDriftDefinition(Subject subject,
EntityContext entityContext,
DriftDefinition driftConfig)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||