public class FilePreservationListHandler extends BaseHandler
VALID| Constructor and Description |
|---|
FilePreservationListHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
create(User loggedInUser,
java.lang.String name,
java.util.List<java.lang.String> files)
Creates a new file preservation list.
|
int |
delete(User loggedInUser,
java.lang.String name)
Delete a file preservation list.
|
FileList |
getDetails(User loggedInUser,
java.lang.String name)
Returns all of the data associated with the given file preservation list.
|
java.util.List |
listAllFilePreservations(User loggedInUser)
Lists all file preservation lists associated with the org of the user
(identified by the session key).
|
ensureConfigAdmin, ensureOrgAdmin, ensureOrgOrConfigAdmin, ensureSatAdmin, ensureSystemGroupAdmin, ensureUserRole, getLoggedInUser, invoke, providesAuthentication, setEntityAttribute, validateClientCertificate, validateEntitlements, validateMap, verifyOrgExistspublic java.util.List listAllFilePreservations(User loggedInUser) throws FaultException
loggedInUser - The current userFaultException - A FaultException is thrown if:
- The sessionKey is invalidpublic int create(User loggedInUser, java.lang.String name, java.util.List<java.lang.String> files) throws FaultException
loggedInUser - The current username - name of the file list to createfiles - list of file names to includeFaultException - A FaultException is thrown if:
- The sessionKey is invalid
- The name already existspublic int delete(User loggedInUser, java.lang.String name) throws FaultException
loggedInUser - The current username - name of the file list to deleeFaultException - A FaultException is thrown if:
- The sessionKey is invalid
- The name already existspublic FileList getDetails(User loggedInUser, java.lang.String name) throws FaultException
loggedInUser - The current username - identifies the file preservation listFaultException - A FaultException is thrown if:
- The sessionKey is invalid