public class ApplicationRecoveryPodHibernate4DAO extends Object
ApplicationRecoveryPod.| Constructor and Description |
|---|
ApplicationRecoveryPodHibernate4DAO(org.hibernate.Session session) |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(String applicationPodName,
String recoveryPodName) |
boolean |
deleteRecord(ApplicationRecoveryPod recordDto)
To delete a record.
|
Collection<ApplicationRecoveryPod> |
getRecords(String applicationPodName,
String recoveryPodName)
To get records that contains specified app pod name or recovery pod name.
|
boolean |
saveRecord(String applicationPodName,
String recoveryPodName)
Save a single record with pod name content.
|
boolean |
tableExists(String tableName)
Verifies if table name exists in the database.
|
public ApplicationRecoveryPodHibernate4DAO(org.hibernate.Session session)
public boolean saveRecord(String applicationPodName, String recoveryPodName)
applicationPodName - app pod name to be savedrecoveryPodName - recovery pod name to be savedpublic boolean deleteRecord(ApplicationRecoveryPod recordDto)
recordDto - dto to be deletedpublic boolean tableExists(String tableName)
tableName - table name to be foundpublic Collection<ApplicationRecoveryPod> getRecords(String applicationPodName, String recoveryPodName)
applicationPodName - app pod name to filter recovery markers byrecoveryPodName - rec pod name to filter recovery markers byCopyright © 2018. All rights reserved.