Interface DataBaseInterface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
datafileDel
(String user, Long dataFileId) Datafile del.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) Datafile put.long
datafileSize
(String user, Long dataFileId) Datafile size.destinationCountryList
(String user) Destination country list.destinationList
(String user, String id, String iso, Integer type) Destination list.Gets the alias.Alias[]
getAliases
(String name, String mode) Gets the aliases.getAllowedEcUsersByHostName
(String hostName) Gets the allowed ec users by host name.getAssociation
(String destinationName, String hostName) Gets the association.getBadDataTransfersByDestination
(String destinationName) Gets the bad data transfers by destination.int
getBadDataTransfersByDestinationCount
(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, Date from, Date to, DataBaseCursor cursor) Gets the data files by meta data.getDataTransfer
(long dataTransferId) Gets the data transfer.int
getDataTransferCountNotDoneByProductAndTimeOnDate
(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).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.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.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.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.getIncomingUsersForIncomingPolicy
(String policyId) Gets the incoming users for an incoming policy.void
getInitialChangeHostEvents
(String target) Gets the initial change host events.void
getInitialDataTransferEvents
(String target) Gets the initial data transfer events.void
getInitialProductStatusEvents
(String target) Gets the initial product status events.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.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.Gets the statistics.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.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.void
incomingAssociationAdd
(String user, String id, String destination) Incoming association add.void
incomingAssociationDel
(String user, String id, String destination) Incoming association del.String[]
incomingAssociationList
(String user, String id) Incoming association list.void
incomingCategoryAdd
(String user, String id, List<String> categories) Incoming category add.void
Incoming user add.incomingUserAdd2
(String user, String id, String email, String iso) Incoming user add2.void
incomingUserDel
(String user, String id) Incoming user del.incomingUserList
(String user, String destination) Incoming user list.void
insert
(ECpdsSession session, DataBaseObject object, boolean createPk) Insert.int
putDestinationBackup
(String user, DestinationBackup backup, boolean copySharedHost) Import the provided backup.void
remove
(ECpdsSession session, DataBaseObject object) Removes the.void
update
(ECpdsSession session, DataBaseObject object) Update.
-
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
-
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
-
getStatistics
Statistics[] getStatistics(Date fromDate, Date toDate, String groupName, String status, String type) throws DataBaseException, RemoteException Gets the statistics.- Parameters:
fromDate
- the from datetoDate
- the to dategroupName
- the group namestatus
- the statustype
- the type- Returns:
- the statistics
- 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
-
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, 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.
-
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, 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
-
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
-
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
-
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
-
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
-
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
-