public interface UWSBackupManager
Modifier and Type | Method and Description |
---|---|
int[] |
restoreAll()
Restore all jobs list and all information about the jobs owners.
|
int[] |
saveAll()
Save all jobs lists and all information about the jobs owners.
|
int[] |
saveOwner(JobOwner owner)
Save ONLY the jobs of the given user and all information about this user.
|
void |
setEnabled(boolean enabled)
Enables/Disables the backup of the associated UWS.
|
void setEnabled(boolean enabled)
enabled
- true to enable the backup, false otherwise.int[] saveAll()
int[] restoreAll() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If the restoration can not be done now (i.e. if the restoration can be done only one time: at the creation of the UWS).int[] saveOwner(JobOwner owner) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- If the given owner or its ID is null.