Interface DataBaseInterface
- All Superinterfaces:
Remote
The Interface DataBaseInterface.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddatafileDel(String user, Long dataFileId) Datafile del.longdatafilePut(String user, String remoteHost, String destination, String metadata, String source, String uniqueName, String target, Integer priority, String lifeTime, String at, Boolean standby, Boolean force) Datafile put.longdatafileSize(String user, Long dataFileId) Datafile size.destinationCountryList(String user) Destination country list.destinationList(String user, String id, String iso, Integer type) Destination list.geoLocateIps(List<String> ips) Gets the alias.Alias[]getAliases(String name, String mode) Gets the aliases.getAllowedEcUsersByHostName(String hostName) Gets the allowed ec users by host name.Gets all portal traffic statistics (system-wide aggregate, last 90 days).Gets traffic aggregated across all destinations, grouped by date.getAssociation(String destinationName, String hostName) Gets the association.Gets the authorised destinations for a web user.getAuthorisedHosts(String uid) Gets the authorised hosts for a web user.Gets all (host, destination) pairs a web user is authorised to access, using a single combined permission query.getBadDataTransfersByDestination(String destinationName) Gets the bad data transfers by destination.intgetBadDataTransfersByDestinationCount(String destinationName) Gets the bad data transfers by destination count.Gets the categories per resource id.getCategoriesPerUserId(String userId) Gets the categories per user id.getCategory(long id) Gets the category.Category[]Gets the category array.Gets the cat url.CatUrl[]Gets the cat url array.getChangeLogByKey(String keyName, String keyValue) Gets the change log by key.getCountry(String iso) Gets the country.Country[]Gets the country array.getDataFile(long dataFileId) Gets the data file.getDataFilesByMetaData(String name, String value, String search, Date from, Date to, DataBaseCursor cursor) Gets the data files by meta data.getDataFilesByMetaData(String name, String value, Date from, Date to, DataBaseCursor cursor) Gets the data files by meta data.getDataTransfer(long dataTransferId) Gets the data transfer.intgetDataTransferCountNotDoneByProductAndTimeOnDate(String destination, String product, String time, Date from, Date to) Gets the data transfer count not done by product and time on date.getDataTransfersByDataFileId(long dataFileId, boolean includeDeleted) Gets the data transfers by data file id.getDataTransfersByDestinationAndIdentity(String destination, String identity) Gets the data transfers by destination and identity.getDataTransfersByDestinationOnDate(String destinationName, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination on date.getDataTransfersByDestinationOnTransmissionDate(String destinationName, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination on transmission date.getDataTransfersByDestinationProductAndTimeOnDate(String destinationName, String product, String time, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination product and time on date.getDataTransfersByFilter(String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to) Gets the data transfers by filter.getDataTransfersByFilter(String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to, DataBaseCursor cursor) Gets the data transfers by filter.getDataTransfersByHostName(String name, Date from, Date to) Gets the data transfers by host name.getDataTransfersByStatusCodeAndDate(String status, Date from, Date to, String search, String type, DataBaseCursor cursor) Gets the data transfers by status code and date.getDataTransfersByTransferServerName(String name, Date from, Date to) Gets the data transfers by transfer server name.getDestination(String name, boolean useCache) Gets the destination.getDestinationAliases(String name, String mode) Gets the destination aliases.Gets the destination array.getDestinationArray(boolean monitored) Gets the destination array.Get the backup for the selected destination(s).Gets a map of host name to destination count using a single GROUP BY query on the ASSOCIATION table.ECUser[]getDestinationEcuser(String destinationName) Gets the destination ecuser.getDestinationECUser(String destinationName, String ecuserName) Gets the destination ec user.getDestinationIncomingPolicies(String destinationName) Gets the destination incoming policies.Gets the destination names and comments sorted by names.Gets a map of host name to sorted list of destination names using a single ASSOCIATION table query.Gets the set of destination names that have at least one active proxy host assigned.Get the DestinationOption list.getDestinationsByCountryISO(String isoCode) Gets the destinations by country iso.getDestinationsByHostName(String hostName) Gets the destinations by host name.getDestinationsByUser(String uid, String search, String fromToAliases, boolean asc, String status, String type, String filter) Gets the destinations by user.getDestinationsByUser(String uid, String search, String fromToAliases, int orderColumn, boolean ascending, int start, int length, String status, String type, String filter) Gets the destinations by user.intgetDestinationsByUserCount(String uid, String search, String fromToAliases, String status, String type, String filter) Gets the total count of destinations accessible by a given user matching the supplied filters.getDestinationsForIncomingPolicy(String policyId) Gets the destinations for an incoming policy.getDestinationsForIncomingUser(String userId) Gets the destinations for an incoming user.getECtransModule(String name) Gets the ectrans module.Gets the ectrans module array.Gets the EC user.ECUser[]Gets the EC user array.getECuserEvents(String userName, Date onIsoDate, String search, DataBaseCursor cursor) Gets the ecuser events.Gets all feedback entries, most recent first.getFilteredHosts(String label, String filter, String network, String type, String search, DataBaseCursor cursor) Gets the hosts.Gets the host.Host[]Gets the host array.getHostECUser(String ecuserName, String hostName) Gets the host ec user.getHostsByDestinationId(String destId) Gets the hosts by destination id.getHostsByTransferMethodId(String transferMethodId) Gets the hosts by transfer method id.getIncomingHistory(String incomingUserId, Date onIsoDate, String search, DataBaseCursor cursor) Gets the incoming history list.Gets the incoming policies for an incoming user.getIncomingPolicy(String name) Gets the incoming policy.Gets the incoming policy array.getIncomingUser(String name) Gets the incoming user.Gets the incoming user array.getIncomingUsersForDestination(String destinationName) Gets the incoming users directly associated to a destination.getIncomingUsersForIncomingPolicy(String policyId) Gets the incoming users for an incoming policy.voidgetInitialChangeHostEvents(String target) Gets the initial change host events.voidgetInitialDataTransferEvents(String target) Gets the initial data transfer events.voidgetInitialProductStatusEvents(String target) Gets the initial product status events.getLastDataTransfersByHostName(String name, int limit) Gets the last N data transfers by host name (no date filter, most recent first).getMetadataAttribute(String name) Gets the metadata attribute.Gets the metadata attribute array.Gets the meta data by attribute name.getMetaDataByDataFileId(long dataFileId) Gets the meta data by data file id.getOperation(String name) Gets the operation.Gets the operation array.getOperationsForIncomingUser(String userId) Gets operations for an incoming user.getPolicyAssociation(String destinationName, String policyId) Gets the policy association.getPortalTrafficByUser(String userId) Gets portal traffic statistics for a specific user (last 90 days).getProductStatus(String stream, String time, String type, long step, int limit) Gets the product status.Rates[]Gets the rates.Rates[]getRatesPerFileSystem(Date fromDate, Date toDate, String transferServerName, String caller, String sourceHost) Gets the rates per file system.Rates[]getRatesPerTransferServer(Date fromDate, Date toDate, String caller, String sourceHost) Gets the rates per transfer server.getRecentPortalTrafficByUser(String userId, int hours) Gets recent portal traffic for a specific user from the minute-bucket table (last N hours).getSortedBadDataTransfersByDestination(String destinationName, DataBaseCursor cursor) getTrafficByDestinationName(String destinationName) Gets the traffic by destination name.getTransferCountAndMetaDataByFilter(String countBy, String destination, String target, String stream, String time, String status, String fileName, Date from, Date to, String privilegedUser, Date scheduledBefore) Gets the transfer count and meta data by filter.Gets the transfer count with destination and metadata value by metadata name.getTransferGroup(String name) Gets the transfer group.Gets the transfer group array.getTransferHistory(long transferHistoryId) Gets the transfer history.getTransferHistoryByDataTransferId(long dataTransferId) Gets the transfer history.getTransferHistoryByDataTransferId(long dataTransferId, boolean afterScheduleTime, DataBaseCursor cursor) Gets the transfer history.getTransferHistoryByDestinationOnHistoryDate(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) Gets the transfer history by destination on history date.getTransferHistoryByDestinationOnProductDate(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) Gets the transfer history by destination on product date.getTransferMethod(String name) Gets the transfer method.Gets the transfer method array.getTransferMethodsByEcTransModuleName(String ecTransModuleName) Gets the transfer methods by ec trans module name.getTransferServer(String name) Gets the transfer server.Gets the transfer server array.getTransferServers(String groupName) Gets the transfer servers.getTransferStatisticsByDataTransferId(long dataTransferId) Gets all TransferStatistics records for the given data transfer id.Gets the url.Url[]Gets the url array.Gets the urls per category id.getUsersPerCategoryId(String categoryId) Gets the users per category id.getWebUser(String id) Gets the web user.WebUser[]Gets the web user array.Gets the weu cat.voidincomingAssociationAdd(String user, String id, String destination) Incoming association add.voidincomingAssociationDel(String user, String id, String destination) Incoming association del.String[]incomingAssociationList(String user, String id) Incoming association list.voidincomingCategoryAdd(String user, String id, List<String> categories) Incoming category add.voidIncoming user add.incomingUserAdd2(String user, String id, String email, String iso) Incoming user add2.voidincomingUserDel(String user, String id) Incoming user del.incomingUserList(String user, String destination) Incoming user list.voidinsert(ECpdsSession session, DataBaseObject object, boolean createPk) Insert.voidmarkFeedbackReviewed(Feedback feedback) Marks a feedback entry as reviewed.intputDestinationBackup(String user, DestinationBackup backup, boolean copySharedHost) Import the provided backup.voidremove(ECpdsSession session, DataBaseObject object) Removes the.voidvoidRemoves all reviewed feedback entries.voidremoveFeedback(Feedback feedback) Deletes a feedback entry.booleantryInsertFeedback(Feedback feedback) Inserts a feedback entry.voidupdate(ECpdsSession session, DataBaseObject object) Update.voidUpdate the provided host option.
-
Method Details
-
insert
void insert(ECpdsSession session, DataBaseObject object, boolean createPk) throws MasterException, DataBaseException, RemoteException Insert.- Parameters:
session- the sessionobject- the objectcreatePk- the create pk- Throws:
MasterException- the master exceptionDataBaseException- the data base exceptionRemoteException- the remote exception
-
update
void update(ECpdsSession session, DataBaseObject object) throws MasterException, DataBaseException, RemoteException Update.- Parameters:
session- the sessionobject- the object- Throws:
MasterException- the master exceptionDataBaseException- the data base exceptionRemoteException- the remote exception
-
remove
void remove(ECpdsSession session, DataBaseObject object) throws MasterException, DataBaseException, RemoteException Removes the.- Parameters:
session- the sessionobject- the object- Throws:
MasterException- the master exceptionDataBaseException- the data base exceptionRemoteException- the remote exception
-
getInitialDataTransferEvents
Gets the initial data transfer events.- Parameters:
target- the target- Throws:
RemoteException- the remote exception
-
getInitialChangeHostEvents
Gets the initial change host events.- Parameters:
target- the target- Throws:
RemoteException- the remote exception
-
getInitialProductStatusEvents
Gets the initial product status events.- Parameters:
target- the target- Throws:
RemoteException- the remote exception
-
getTransferServers
Gets the transfer servers.- Parameters:
groupName- the group name- Returns:
- the transfer servers
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationEcuser
Gets the destination ecuser.- Parameters:
destinationName- the destination name- Returns:
- the destination ecuser
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationIncomingPolicies
IncomingPolicy[] getDestinationIncomingPolicies(String destinationName) throws DataBaseException, RemoteException Gets the destination incoming policies.- Parameters:
destinationName- the destination name- Returns:
- the destination incoming policies
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingUsersForIncomingPolicy
IncomingUser[] getIncomingUsersForIncomingPolicy(String policyId) throws DataBaseException, RemoteException Gets the incoming users for an incoming policy.- Parameters:
policyId- the policy id- Returns:
- the incoming users
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingUsersForDestination
IncomingUser[] getIncomingUsersForDestination(String destinationName) throws DataBaseException, RemoteException Gets the incoming users directly associated to a destination.- Parameters:
destinationName- the destination name- Returns:
- the incoming users
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingPoliciesForIncomingUser
IncomingPolicy[] getIncomingPoliciesForIncomingUser(String userId) throws DataBaseException, RemoteException Gets the incoming policies for an incoming user.- Parameters:
userId- the incoming user id- Returns:
- the incoming policies
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getOperationsForIncomingUser
Gets operations for an incoming user.- Parameters:
userId- the incoming user id- Returns:
- the operations
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationsForIncomingUser
Destination[] getDestinationsForIncomingUser(String userId) throws DataBaseException, RemoteException Gets the destinations for an incoming user.- Parameters:
userId- the incoming user id- Returns:
- the destinations
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationsForIncomingPolicy
Destination[] getDestinationsForIncomingPolicy(String policyId) throws DataBaseException, RemoteException Gets the destinations for an incoming policy.- Parameters:
policyId- the incoming policy id- Returns:
- the destinations
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getRates
Rates[] getRates(Date fromDate, Date toDate, String caller, String sourceHost) throws DataBaseException, RemoteException Gets the rates.- Parameters:
fromDate- the from datetoDate- the to datecaller- the callersourceHost- the source host- Returns:
- the rates
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getRatesPerTransferServer
Rates[] getRatesPerTransferServer(Date fromDate, Date toDate, String caller, String sourceHost) throws DataBaseException, RemoteException Gets the rates per transfer server.- Parameters:
fromDate- the from datetoDate- the to datecaller- the callersourceHost- the source host- Returns:
- the rates per transfer server
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getRatesPerFileSystem
Rates[] getRatesPerFileSystem(Date fromDate, Date toDate, String transferServerName, String caller, String sourceHost) throws DataBaseException, RemoteException Gets the rates per file system.- Parameters:
fromDate- the from datetoDate- the to datetransferServerName- the transfer server namecaller- the callersourceHost- the source host- Returns:
- the rates per file system
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransferCountNotDoneByProductAndTimeOnDate
int getDataTransferCountNotDoneByProductAndTimeOnDate(String destination, String product, String time, Date from, Date to) throws DataBaseException, RemoteException Gets the data transfer count not done by product and time on date.- Parameters:
destination- the destinationproduct- the producttime- the timefrom- the fromto- the to- Returns:
- the data transfer count not done by product and time on date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationAliases
Destination[] getDestinationAliases(String name, String mode) throws DataBaseException, RemoteException Gets the destination aliases.- Parameters:
name- the namemode- the mode- Returns:
- the destination aliases
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getAliases
Gets the aliases.- Parameters:
name- the namemode- the mode- Returns:
- the aliases
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getECuserEvents
Collection<Event> getECuserEvents(String userName, Date onIsoDate, String search, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the ecuser events.- Parameters:
userName- the user nameonIsoDate- the on iso datesearch- the searchcursor- the cursor- Returns:
- the ecuser events
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingHistory
Collection<IncomingHistory> getIncomingHistory(String incomingUserId, Date onIsoDate, String search, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the incoming history list.- Parameters:
incomingUserId- the incoming user idonIsoDate- the on iso datesearch- the searchcursor- the cursor- Returns:
- the incoming history list
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByHostName
Collection<DataTransfer> getDataTransfersByHostName(String name, Date from, Date to) throws DataBaseException, RemoteException Gets the data transfers by host name.- Parameters:
name- the namefrom- the fromto- the to- Returns:
- the data transfers by host name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getLastDataTransfersByHostName
Collection<DataTransfer> getLastDataTransfersByHostName(String name, int limit) throws DataBaseException, RemoteException Gets the last N data transfers by host name (no date filter, most recent first).- Parameters:
name- the host namelimit- maximum number of rows to return- Returns:
- the data transfers
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByTransferServerName
Collection<DataTransfer> getDataTransfersByTransferServerName(String name, Date from, Date to) throws DataBaseException, RemoteException Gets the data transfers by transfer server name.- Parameters:
name- the namefrom- the fromto- the to- Returns:
- the data transfers by transfer server name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByStatusCodeAndDate
Collection<DataTransfer> getDataTransfersByStatusCodeAndDate(String status, Date from, Date to, String search, String type, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the data transfers by status code and date.- Parameters:
status- the statusfrom- the fromto- the tosearch- the searchtype- the typecursor- the cursor- Returns:
- the data transfers by status code and date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByDataFileId
Collection<DataTransfer> getDataTransfersByDataFileId(long dataFileId, boolean includeDeleted) throws DataBaseException, RemoteException Gets the data transfers by data file id.- Parameters:
dataFileId- the dataFile idincludeDeleted- the include deleted- Returns:
- the data transfers by data file id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationsByCountryISO
Gets the destinations by country iso.- Parameters:
isoCode- the iso code- Returns:
- the destinations by country iso
- Throws:
RemoteException- the remote exception
-
getDestinationsByUser
Destination[] getDestinationsByUser(String uid, String search, String fromToAliases, int orderColumn, boolean ascending, int start, int length, String status, String type, String filter) throws IOException Gets the destinations by user.- Parameters:
uid- the uidsearch- the searchfromToAliases- the from to aliasesorderColumn- the DataTables column index to sort byascending- true for ascending sortstart- the zero-based row offset for pagination (pass -1 for no limit)length- the maximum number of rows to return (pass -1 for no limit)status- the statustype- the typefilter- the filter- Returns:
- the destinations by user
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getDestinationsByUser
Destination[] getDestinationsByUser(String uid, String search, String fromToAliases, boolean asc, String status, String type, String filter) throws IOException Gets the destinations by user.- Parameters:
uid- the uidsearch- the searchfromToAliases- the from to aliasesasc- the ascstatus- the statustype- the typefilter- the filter- Returns:
- the destinations by user
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getDestinationsByUserCount
int getDestinationsByUserCount(String uid, String search, String fromToAliases, String status, String type, String filter) throws IOException Gets the total count of destinations accessible by a given user matching the supplied filters.- Parameters:
uid- the uidsearch- the searchfromToAliases- the from to aliasesstatus- the statustype- the typefilter- the filter- Returns:
- the total count of matching destinations
- Throws:
IOException- Signals that an I/O exception has occurred.
-
getAuthorisedHosts
Gets the authorised hosts for a web user.- Parameters:
uid- the web user id- Returns:
- the list of authorised host names
- Throws:
DataBaseException- the data base exceptionIOException- Signals that an I/O exception has occurred.
-
getAuthorisedDestinations
Gets the authorised destinations for a web user.- Parameters:
uid- the web user id- Returns:
- the list of authorised destination names
- Throws:
DataBaseException- the data base exceptionIOException- Signals that an I/O exception has occurred.
-
getDestinationNamesWithProxyHosts
Gets the set of destination names that have at least one active proxy host assigned.- Returns:
- the set of destination names with proxy hosts
- Throws:
DataBaseException- the data base exceptionIOException- Signals that an I/O exception has occurred.
-
getAuthorisedHostsAndDestinations
Map<String, List<String>> getAuthorisedHostsAndDestinations(String uid) throws DataBaseException, IOException Gets all (host, destination) pairs a web user is authorised to access, using a single combined permission query.- Parameters:
uid- the web user id- Returns:
- map of host name → sorted list of authorised destination names
- Throws:
DataBaseException- the data base exceptionIOException- Signals that an I/O exception has occurred.
-
getDestinationsByHostName
Gets the destinations by host name.- Parameters:
hostName- the host name- Returns:
- the destinations by host name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferHistoryByDataTransferId
TransferHistory[] getTransferHistoryByDataTransferId(long dataTransferId) throws DataBaseException, RemoteException Gets the transfer history.- Parameters:
dataTransferId- the dataTransfer Id- Returns:
- the list of transfer history associated to this dataTransfer
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferHistoryByDataTransferId
TransferHistory[] getTransferHistoryByDataTransferId(long dataTransferId, boolean afterScheduleTime, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the transfer history.- Parameters:
dataTransferId- the dataTransfer idafterScheduleTime- the after schedule timecursor- the cursor- Returns:
- the transfer history
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getCategoriesPerUserId
Collection<Category> getCategoriesPerUserId(String userId) throws DataBaseException, RemoteException Gets the categories per user id.- Parameters:
userId- the user id- Returns:
- the categories per user id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getUrlsPerCategoryId
Gets the urls per category id.- Parameters:
id- the id- Returns:
- the urls per category id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getCategoriesPerResourceId
Collection<Category> getCategoriesPerResourceId(String id) throws DataBaseException, RemoteException Gets the categories per resource id.- Parameters:
id- the id- Returns:
- the categories per resource id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataFilesByMetaData
Collection<DataFile> getDataFilesByMetaData(String name, String value, String search, Date from, Date to, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the data files by meta data.- Parameters:
name- the namevalue- the valuefrom- the fromto- the tocursor- the cursor- Returns:
- the data files by meta data
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataFilesByMetaData
Collection<DataFile> getDataFilesByMetaData(String name, String value, Date from, Date to, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the data files by meta data.- Parameters:
name- the namevalue- the valuefrom- the fromto- the tocursor- the cursor- Returns:
- the data files by meta data
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferCountAndMetaDataByFilter
Collection<List<String>> getTransferCountAndMetaDataByFilter(String countBy, String destination, String target, String stream, String time, String status, String fileName, Date from, Date to, String privilegedUser, Date scheduledBefore) throws DataBaseException, RemoteException Gets the transfer count and meta data by filter.- Parameters:
countBy- the count bydestination- the destinationtarget- the targetstream- the streamtime- the timestatus- the statusfileName- the file namefrom- the fromto- the toprivilegedUser- the privileged userscheduledBefore- the scheduled before- Returns:
- the transfer count and meta data by filter
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByFilter
Collection<DataTransferWithPermissions> getDataTransfersByFilter(String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to) throws MasterException, DataBaseException, RemoteException Gets the data transfers by filter.- Parameters:
destination- the destinationtarget- the targetstream- the streamtime- the timestatus- the statusprivilegedUser- the privileged userscheduledBefore- the scheduled beforefileName- the file namefrom- the fromto- the to- Returns:
- the data transfers by filter
- Throws:
MasterException- the master exceptionDataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByFilter
Collection<DataTransferWithPermissions> getDataTransfersByFilter(String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to, DataBaseCursor cursor) throws MasterException, DataBaseException, RemoteException Gets the data transfers by filter.- Parameters:
destination- the destinationtarget- the targetstream- the streamtime- the timestatus- the statusprivilegedUser- the privileged userscheduledBefore- the scheduled beforefileName- the file namefrom- the fromto- the tocursor- the cursor- Returns:
- the data transfers by filter
- Throws:
MasterException- the master exceptionDataBaseException- the data base exceptionRemoteException- the remote exception
-
getFilteredHosts
Collection<Host> getFilteredHosts(String label, String filter, String network, String type, String search, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the hosts.- Parameters:
label- the labelfilter- the filternetwork- the networktype- the typesearch- the searchcursor- the cursor- Returns:
- the hosts
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getHostsByDestinationId
Gets the hosts by destination id.- Parameters:
destId- the dest id- Returns:
- the hosts by destination id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getHostsByTransferMethodId
Collection<Host> getHostsByTransferMethodId(String transferMethodId) throws DataBaseException, RemoteException Gets the hosts by transfer method id.- Parameters:
transferMethodId- the transfer method id- Returns:
- the hosts by transfer method id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferMethodsByEcTransModuleName
Collection<TransferMethod> getTransferMethodsByEcTransModuleName(String ecTransModuleName) throws DataBaseException, RemoteException Gets the transfer methods by ec trans module name.- Parameters:
ecTransModuleName- the ec trans module name- Returns:
- the transfer methods by ectrans module name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getMetaDataByDataFileId
Collection<MetadataValue> getMetaDataByDataFileId(long dataFileId) throws DataBaseException, RemoteException Gets the meta data by data file id.- Parameters:
dataFileId- the dataFile id- Returns:
- the meta data by data file id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getMetaDataByAttributeName
Collection<MetadataValue> getMetaDataByAttributeName(String id) throws DataBaseException, RemoteException Gets the meta data by attribute name.- Parameters:
id- the id- Returns:
- the meta data by attribute name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByDestinationAndIdentity
Collection<DataTransfer> getDataTransfersByDestinationAndIdentity(String destination, String identity) throws DataBaseException, RemoteException Gets the data transfers by destination and identity.- Parameters:
destination- the destinationidentity- the identity- Returns:
- the data transfers by destination and identity
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferCountWithDestinationAndMetadataValueByMetadataName
Collection<List<String>> getTransferCountWithDestinationAndMetadataValueByMetadataName(String metadataName) throws DataBaseException, RemoteException Gets the transfer count with destination and metadata value by metadata name.- Parameters:
metadataName- the metadata name- Returns:
- the transfer count with destination and metadata value by metadata name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByDestinationProductAndTimeOnDate
Collection<DataTransfer> getDataTransfersByDestinationProductAndTimeOnDate(String destinationName, String product, String time, Date fromIsoDate, Date toIsoDate) throws DataBaseException, RemoteException Gets the data transfers by destination product and time on date.- Parameters:
destinationName- the destination nameproduct- the producttime- the timefromIsoDate- the from iso datetoIsoDate- the to iso date- Returns:
- the data transfers by destination product and time on date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByDestinationOnDate
Collection<DataTransfer> getDataTransfersByDestinationOnDate(String destinationName, Date fromIsoDate, Date toIsoDate) throws DataBaseException, RemoteException Gets the data transfers by destination on date.- Parameters:
destinationName- the destination namefromIsoDate- the from iso datetoIsoDate- the to iso date- Returns:
- the data transfers by destination on date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDataTransfersByDestinationOnTransmissionDate
Collection<DataTransfer> getDataTransfersByDestinationOnTransmissionDate(String destinationName, Date fromIsoDate, Date toIsoDate) throws DataBaseException, RemoteException Gets the data transfers by destination on transmission date.- Parameters:
destinationName- the destination namefromIsoDate- the from iso datetoIsoDate- the to iso date- Returns:
- the data transfers by destination on transmission date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getBadDataTransfersByDestination
Collection<DataTransfer> getBadDataTransfersByDestination(String destinationName) throws DataBaseException, RemoteException Gets the bad data transfers by destination.- Parameters:
destinationName- the destination name- Returns:
- the bad data transfers by destination
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getSortedBadDataTransfersByDestination
Collection<DataTransfer> getSortedBadDataTransfersByDestination(String destinationName, DataBaseCursor cursor) throws DataBaseException, RemoteException - Throws:
DataBaseExceptionRemoteException
-
getSortedBadDataTransfers
Collection<DataTransfer> getSortedBadDataTransfers(DataBaseCursor cursor) throws DataBaseException, RemoteException - Throws:
DataBaseExceptionRemoteException
-
getBadDataTransfersByDestinationCount
int getBadDataTransfersByDestinationCount(String destinationName) throws DataBaseException, RemoteException Gets the bad data transfers by destination count.- Parameters:
destinationName- the destination name- Returns:
- the bad data transfers by destination count
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferHistoryByDestinationOnProductDate
Collection<TransferHistory> getTransferHistoryByDestinationOnProductDate(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the transfer history by destination on product date.- Parameters:
destinationName- the destination namefromIsoDate- the from iso datetoIsoDate- the to iso datecursor- the cursor- Returns:
- the transfer history by destination on product date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferHistoryByDestinationOnHistoryDate
Collection<TransferHistory> getTransferHistoryByDestinationOnHistoryDate(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) throws DataBaseException, RemoteException Gets the transfer history by destination on history date.- Parameters:
destinationName- the destination namefromIsoDate- the from iso datetoIsoDate- the to iso datecursor- the cursor- Returns:
- the transfer history by destination on history date
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getAllowedEcUsersByHostName
Collection<ECUser> getAllowedEcUsersByHostName(String hostName) throws DataBaseException, RemoteException Gets the allowed ec users by host name.- Parameters:
hostName- the host name- Returns:
- the allowed ec users by host name
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTrafficByDestinationName
Collection<Traffic> getTrafficByDestinationName(String destinationName) throws DataBaseException, RemoteException Gets the traffic by destination name.- Parameters:
destinationName- the destinationname- Returns:
- the traffic
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getAllTraffic
Gets traffic aggregated across all destinations, grouped by date.- Returns:
- the traffic
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getAllPortalTraffic
Gets all portal traffic statistics (system-wide aggregate, last 90 days).- Returns:
- the portal traffic list
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getPortalTrafficByUser
Gets portal traffic statistics for a specific user (last 90 days).- Parameters:
userId- the incoming user ID- Returns:
- the portal traffic list
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getRecentPortalTrafficByUser
List<PortalTraffic> getRecentPortalTrafficByUser(String userId, int hours) throws DataBaseException, RemoteException Gets recent portal traffic for a specific user from the minute-bucket table (last N hours).- Parameters:
userId- the incoming user IDhours- number of hours to look back- Returns:
- the recent portal traffic list
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationCountsByHost
Gets a map of host name to destination count using a single GROUP BY query on the ASSOCIATION table.- Returns:
- map of host name → destination count
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationNamesByHost
Gets a map of host name to sorted list of destination names using a single ASSOCIATION table query.- Returns:
- map of host name → sorted list of destination names
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getChangeLogByKey
Collection<ChangeLog> getChangeLogByKey(String keyName, String keyValue) throws DataBaseException, RemoteException Gets the change log by key.- Parameters:
keyName- the key namekeyValue- the key value- Returns:
- the change log
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getFeedbackList
Gets all feedback entries, most recent first.- Returns:
- the feedback list
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
tryInsertFeedback
Inserts a feedback entry.- Parameters:
feedback- the feedback- Returns:
- true if successful
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
removeFeedback
Deletes a feedback entry.- Parameters:
feedback- the feedback- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
markFeedbackReviewed
Marks a feedback entry as reviewed.- Parameters:
feedback- the feedback- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
removeAllReviewedFeedback
Removes all reviewed feedback entries.- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
removeAllFeedback
- Throws:
DataBaseExceptionRemoteException
-
getDataFile
Gets the data file.- Parameters:
dataFileId- the dataFile id- Returns:
- the data file
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferGroup
Gets the transfer group.- Parameters:
name- the name- Returns:
- the transfer group
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getMetadataAttribute
Gets the metadata attribute.- Parameters:
name- the name- Returns:
- the metadata attribute
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getMetadataAttributeArray
Gets the metadata attribute array.- Returns:
- the metadata attribute array
- Throws:
RemoteException- the remote exception
-
getCatUrlArray
Gets the cat url array.- Returns:
- the cat url array
- Throws:
RemoteException- the remote exception
-
getTransferGroupArray
Gets the transfer group array.- Returns:
- the transfer group array
- Throws:
RemoteException- the remote exception
-
getProductStatus
ProductStatus[] getProductStatus(String stream, String time, String type, long step, int limit) throws RemoteException, DataBaseException Gets the product status.- Parameters:
stream- the streamtime- the timetype- the typestep- the steplimit- the limit- Returns:
- the product status
- Throws:
RemoteException- the remote exceptionDataBaseException- the data base exception
-
getTransferServer
Gets the transfer server.- Parameters:
name- the name- Returns:
- the transfer server
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferServerArray
Gets the transfer server array.- Returns:
- the transfer server array
- Throws:
RemoteException- the remote exception
-
getECUser
Gets the EC user.- Parameters:
name- the name- Returns:
- the EC user
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingPolicy
Gets the incoming policy.- Parameters:
name- the name- Returns:
- the incoming policy
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getOperation
Gets the operation.- Parameters:
name- the name- Returns:
- the operation
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingUser
Gets the incoming user.- Parameters:
name- the name- Returns:
- the incoming user
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getIncomingUserArray
Gets the incoming user array.- Returns:
- the incoming user array
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestination
Gets the destination.- Parameters:
name- the nameuseCache- use the cache?- Returns:
- the destination
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getECUserArray
Gets the EC user array.- Returns:
- the EC user array
- Throws:
RemoteException- the remote exception
-
getIncomingPolicyArray
Gets the incoming policy array.- Returns:
- the incoming policy array
- Throws:
RemoteException- the remote exception
-
getOperationArray
Gets the operation array.- Returns:
- the operation array
- Throws:
RemoteException- the remote exception
-
getCountry
Gets the country.- Parameters:
iso- the iso- Returns:
- the country
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getCountryArray
Gets the country array.- Returns:
- the country array
- Throws:
RemoteException- the remote exception
-
getDataTransfer
Gets the data transfer.- Parameters:
dataTransferId- the dataTransfer id- Returns:
- the data transfer
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationArray
Gets the destination array.- Returns:
- the destination array
- Throws:
RemoteException- the remote exception
-
getDestinationArray
Gets the destination array.- Parameters:
monitored- is it only for monitored destinations- Returns:
- the destination array
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationNamesAndComments
Set<Map.Entry<String,String>> getDestinationNamesAndComments() throws DataBaseException, RemoteExceptionGets the destination names and comments sorted by names.- Returns:
- the destination names and comments
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationECUser
DestinationECUser getDestinationECUser(String destinationName, String ecuserName) throws DataBaseException, RemoteException Gets the destination ec user.- Parameters:
destinationName- the destination nameecuserName- the ecuser name- Returns:
- the destination ec user
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getAssociation
Association getAssociation(String destinationName, String hostName) throws DataBaseException, RemoteException Gets the association.- Parameters:
destinationName- the destination namehostName- the host name- Returns:
- the association
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getPolicyAssociation
PolicyAssociation getPolicyAssociation(String destinationName, String policyId) throws DataBaseException, RemoteException Gets the policy association.- Parameters:
destinationName- the destination namepolicyId- the policy id- Returns:
- the association
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getAlias
Gets the alias.- Parameters:
desName- the des namedestinationName- the destination name- Returns:
- the alias
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getECtransModule
Gets the ectrans module.- Parameters:
name- the name- Returns:
- the ectrans module
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getECtransModuleArray
Gets the ectrans module array.- Returns:
- the ectrans module array
- Throws:
RemoteException- the remote exception
-
getHost
Gets the host.- Parameters:
name- the name- Returns:
- the host
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getHostArray
Gets the host array.- Returns:
- the host array
- Throws:
RemoteException- the remote exception
-
getHostsForMap
List<HostMapData> getHostsForMap(String label, String filter, String network, String hostType, String hostSearch) throws DataBaseException, RemoteException - Throws:
DataBaseExceptionRemoteException
-
geoLocateIps
- Throws:
DataBaseExceptionRemoteException
-
getTransferMethod
Gets the transfer method.- Parameters:
name- the name- Returns:
- the transfer method
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getHostECUser
HostECUser getHostECUser(String ecuserName, String hostName) throws DataBaseException, RemoteException Gets the host ec user.- Parameters:
ecuserName- the ecuser namehostName- the host name- Returns:
- the host ec user
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferHistory
TransferHistory getTransferHistory(long transferHistoryId) throws DataBaseException, RemoteException Gets the transfer history.- Parameters:
transferHistoryId- the TransferHistory id- Returns:
- the transfer history
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferMethodArray
Gets the transfer method array.- Returns:
- the transfer method array
- Throws:
RemoteException- the remote exception
-
getCategory
Gets the category.- Parameters:
id- the id- Returns:
- the category
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getCategoryArray
Gets the category array.- Returns:
- the category array
- Throws:
RemoteException- the remote exception
-
getCatUrl
Gets the cat url.- Parameters:
categoryId- the category idurlName- the url name- Returns:
- the cat url
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getUrlArray
Gets the url array.- Returns:
- the url array
- Throws:
RemoteException- the remote exception
-
getUrl
Gets the url.- Parameters:
name- the name- Returns:
- the url
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getWebUser
Gets the web user.- Parameters:
id- the id- Returns:
- the web user
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getWebUserArray
Gets the web user array.- Returns:
- the web user array
- Throws:
RemoteException- the remote exception
-
getWeuCat
Gets the weu cat.- Parameters:
categoryId- the category idwebuserId- the webuser id- Returns:
- the weu cat
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getUsersPerCategoryId
Collection<WebUser> getUsersPerCategoryId(String categoryId) throws DataBaseException, RemoteException Gets the users per category id.- Parameters:
categoryId- the category id- Returns:
- the users per category id
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingUserDel
Incoming user del.- Parameters:
user- the userid- the id- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingUserAdd
void incomingUserAdd(String user, String id, String password, String email, String iso) throws DataBaseException, RemoteException Incoming user add.- Parameters:
user- the userid- the idpassword- the passwordemail- the emailiso- the iso- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingUserAdd2
String incomingUserAdd2(String user, String id, String email, String iso) throws DataBaseException, RemoteException Incoming user add2.- Parameters:
user- the userid- the idemail- the emailiso- the iso- Returns:
- the string
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingUserList
Collection<IncomingUser> incomingUserList(String user, String destination) throws DataBaseException, RemoteException Incoming user list.- Parameters:
user- the userdestination- the destination- Returns:
- the collection
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingAssociationAdd
void incomingAssociationAdd(String user, String id, String destination) throws DataBaseException, RemoteException Incoming association add.- Parameters:
user- the userid- the iddestination- the destination- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingCategoryAdd
void incomingCategoryAdd(String user, String id, List<String> categories) throws DataBaseException, RemoteException Incoming category add.- Parameters:
user- the userid- the idcategories- the categories- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingAssociationDel
void incomingAssociationDel(String user, String id, String destination) throws DataBaseException, RemoteException Incoming association del.- Parameters:
user- the userid- the iddestination- the destination- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
incomingAssociationList
Incoming association list.- Parameters:
user- the userid- the id- Returns:
- the string[]
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
destinationList
Collection<Destination> destinationList(String user, String id, String iso, Integer type) throws DataBaseException, RemoteException Destination list.- Parameters:
user- the idid- the idiso- the isotype- the type- Returns:
- the collection
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
getDestinationBackup
DestinationBackup getDestinationBackup(String user, String id, String iso, Integer type, String name) throws DataBaseException, RemoteException Get the backup for the selected destination(s).- Parameters:
user- the idid- the idiso- the isotype- the typename- the name- Returns:
- the collection
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
putDestinationBackup
int putDestinationBackup(String user, DestinationBackup backup, boolean copySharedHost) throws DataBaseException, MasterException, RemoteException Import the provided backup.- Parameters:
user- the userbackup- the backupcopySharedHost- copy the shared host- Returns:
- number of destinations created
- Throws:
DataBaseException- the data base exceptionMasterException- the master exceptionRemoteException- the remote exception
-
getDestinationOptionList
Get the DestinationOption list.- Returns:
- the destination option list
- Throws:
RemoteException- the remote exception
-
destinationCountryList
Destination country list.- Parameters:
user- the user- Returns:
- the collection
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
updateHostOption
void updateHostOption(String user, String hostid, String module, String name, String value) throws DataBaseException, RemoteException, MasterException Update the provided host option.- Parameters:
user- the userhostid- the hostidmodule- the modulename- the namevalue- the value- Throws:
DataBaseException- the data base exceptionMasterException- the master exceptionRemoteException
-
datafilePut
long datafilePut(String user, String remoteHost, String destination, String metadata, String source, String uniqueName, String target, Integer priority, String lifeTime, String at, Boolean standby, Boolean force) throws DataBaseException, RemoteException Datafile put.- Parameters:
user- the userremoteHost- the remote hostdestination- the destinationmetadata- the metadatasource- the sourceuniqueName- the unique nametarget- the targetpriority- the prioritylifeTime- the life timeat- the atstandby- the standbyforce- the force- Returns:
- the long
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
datafileSize
Datafile size.- Parameters:
user- the userdataFileId- the dataFile id- Returns:
- the long
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-
datafileDel
void datafileDel(String user, Long dataFileId) throws MasterException, DataBaseException, RemoteException Datafile del.- Parameters:
user- the userdataFileId- the dataFile id- Throws:
MasterException- the master exceptionDataBaseException- the data base exceptionRemoteException- the remote exception
-
getTransferStatisticsByDataTransferId
List<TransferStatistics> getTransferStatisticsByDataTransferId(long dataTransferId) throws DataBaseException, RemoteException Gets all TransferStatistics records for the given data transfer id.- Parameters:
dataTransferId- the data transfer id- Returns:
- list of statistics (may be empty, never null)
- Throws:
DataBaseException- the data base exceptionRemoteException- the remote exception
-