|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JPADriftServerLocal
The SLSB methods needed to support the JPA (RHQ Default) Drift Server Plugin.
| Method Summary | |
|---|---|
void |
ackChangeSetInNewTransaction(org.rhq.core.domain.auth.Subject subject,
int resourceId,
Headers headers,
List<org.rhq.core.domain.drift.JPADriftFile> driftFilesToRequest)
For transactioning purposes only, part of storeChangeSet impl. |
String |
copyChangeSet(org.rhq.core.domain.auth.Subject subject,
String changeSetId,
int driftDefId,
int resourceId)
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.drift.JPADriftChangeSet> |
findDriftChangeSetsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.DriftChangeSetCriteria criteria)
Standard criteria based fetch method |
org.rhq.core.domain.util.PageList<org.rhq.core.domain.drift.DriftComposite> |
findDriftCompositesByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.DriftCriteria criteria)
|
org.rhq.core.domain.util.PageList<org.rhq.core.domain.drift.JPADrift> |
findDriftsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.DriftCriteria criteria)
Standard criteria based fetch method |
org.rhq.core.domain.drift.JPADriftFile |
getDriftFile(org.rhq.core.domain.auth.Subject subject,
String sha256)
Simple get method for a JPADriftFile. |
byte[] |
getDriftFileAsByteArray(String hash)
|
String |
getDriftFileBits(String hash)
|
String |
persistChangeSet(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.drift.DriftChangeSet<?> changeSet)
|
org.rhq.core.domain.drift.JPADriftFile |
persistDriftFile(org.rhq.core.domain.drift.JPADriftFile driftFile)
SUPPORTS JPA DRIFT SERVER PLUGIN |
void |
persistDriftFileData(org.rhq.core.domain.drift.JPADriftFile driftFile,
InputStream data,
long numBytes)
SUPPORTS JPA DRIFT SERVER PLUGIN |
void |
purgeByDriftDefinitionName(org.rhq.core.domain.auth.Subject subject,
int resourceId,
String driftDefName)
SUPPORTS JPA DRIFT SERVER PLUGIN This is for internal use only - do not call it unless you know what you are doing. |
int |
purgeOrphanedDriftFiles(org.rhq.core.domain.auth.Subject subject,
long purgeMillis)
SUPPORTS JPA DRIFT SERVER PLUGIN This will remove all drift files that are no longer referenced by drift entries. |
DriftChangeSetSummary |
storeChangeSet(org.rhq.core.domain.auth.Subject subject,
int resourceId,
File changeSetZip)
This method stores the provided change-set file for the resource. |
DriftChangeSetSummary |
storeChangeSetInNewTransaction(org.rhq.core.domain.auth.Subject subject,
int resourceId,
File changeSetZip,
List<org.rhq.core.domain.drift.JPADriftFile> driftFilesToRequest,
Headers[] headers)
For transactioning purposes only, part of storeChangeSet impl. |
void |
storeFiles(org.rhq.core.domain.auth.Subject subject,
File filesZip)
This method stores the provided drift files. |
| Method Detail |
|---|
org.rhq.core.domain.drift.JPADriftFile getDriftFile(org.rhq.core.domain.auth.Subject subject,
String sha256)
subject - sha256 -
org.rhq.core.domain.util.PageList<org.rhq.core.domain.drift.JPADriftChangeSet> findDriftChangeSetsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.DriftChangeSetCriteria criteria)
subject - criteria -
org.rhq.core.domain.util.PageList<org.rhq.core.domain.drift.DriftComposite> findDriftCompositesByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.DriftCriteria criteria)
org.rhq.core.domain.util.PageList<org.rhq.core.domain.drift.JPADrift> findDriftsByCriteria(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.criteria.DriftCriteria criteria)
subject - criteria -
String persistChangeSet(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.drift.DriftChangeSet<?> changeSet)
String copyChangeSet(org.rhq.core.domain.auth.Subject subject,
String changeSetId,
int driftDefId,
int resourceId)
org.rhq.core.domain.drift.JPADriftFile persistDriftFile(org.rhq.core.domain.drift.JPADriftFile driftFile)
throws Exception
driftFile -
Exception
void persistDriftFileData(org.rhq.core.domain.drift.JPADriftFile driftFile,
InputStream data,
long numBytes)
throws Exception
driftFile - data -
Exception
DriftChangeSetSummary storeChangeSet(org.rhq.core.domain.auth.Subject subject,
int resourceId,
File changeSetZip)
throws Exception
resourceId - The resource for which the change-set is being reported.changeSetZip - The change-set zip file
Exception
DriftChangeSetSummary storeChangeSetInNewTransaction(org.rhq.core.domain.auth.Subject subject,
int resourceId,
File changeSetZip,
List<org.rhq.core.domain.drift.JPADriftFile> driftFilesToRequest,
Headers[] headers)
throws Exception
Exception
void ackChangeSetInNewTransaction(org.rhq.core.domain.auth.Subject subject,
int resourceId,
Headers headers,
List<org.rhq.core.domain.drift.JPADriftFile> driftFilesToRequest)
throws Exception
Exception
void storeFiles(org.rhq.core.domain.auth.Subject subject,
File filesZip)
throws Exception
filesZip - The change-set zip file
Exception
void purgeByDriftDefinitionName(org.rhq.core.domain.auth.Subject subject,
int resourceId,
String driftDefName)
throws Exception
Exception
int purgeOrphanedDriftFiles(org.rhq.core.domain.auth.Subject subject,
long purgeMillis)
subject - purgeMillis -
String getDriftFileBits(String hash)
byte[] getDriftFileAsByteArray(String hash)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||