Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- clearIncomingUserCache(String)
- clearTransferServerCache(String)
- getTransferServers(String)
- getAuthorisedDestinations(String)
- getAuthorisedHosts(String)
- getStatistics(Date, Date, String, String, String)
- getRates(Date, Date, String, String)
- getRatesPerTransferServer(Date, Date, String, String)
- getRatesPerFileSystem(Date, Date, String, String, String)
- getTransferServersByDataFileId(long)
- getECUserCount()
- getDestinationsAndHostsForType(String, int)
- getDestinationHost(Destination, String)
- getDestinationHost(String, String)
- getDestinationEcuser(String)
- getDestinationIncomingPolicy(String)
- getIncomingUsersForIncomingPolicy(String)
- getIncomingPoliciesForIncomingUser(String)
- getOperationsForIncomingUser(String)
- getDestinationsForIncomingPolicy(String)
- getDestinations(String)
- getDestinationArray(boolean)
- getDestinationsForIncomingUser(String)
- getDestinationsByUserPolicies(String)
- getIncomingPermissionsForIncomingUser(String)
- getDestinationAliases(String, String)
- getAliases(String, String)
- purgeDataBase(long)
- resetDataTransferSchedulesByGroup(String)
- purgeDataFile(long)
- getBadDataTransfersCount()
- getDataTransfersByHostName(ECpdsBase.DataTransferCache, String, Date, Date)
- getDataTransfersByDestinationAndMetaData(Date, Date, String, String, String)
- getDataTransferNotDoneOnDate()
- getDataTransfersByTransferServerName(ECpdsBase.DataTransferCache, String, Date, Date)
- getInitialDataTransferEventsIterator(Date, Date)
- getInitialDataTransferEvents(Date, Date)
- getSortedDataTransfersByStatusCodeAndDate(ECpdsBase.DataTransferCache, String, Date, Date, String, String, DataBaseCursor)
- getDestinationNamesAndComments()
- getDestinationExts()
- getPendingDataTransfers(Destination, int)
- getDataFilesByGroupBy()
- getDataFilesByGroupByCount(String)
- getDataTransfersByDataFileId(ECpdsBase.DataTransferCache, long)
- getDataTransfersByDataFileId(ECpdsBase.DataTransferCache, long, boolean)
- getDestinationsByCountryISO(String)
- getDestinationsByUser(String, SQLParameterParser, String, boolean, String, String, String)
- getDestinationsByHostName(String)
- getTransferHistoryByDataTransferId(long)
- getSortedTransferHistory(long, boolean, DataBaseCursor)
- getScheduledDataTransfer(String, String)
- getExistingStorageDirectories()
- getExistingStorageDirectoriesPerProxyHost()
- getExpiredDataFilesIterator(int)
- getDataFilesToFilterIterator(int)
- getPublicationIterator(int)
- getDataTransfersToReplicateIterator(int)
- getDataTransfersToBackupIterator(int)
- getDataTransfersToProxyIterator(int)
- getAcquisitionDataTransfersToDownloadIterator(int)
- getDisseminationDataTransfersToDownloadIterator(int)
- purgeExpiredDataTransfers(int, int)
- getCategoriesPerUserId(String)
- getDataFromUserPolicies(IncomingUser)
- getPolicyUserList(String)
- getUsersPerCategoryId(String)
- getUrlsPerCategoryId(String)
- getCategoriesPerResourceId(String)
- getDataFilesByMetaData(String, String, Date, Date, DataBaseCursor)
- getTransferCountAndMetaDataByFilter(String, String, String, String, String, String, String, Date, Date, String, Date)
- getDataTransfersByFilter(ECpdsBase.DataTransferCache, String, String, String, String, String, String, Date, String, Date, Date, DataBaseCursor)
- getDataTransfersByFilter(ECpdsBase.DataTransferCache, String, String, String, String, String, String, Date, String, Date, Date)
- getFilteredHosts(String, String, String, String, String, DataBaseCursor)
- getHostsByDestinationId(String)
- getHostsByTransferMethodId(String)
- getHostsToCheck()
- getTransferMethodsByEcTransModuleName(String)
- getMetaDataByDataFileId(long)
- getMetaDataByAttributeName(String)
- getDataTransfersByDestination(String)
- resetRequeuedTransfersPerDestination(Destination)
- getDataTransfersByTransferServer(TransferServer)
- getDataTransfersByDestinationAndIdentity(ECpdsBase.DataTransferCache, String, String)
- getTransferCountWithDestinationAndMetadataValueByMetadataName(String)
- getDataTransfersByDestinationProductAndTimeOnDate(ECpdsBase.DataTransferCache, String, String, String, Date, Date)
- getDataTransfersByDestinationOnDate(ECpdsBase.DataTransferCache, String, Date, Date)
- getDataTransfersByDestinationAndTargetOnDateIterator(String, String, Date, Date)
- getDataTransfersByDestinationAndTargetOnDateIterator2(String, String, Date, Date, int, int)
- getDataTransfersByDestinationOnTransmissionDate(ECpdsBase.DataTransferCache, String, Date, Date)
- getDatesByDestinationAndTargetOnDate(String, int)
- getDataTransfersByDestinationAndTargetIterator(String, String, boolean)
- getDataTransfersByDestinationAndTargetIterator2(String, String, boolean, int, int)
- getBadDataTransfersByDestination(ECpdsBase.DataTransferCache, String)
- getBadDataTransfersByDestinationCount(String)
- getDataTransferCountNotDoneByProductAndTimeOnDate(String, String, String, Date, Date)
- getSortedTransferHistoryByDestinationOnProductDate(String, Date, Date, DataBaseCursor)
- getSortedTransferHistoryByDestinationOnHistoryDate(String, Date, Date, DataBaseCursor)
- getECuserEvents(String, Date, String, DataBaseCursor)
- getIncomingHistory(String, Date, String, DataBaseCursor)
- getAllowedEcUsersByHostName(String)
- getTrafficByDestinationName(String)
- getChangeLogByKey(String, String)
- getProductStatus(String, String, String, long, int)
- getInitialProductStatusEventsIterator()
- getInitialProductStatusEvents()
- getInterruptedTransfers()
- getInterruptedTransfersPerDestination(Destination)
- resetProductStatus(String, String, long)
- removeDestination(String, boolean)
- removeHost(Host)
- removeWebUser(WebUser)
- removeCategory(Category)
- removeUrl(Url)
- removeIncomingUser(IncomingUser)
- removeIncomingPolicy(IncomingPolicy)
Class ECpdsBase
java.lang.Object
ecmwf.common.database.DataGet
ecmwf.common.database.DataBase
ecmwf.common.database.ECpdsBase
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Allow getting a value cached by the caller.Nested classes/interfaces inherited from class ecmwf.common.database.DataBase
DataBase.ScriptFileImpl
-
Field Summary
Fields inherited from class ecmwf.common.database.DataBase
MODE_EXTERNAL, MODE_INTERNAL, MODE_SERVER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearIncomingUserCache
(String userId) Allow clearing the cache for an IncomingUser.void
clearTransferServerCache
(String groupName) Allow clearing the cache for an TransferGroup.Gets the acquisition data transfers to download iterator.Alias[]
getAliases
(String name, String mode) Gets the aliases.getAllowedEcUsersByHostName
(String hostName) Gets the allowed ec users by host name.Gets the authorised destinations.getAuthorisedHosts
(String user) Gets the authorised hosts.getBadDataTransfersByDestination
(ECpdsBase.DataTransferCache cache, String destinationName) Gets the bad data transfers by destination.int
getBadDataTransfersByDestinationCount
(String destinationName) Gets the bad data transfers by destination count.Gets the bad data transfers count.Gets the categories per resource id.getCategoriesPerUserId
(String userId) Gets the categories per user id.getChangeLogByKey
(String keyName, String keyValue) Gets the change log by key.Gets the data files by group by.long
getDataFilesByGroupByCount
(String groupBy) Gets the data files by group by count.getDataFilesByMetaData
(String name, String value, Date from, Date to, DataBaseCursor cursor) Gets the data files by meta data.getDataFilesToFilterIterator
(int limit) Gets the data files to filter iterator.Gets the incoming user object with the data field populated with the data from the associated data policies.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.Gets the data transfer not done on date.getDataTransfersByDataFileId
(ECpdsBase.DataTransferCache cache, long dataFileId) Gets the data transfers by data file id.getDataTransfersByDataFileId
(ECpdsBase.DataTransferCache cache, long dataFileId, boolean includeDeleted) Gets the data transfers by data file id.getDataTransfersByDestination
(String destinationName) Gets the data transfers by destination.getDataTransfersByDestinationAndIdentity
(ECpdsBase.DataTransferCache cache, String destination, String identity) Gets the data transfers by destination and identity.getDataTransfersByDestinationAndMetaData
(Date from, Date to, String destinationName, String metaStream, String metaTime) Gets the data transfers by destination and meta data.getDataTransfersByDestinationAndTargetIterator
(String destinationName, String target, boolean runnable) Gets the data transfers by destination and target iterator.getDataTransfersByDestinationAndTargetIterator2
(String destinationName, String target, boolean runnable, int sort, int order) Gets the data transfers by destination and target iterator (v2).getDataTransfersByDestinationAndTargetOnDateIterator
(String destinationName, String target, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination on date iterator.getDataTransfersByDestinationAndTargetOnDateIterator2
(String destinationName, String target, Date fromIsoDate, Date toIsoDate, int sort, int order) Gets the data transfers by destination on date iterator (v2).getDataTransfersByDestinationOnDate
(ECpdsBase.DataTransferCache cache, String destinationName, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination on date.getDataTransfersByDestinationOnTransmissionDate
(ECpdsBase.DataTransferCache cache, String destinationName, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination on transmission date.getDataTransfersByDestinationProductAndTimeOnDate
(ECpdsBase.DataTransferCache cache, String destinationName, String product, String time, Date fromIsoDate, Date toIsoDate) Gets the data transfers by destination product and time on date.getDataTransfersByFilter
(ECpdsBase.DataTransferCache cache, 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
(ECpdsBase.DataTransferCache cache, String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to, DataBaseCursor cursor) Gets the sorted data transfers by filter.getDataTransfersByHostName
(ECpdsBase.DataTransferCache cache, String hostName, Date from, Date to) Gets the data transfers by host name.Gets the data transfers by transfer server.getDataTransfersByTransferServerName
(ECpdsBase.DataTransferCache cache, String name, Date from, Date to) Gets the data transfers by transfer server name.getDataTransfersToBackupIterator
(int limit) Gets the data transfers to backup iterator.getDataTransfersToProxyIterator
(int limit) Gets the data transfers to proxy iterator.getDataTransfersToReplicateIterator
(int limit) Gets the data transfers to replicate iterator.Long[]
getDatesByDestinationAndTargetOnDate
(String destinationName, int order) Gets the dates by destination and target on date.getDestinationAliases
(String name, String mode) Gets the destination aliases.getDestinationArray
(boolean monitored) Gets the destinations.ECUser[]
getDestinationEcuser
(String destinationName) Gets the destination ecuser.Gets the destination exts.Host[]
getDestinationHost
(Destination dest, String type) Gets the destination host.Host[]
getDestinationHost
(String dest, String type) Gets the destination host.getDestinationIncomingPolicy
(String destinationName) Gets the destination incoming policies.Gets the sorted destination names and comments.getDestinations
(String name) Gets the destinations.getDestinationsAndHostsForType
(String type, int paramLimit) Gets the destinations and hosts for type.getDestinationsByCountryISO
(String isoCode) Gets the destinations by country iso.getDestinationsByHostName
(String hostName) Gets the destinations by host name.getDestinationsByUser
(String uid, SQLParameterParser options, String fromToAliases, boolean asc, String status, String type, String filter) Gets the destinations by user.getDestinationsByUserPolicies
(String userId) Gets the destinations by user policies.getDestinationsForIncomingPolicy
(String policyId) Gets the destinations for an incoming policy.getDestinationsForIncomingUser
(String userId) Gets the destinations for incoming user.Gets the dissemination data transfers to download iterator.int
Gets the EC user count.getECuserEvents
(String userName, Date onIsoDate, String search, DataBaseCursor cursor) Gets the ecuser events.Gets the existing storage directories.Gets the existing storage directories per proxy host.getExpiredDataFilesIterator
(int limit) Gets the expired data files iterator.getFilteredHosts
(String label, String filter, String network, String type, String search, DataBaseCursor cursor) Gets the hosts with the provided criteria.getHostsByDestinationId
(String destId) Gets the hosts by destination id.getHostsByTransferMethodId
(String transferMethodId) Gets the hosts by transfer method id.Host[]
Gets the hosts to check.getIncomingHistory
(String incomingUserName, Date onIsoDate, String search, DataBaseCursor cursor) Gets the incoming history list.Gets the incoming permissions for incoming user.Gets the incoming policies for an incoming user.getIncomingUsersForIncomingPolicy
(String policyId) Gets the incoming users for an incoming policy.getInitialDataTransferEvents
(Date from, Date to) Gets the initial data transfer events.getInitialDataTransferEventsIterator
(Date from, Date to) Gets the initial data transfer events.Gets the initial product status events.Gets the initial product status events.Gets the interrupted transfers.getInterruptedTransfersPerDestination
(Destination destination) Gets the interrupted transfers per destination.Gets the meta data by attribute name.getMetaDataByDataFileId
(long dataFileId) Gets the meta data by data file id.getOperationsForIncomingUser
(String userId) Gets the operations for an incoming user.getPendingDataTransfers
(Destination destination, int limit) Gets the pending data transfers.getPolicyUserList
(String userId) Gets the user policies per user id.getProductStatus
(String stream, String time, String type, long step, int limit) Gets the product status.getPublicationIterator
(int limit) Gets the publications to process iterator.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.getScheduledDataTransfer
(String uniqueKey, String destinationName) Gets the scheduled data transfer.getSortedDataTransfersByStatusCodeAndDate
(ECpdsBase.DataTransferCache cache, String status, Date from, Date to, String fileName, String type, DataBaseCursor cursor) Gets the sorted data transfers by status code and date.getSortedTransferHistory
(long dataTransferId, boolean afterScheduleTime, DataBaseCursor cursor) Gets the sorted transfer history.getSortedTransferHistoryByDestinationOnHistoryDate
(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) Gets the sorted transfer history by destination on history date.getSortedTransferHistoryByDestinationOnProductDate
(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) Gets the sorted transfer history by destination on product date.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.getTransferHistoryByDataTransferId
(long dataTransferId) Gets the transfer history.getTransferMethodsByEcTransModuleName
(String ecTransModuleName) Gets the transfer methods by ec trans module name.getTransferServers
(String groupName) Gets the transfer servers.getTransferServersByDataFileId
(long dataFileId) Gets the transfer servers by data file id.Gets the urls per category id.getUsersPerCategoryId
(String categoryId) Gets the users per category id.int
purgeDataBase
(long milliseconds) Purge data base.int
purgeDataFile
(long dataFileId) Purge data files.long
purgeExpiredDataTransfers
(int maxIdentityCount, int maxTransferLife) Purge expired data transfers.int
removeCategory
(Category category) Removes the category.int
removeDestination
(String destinationName, boolean remove) Removes the destination.int
removeHost
(Host host) Removes the host.int
removeIncomingPolicy
(IncomingPolicy policy) Removes the IncomingPolicy.int
Removes the IncomingUser.int
Removes the url.int
removeWebUser
(WebUser user) Removes the web user.int
resetDataTransferSchedulesByGroup
(String groupBy) Reschedule all data transfers belonging to a specific group to the current time.int
resetProductStatus
(String metaStream, String metaTime, long timeStep) Reset product status.int
resetRequeuedTransfersPerDestination
(Destination destination) Reset the re-queued transfers per destination.Methods inherited from class ecmwf.common.database.DataBase
clearCache, clearCache, clearCache, close, escapeSql, executeCountAsInt, executeCountAsInt, executeCountAsLong, executeCountAsLong, executeQuery, executeQuery, executeSelect, executeSelect, executeSelect, executeUpdate, executeUpdate, formatDate, formatTime, get, getAll, getAttribute, getMBeanInfo, getMode, getPrimaryKeyValues, getScriptFileImpl, getTime, getTime, initialize, insert, insert, invoke, logSqlRequest, logSqlRequest, newActivity, newEvent, reloadRepository, remove, remove, select, setAttribute, store, tryInsert, tryUpdate, update, update
Methods inherited from class ecmwf.common.database.DataGet
getActivity, getActivity, getActivityObject, getAlias, getAliasArray, getAliasObject, getAssociation, getAssociationArray, getAssociationObject, getAuthorizedECUser, getAuthorizedECUserObject, getCategory, getCategoryArray, getCategoryObject, getCatUrl, getCatUrlArray, getCatUrlObject, getCountry, getCountryArray, getCountryObject, getDataFile, getDataFile, getDataFileObject, getDataTransfer, getDataTransferObject, getDestination, getDestinationArray, getDestinationECUser, getDestinationECUserArray, getDestinationECUserObject, getDestinationObject, getECSession, getECSession, getECSessionObject, getECtransAccounting, getECtransAccounting, getECtransAccountingObject, getECtransDestination, getECtransDestinationArray, getECtransDestinationObject, getECtransModule, getECtransModuleArray, getECtransModuleObject, getECUser, getECUserArray, getECUserObject, getEvent, getEvent, getEventObject, getHost, getHostArray, getHostArray, getHostECUser, getHostECUserObject, getHostLocation, getHostLocationObject, getHostObject, getHostOutput, getHostOutputObject, getHostStats, getHostStatsObject, getHostWithOutput, getIncomingAssociationArray, getIncomingPolicy, getIncomingPolicyArray, getIncomingPolicyObject, getIncomingUser, getIncomingUserArray, getIncomingUserObject, getMetadataAttribute, getMetadataAttributeArray, getMetadataAttributeObject, getMonitoringValue, getMonitoringValue, getMonitoringValueObject, getNotification, getNotification, getNotificationObject, getOperation, getOperationArray, getOperationObject, getPermission, getPermissionObject, getPolicyAssociation, getPrivileged, getPrivilegedObject, getProductStatus, getProductStatus, getProductStatusArray, getProductStatusObject, getPublication, getPublication, getPublicationIterator, getPublicationObject, getReception, getReception, getReceptionObject, getSchedulerValue, getSchedulerValue, getSchedulerValueObject, getSpool, getSpool, getSpoolObject, getTransferECUser, getTransferECUserObject, getTransferGroup, getTransferGroupArray, getTransferGroupObject, getTransferHistory, getTransferHistory, getTransferHistoryObject, getTransferMethod, getTransferMethodArray, getTransferMethodObject, getTransferModule, getTransferModuleArray, getTransferModuleObject, getTransferServer, getTransferServerArray, getTransferServerObject, getUrl, getUrlArray, getUrlObject, getWebUser, getWebUserArray, getWebUserObject, getWeuCat, getWeuCatArray, getWeuCatObject
-
Constructor Details
-
Method Details
-
clearIncomingUserCache
Allow clearing the cache for an IncomingUser.- Parameters:
userId
- user identifier
-
clearTransferServerCache
Allow clearing the cache for an TransferGroup.- Parameters:
groupName
- the group name
-
getTransferServers
Gets the transfer servers.- Parameters:
groupName
- the group name- Returns:
- the transfer servers
-
getAuthorisedDestinations
Gets the authorised destinations.- Parameters:
user
- the user- Returns:
- the authorised destinations
- Throws:
DataBaseException
- the data base exception
-
getAuthorisedHosts
Gets the authorised hosts.- Parameters:
user
- the user- Returns:
- the authorised hosts
- Throws:
DataBaseException
- the data base exception
-
getStatistics
public Statistics[] getStatistics(Date fromDate, Date toDate, String groupName, String status, String type) throws DataBaseException 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 exception
-
getRates
public Rates[] getRates(Date fromDate, Date toDate, String caller, String sourceHost) throws DataBaseException Gets the rates.- Parameters:
fromDate
- the from datetoDate
- the to datecaller
- the callersourceHost
- the source host- Returns:
- the rates
- Throws:
DataBaseException
- the data base exception
-
getRatesPerTransferServer
public Rates[] getRatesPerTransferServer(Date fromDate, Date toDate, String caller, String sourceHost) throws DataBaseException 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 exception
-
getRatesPerFileSystem
public Rates[] getRatesPerFileSystem(Date fromDate, Date toDate, String transferServerName, String caller, String sourceHost) throws DataBaseException 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 exception
-
getTransferServersByDataFileId
Gets the transfer servers by data file id.- Parameters:
dataFileId
- the data file id- Returns:
- the transfer servers by data file id
- Throws:
DataBaseException
- the data base exception
-
getECUserCount
public int getECUserCount()Gets the EC user count.- Returns:
- the EC user count
-
getDestinationsAndHostsForType
public Map<String,List<Host>> getDestinationsAndHostsForType(String type, int paramLimit) throws DataBaseException Gets the destinations and hosts for type.- Parameters:
type
- the typeparamLimit
- the param limit- Returns:
- the destinations and hosts for type
- Throws:
DataBaseException
- the data base exception
-
getDestinationHost
Gets the destination host.- Parameters:
dest
- the desttype
- the type- Returns:
- the destination host
-
getDestinationHost
-
getDestinationEcuser
Gets the destination ecuser.- Parameters:
destinationName
- the destination name- Returns:
- the destination ecuser
- Throws:
DataBaseException
- the data base exception
-
getDestinationIncomingPolicy
public IncomingPolicy[] getDestinationIncomingPolicy(String destinationName) throws DataBaseException Gets the destination incoming policies.- Parameters:
destinationName
- the destination name- Returns:
- the destination incoming policies
- Throws:
DataBaseException
- the data base exception
-
getIncomingUsersForIncomingPolicy
Gets the incoming users for an incoming policy.- Parameters:
policyId
- the policy id- Returns:
- the incoming users
- Throws:
DataBaseException
- the data base exception
-
getIncomingPoliciesForIncomingUser
Gets the incoming policies for an incoming user.- Parameters:
userId
- the user id- Returns:
- the incoming policies
- Throws:
DataBaseException
- the data base exception
-
getOperationsForIncomingUser
-
getDestinationsForIncomingPolicy
Gets the destinations for an incoming policy.- Parameters:
policyId
- the policy id- Returns:
- the destinations
- Throws:
DataBaseException
- the data base exception
-
getDestinations
Gets the destinations.- Parameters:
name
- the name- Returns:
- the destinations
- Throws:
DataBaseException
- the data base exception
-
getDestinationArray
Gets the destinations.- Parameters:
monitored
- only monitored destinations?- Returns:
- the destinations
- Throws:
DataBaseException
- the data base exception
-
getDestinationsForIncomingUser
Gets the destinations for incoming user.- Parameters:
userId
- the uid- Returns:
- the destinations for incoming user
-
getDestinationsByUserPolicies
Gets the destinations by user policies.- Parameters:
userId
- the user id- Returns:
- the destinations by user policies
-
getIncomingPermissionsForIncomingUser
Gets the incoming permissions for incoming user.- Parameters:
userId
- the user id- Returns:
- the incoming permissions for incoming user
-
getDestinationAliases
Gets the destination aliases.- Parameters:
name
- the namemode
- the mode- Returns:
- the destination aliases
- Throws:
DataBaseException
- the data base exception
-
getAliases
Gets the aliases.- Parameters:
name
- the namemode
- the mode- Returns:
- the aliases
- Throws:
DataBaseException
- the data base exception
-
purgeDataBase
public int purgeDataBase(long milliseconds) Purge data base.- Parameters:
milliseconds
- the milliseconds- Returns:
- the int
-
resetDataTransferSchedulesByGroup
Reschedule all data transfers belonging to a specific group to the current time.- Parameters:
groupBy
- the group by- Returns:
- the int
-
purgeDataFile
public int purgeDataFile(long dataFileId) Purge data files.- Parameters:
dataFileId
- the data file id- Returns:
- the int
-
getBadDataTransfersCount
Gets the bad data transfers count.- Returns:
- the bad data transfers count
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByHostName
public Collection<DataTransfer> getDataTransfersByHostName(ECpdsBase.DataTransferCache cache, String hostName, Date from, Date to) throws DataBaseException Gets the data transfers by host name.- Parameters:
cache
- the data transfer cachehostName
- the host namefrom
- the fromto
- the to- Returns:
- the data transfers by host name
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestinationAndMetaData
public Map<Long,DataTransfer> getDataTransfersByDestinationAndMetaData(Date from, Date to, String destinationName, String metaStream, String metaTime) throws DataBaseException Gets the data transfers by destination and meta data.- Parameters:
from
- the fromto
- the todestinationName
- the destination namemetaStream
- the meta streammetaTime
- the meta time- Returns:
- the data transfers by destination and meta data
- Throws:
DataBaseException
- the data base exception
-
getDataTransferNotDoneOnDate
Gets the data transfer not done on date.- Returns:
- the data transfer not done on date
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByTransferServerName
public Collection<DataTransfer> getDataTransfersByTransferServerName(ECpdsBase.DataTransferCache cache, String name, Date from, Date to) throws DataBaseException Gets the data transfers by transfer server name.- Parameters:
cache
- the data transfer cachename
- the namefrom
- the fromto
- the to- Returns:
- the data transfers by transfer server name
- Throws:
DataBaseException
- the data base exception
-
getInitialDataTransferEventsIterator
public Iterator<DataTransfer> getInitialDataTransferEventsIterator(Date from, Date to) throws DataBaseException, SQLException, IOException Gets the initial data transfer events.- Parameters:
from
- the fromto
- the to- Returns:
- the initial data transfer events
- Throws:
DataBaseException
- the data base exceptionSQLException
- the SQL exceptionIOException
- Signals that an I/O exception has occurred.
-
getInitialDataTransferEvents
public Collection<DataTransfer> getInitialDataTransferEvents(Date from, Date to) throws DataBaseException Gets the initial data transfer events.- Parameters:
from
- the fromto
- the to- Returns:
- the initial data transfer events
- Throws:
DataBaseException
- the data base exception
-
getSortedDataTransfersByStatusCodeAndDate
public Collection<DataTransfer> getSortedDataTransfersByStatusCodeAndDate(ECpdsBase.DataTransferCache cache, String status, Date from, Date to, String fileName, String type, DataBaseCursor cursor) throws DataBaseException Gets the sorted data transfers by status code and date. This is used on the transfer page!- Parameters:
cache
- the data transfer cachestatus
- the statusfrom
- the fromto
- the tofileName
- the searchtype
- the typecursor
- the cursor- Returns:
- the sorted data transfers by status code and date
- Throws:
DataBaseException
- the data base exception
-
getDestinationNamesAndComments
Gets the sorted destination names and comments.- Returns:
- the sorted destination names and comments
- Throws:
DataBaseException
- the data base exception
-
getDestinationExts
Gets the destination exts.- Returns:
- the destination exts
-
getPendingDataTransfers
Gets the pending data transfers.- Parameters:
destination
- the destinationlimit
- the limit- Returns:
- the pending data transfers
-
getDataFilesByGroupBy
-
getDataFilesByGroupByCount
Gets the data files by group by count.- Parameters:
groupBy
- the group by- Returns:
- the data files by group by count
-
getDataTransfersByDataFileId
public List<DataTransfer> getDataTransfersByDataFileId(ECpdsBase.DataTransferCache cache, long dataFileId) throws DataBaseException Gets the data transfers by data file id.- Parameters:
cache
- the data transfer cachedataFileId
- the dataFile id- Returns:
- the data transfers by data file id
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDataFileId
public List<DataTransfer> getDataTransfersByDataFileId(ECpdsBase.DataTransferCache cache, long dataFileId, boolean includeDeleted) throws DataBaseException Gets the data transfers by data file id.- Parameters:
cache
- the data transfer cachedataFileId
- the idincludeDeleted
- the include deleted- Returns:
- the data transfers by data file id
- Throws:
DataBaseException
- the data base exception
-
getDestinationsByCountryISO
Gets the destinations by country iso.- Parameters:
isoCode
- the iso code- Returns:
- the destinations by country iso
-
getDestinationsByUser
public List<Destination> getDestinationsByUser(String uid, SQLParameterParser options, String fromToAliases, boolean asc, String status, String type, String filter) Gets the destinations by user.- Parameters:
uid
- the uidoptions
- the optionsfromToAliases
- the from to aliasesasc
- the ascstatus
- the statustype
- the typefilter
- the filter- Returns:
- the destinations by user
-
getDestinationsByHostName
Gets the destinations by host name.- Parameters:
hostName
- the host name- Returns:
- the destinations by host name
- Throws:
DataBaseException
- the data base exception
-
getTransferHistoryByDataTransferId
public TransferHistory[] getTransferHistoryByDataTransferId(long dataTransferId) throws DataBaseException Gets the transfer history.- Parameters:
dataTransferId
- the data transfer id- Returns:
- the transfer history
- Throws:
DataBaseException
- the data base exception
-
getSortedTransferHistory
public TransferHistory[] getSortedTransferHistory(long dataTransferId, boolean afterScheduleTime, DataBaseCursor cursor) throws DataBaseException Gets the sorted transfer history.- Parameters:
dataTransferId
- the data transfer idafterScheduleTime
- the after schedule timecursor
- the cursor- Returns:
- the sorted transfer history
- Throws:
DataBaseException
- the data base exception
-
getScheduledDataTransfer
Gets the scheduled data transfer.- Parameters:
uniqueKey
- the unique keydestinationName
- the destination name- Returns:
- the scheduled data transfer
-
getExistingStorageDirectories
public Iterator<ExistingStorageDirectory> getExistingStorageDirectories() throws IOException, SQLExceptionGets the existing storage directories.- Returns:
- the existing storage directories
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getExistingStorageDirectoriesPerProxyHost
public Iterator<ExistingStorageDirectory> getExistingStorageDirectoriesPerProxyHost() throws IOException, SQLExceptionGets the existing storage directories per proxy host.- Returns:
- the existing storage directories per proxy host
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getExpiredDataFilesIterator
Gets the expired data files iterator. Avoid getting a large array of DataFiles!- Parameters:
limit
- the limit- Returns:
- the expired data files iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getDataFilesToFilterIterator
Gets the data files to filter iterator. Avoid getting a large array of DataFiles!- Parameters:
limit
- the limit- Returns:
- the data files to filter iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getPublicationIterator
Gets the publications to process iterator. Avoid getting a large array of Publications!- Parameters:
limit
- the limit- Returns:
- the publications to process iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getDataTransfersToReplicateIterator
public Iterator<DataTransfer> getDataTransfersToReplicateIterator(int limit) throws IOException, SQLException Gets the data transfers to replicate iterator. Get an iterator to avoid having a large array of DataTransfers!- Parameters:
limit
- the limit- Returns:
- the data transfers to replicate iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getDataTransfersToBackupIterator
public Iterator<DataTransfer> getDataTransfersToBackupIterator(int limit) throws IOException, SQLException Gets the data transfers to backup iterator. Avoid getting a large array of DataTransfers!- Parameters:
limit
- the limit- Returns:
- the data transfers to backup iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getDataTransfersToProxyIterator
public Iterator<DataTransfer> getDataTransfersToProxyIterator(int limit) throws IOException, SQLException Gets the data transfers to proxy iterator. Avoid getting a large array of DataTransfers!- Parameters:
limit
- the limit- Returns:
- the data transfers to proxy iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getAcquisitionDataTransfersToDownloadIterator
public Iterator<DataTransfer> getAcquisitionDataTransfersToDownloadIterator(int limit) throws SQLException, IOException Gets the acquisition data transfers to download iterator. Avoid caching the DataTransfers in an array!- Parameters:
limit
- the limit- Returns:
- the acquisition data transfers to download iterator
- Throws:
SQLException
- the SQL exceptionIOException
- Signals that an I/O exception has occurred.
-
getDisseminationDataTransfersToDownloadIterator
public Iterator<DataTransfer> getDisseminationDataTransfersToDownloadIterator(int limit) throws SQLException, IOException Gets the dissemination data transfers to download iterator. Avoid caching the DataTransfers in an array!- Parameters:
limit
- the limit- Returns:
- the dissemination data transfers to download iterator
- Throws:
SQLException
- the SQL exceptionIOException
- Signals that an I/O exception has occurred.
-
purgeExpiredDataTransfers
public long purgeExpiredDataTransfers(int maxIdentityCount, int maxTransferLife) Purge expired data transfers.- Parameters:
maxIdentityCount
- the max identity countmaxTransferLife
- the max transfer life- Returns:
- the long
-
getCategoriesPerUserId
Gets the categories per user id.- Parameters:
userId
- the user id- Returns:
- the categories per user id
- Throws:
DataBaseException
- the data base exception
-
getDataFromUserPolicies
Gets the incoming user object with the data field populated with the data from the associated data policies. Not meant to be saved to the database by the caller!- Parameters:
user
- the user- Returns:
- the incoming user object
-
getPolicyUserList
Gets the user policies per user id.- Parameters:
userId
- the user id- Returns:
- the user policies per user id
-
getUsersPerCategoryId
Gets the users per category id.- Parameters:
categoryId
- the category id- Returns:
- the users per category id
- Throws:
DataBaseException
- the data base exception
-
getUrlsPerCategoryId
Gets the urls per category id.- Parameters:
id
- the id- Returns:
- the urls per category id
- Throws:
DataBaseException
- the data base exception
-
getCategoriesPerResourceId
Gets the categories per resource id.- Parameters:
id
- the id- Returns:
- the categories per resource id
- Throws:
DataBaseException
- the data base exception
-
getDataFilesByMetaData
public Collection<DataFile> getDataFilesByMetaData(String name, String value, Date from, Date to, DataBaseCursor cursor) throws DataBaseException 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 exception
-
getTransferCountAndMetaDataByFilter
public 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 Gets the transfer count and meta data by filter. This is used on the destination page to show the number of transfers per stream, target of status!- 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 exception
-
getDataTransfersByFilter
public Collection<DataTransfer> getDataTransfersByFilter(ECpdsBase.DataTransferCache cache, String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to, DataBaseCursor cursor) throws DataBaseException Gets the sorted data transfers by filter. This is used on the destination page, to filter the transfers!- Parameters:
cache
- the data transfer cachedestination
- 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 sorted data transfers by filter
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByFilter
public Collection<DataTransfer> getDataTransfersByFilter(ECpdsBase.DataTransferCache cache, String destination, String target, String stream, String time, String status, String privilegedUser, Date scheduledBefore, String fileName, Date from, Date to) throws DataBaseException Gets the data transfers by filter. This is used on the destination page, to filter the transfers!- Parameters:
cache
- the data transfer cachedestination
- 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:
DataBaseException
- the data base exception
-
getFilteredHosts
public Collection<Host> getFilteredHosts(String label, String filter, String network, String type, String search, DataBaseCursor cursor) throws DataBaseException Gets the hosts with the provided criteria.- Parameters:
label
- the labelfilter
- the filternetwork
- the networktype
- the typesearch
- the searchcursor
- the cursor- Returns:
- the hosts
- Throws:
DataBaseException
- the data base exception
-
getHostsByDestinationId
Gets the hosts by destination id.- Parameters:
destId
- the dest id- Returns:
- the hosts by destination id
- Throws:
DataBaseException
- the data base exception
-
getHostsByTransferMethodId
public Collection<Host> getHostsByTransferMethodId(String transferMethodId) throws DataBaseException 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 exception
-
getHostsToCheck
-
getTransferMethodsByEcTransModuleName
public Collection<TransferMethod> getTransferMethodsByEcTransModuleName(String ecTransModuleName) throws DataBaseException Gets the transfer methods by ec trans module name.- Parameters:
ecTransModuleName
- the ec trans module name- Returns:
- the transfer methods by ec trans module name
- Throws:
DataBaseException
- the data base exception
-
getMetaDataByDataFileId
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 exception
-
getMetaDataByAttributeName
Gets the meta data by attribute name.- Parameters:
id
- the id- Returns:
- the meta data by attribute name
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestination
public Iterator<DataTransfer> getDataTransfersByDestination(String destinationName) throws DataBaseException Gets the data transfers by destination.- Parameters:
destinationName
- the Destination name- Returns:
- the data transfers by destination
- Throws:
DataBaseException
- the data base exception
-
resetRequeuedTransfersPerDestination
Reset the re-queued transfers per destination.- Parameters:
destination
- the destination- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByTransferServer
public Iterator<DataTransfer> getDataTransfersByTransferServer(TransferServer server) throws DataBaseException Gets the data transfers by transfer server.- Parameters:
server
- the server- Returns:
- the data transfers by transfer server
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestinationAndIdentity
public Collection<DataTransfer> getDataTransfersByDestinationAndIdentity(ECpdsBase.DataTransferCache cache, String destination, String identity) throws DataBaseException Gets the data transfers by destination and identity.- Parameters:
cache
- the data transfer cachedestination
- the destinationidentity
- the identity- Returns:
- the data transfers by destination and identity
- Throws:
DataBaseException
- the data base exception
-
getTransferCountWithDestinationAndMetadataValueByMetadataName
public Collection<List<String>> getTransferCountWithDestinationAndMetadataValueByMetadataName(String metadataName) throws DataBaseException 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 exception
-
getDataTransfersByDestinationProductAndTimeOnDate
public Collection<DataTransfer> getDataTransfersByDestinationProductAndTimeOnDate(ECpdsBase.DataTransferCache cache, String destinationName, String product, String time, Date fromIsoDate, Date toIsoDate) throws DataBaseException Gets the data transfers by destination product and time on date.- Parameters:
cache
- the data transfer cachedestinationName
- 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 exception
-
getDataTransfersByDestinationOnDate
public Collection<DataTransfer> getDataTransfersByDestinationOnDate(ECpdsBase.DataTransferCache cache, String destinationName, Date fromIsoDate, Date toIsoDate) throws DataBaseException Gets the data transfers by destination on date.- Parameters:
cache
- the data transfer cachedestinationName
- the destination namefromIsoDate
- the from iso datetoIsoDate
- the to iso date- Returns:
- the data transfers by destination on date
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestinationAndTargetOnDateIterator
public Iterator<DataTransfer> getDataTransfersByDestinationAndTargetOnDateIterator(String destinationName, String target, Date fromIsoDate, Date toIsoDate) throws DataBaseException Gets the data transfers by destination on date iterator.- Parameters:
destinationName
- the destination nametarget
- the targetfromIsoDate
- the from iso datetoIsoDate
- the to iso date- Returns:
- the data transfers by destination on date iterator
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestinationAndTargetOnDateIterator2
public Iterator<DataTransfer> getDataTransfersByDestinationAndTargetOnDateIterator2(String destinationName, String target, Date fromIsoDate, Date toIsoDate, int sort, int order) throws IOException, SQLException Gets the data transfers by destination on date iterator (v2).- Parameters:
destinationName
- the destination nametarget
- the targetfromIsoDate
- the from iso datetoIsoDate
- the to iso datesort
- the sortorder
- the order- Returns:
- the data transfers by destination on date iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getDataTransfersByDestinationOnTransmissionDate
public Collection<DataTransfer> getDataTransfersByDestinationOnTransmissionDate(ECpdsBase.DataTransferCache cache, String destinationName, Date fromIsoDate, Date toIsoDate) throws DataBaseException Gets the data transfers by destination on transmission date.- Parameters:
cache
- the data transfer cachedestinationName
- 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 exception
-
getDatesByDestinationAndTargetOnDate
public Long[] getDatesByDestinationAndTargetOnDate(String destinationName, int order) throws DataBaseException Gets the dates by destination and target on date.- Parameters:
destinationName
- the destination nameorder
- the order- Returns:
- the dates by destination and target on date
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestinationAndTargetIterator
public Iterator<DataTransfer> getDataTransfersByDestinationAndTargetIterator(String destinationName, String target, boolean runnable) throws DataBaseException Gets the data transfers by destination and target iterator.- Parameters:
destinationName
- the destination nametarget
- the targetrunnable
- the runnable- Returns:
- the data transfers by destination and target iterator
- Throws:
DataBaseException
- the data base exception
-
getDataTransfersByDestinationAndTargetIterator2
public Iterator<DataTransfer> getDataTransfersByDestinationAndTargetIterator2(String destinationName, String target, boolean runnable, int sort, int order) throws IOException, SQLException Gets the data transfers by destination and target iterator (v2).- Parameters:
destinationName
- the destination nametarget
- the targetrunnable
- the runnablesort
- the sortorder
- the order- Returns:
- the data transfers by destination and target iterator
- Throws:
IOException
- Signals that an I/O exception has occurred.SQLException
- the SQL exception
-
getBadDataTransfersByDestination
public Collection<DataTransfer> getBadDataTransfersByDestination(ECpdsBase.DataTransferCache cache, String destinationName) throws DataBaseException Gets the bad data transfers by destination.- Parameters:
cache
- the data transfer cachedestinationName
- the destination name- Returns:
- the bad data transfers by destination
- Throws:
DataBaseException
- the data base exception
-
getBadDataTransfersByDestinationCount
Gets the bad data transfers by destination count.- Parameters:
destinationName
- the destination name- Returns:
- the bad data transfers by destination count
-
getDataTransferCountNotDoneByProductAndTimeOnDate
public int getDataTransferCountNotDoneByProductAndTimeOnDate(String destination, String product, String time, Date from, Date to) throws DataBaseException 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 exception
-
getSortedTransferHistoryByDestinationOnProductDate
public Collection<TransferHistory> getSortedTransferHistoryByDestinationOnProductDate(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) throws DataBaseException Gets the sorted transfer history by destination on product date.- Parameters:
destinationName
- the destination namefromIsoDate
- the from iso datetoIsoDate
- the to iso datecursor
- the cursor- Returns:
- the sorted transfer history by destination on product date
- Throws:
DataBaseException
- the data base exception
-
getSortedTransferHistoryByDestinationOnHistoryDate
public Collection<TransferHistory> getSortedTransferHistoryByDestinationOnHistoryDate(String destinationName, Date fromIsoDate, Date toIsoDate, DataBaseCursor cursor) throws DataBaseException Gets the sorted transfer history by destination on history date.- Parameters:
destinationName
- the destination namefromIsoDate
- the from iso datetoIsoDate
- the to iso datecursor
- the cursor- Returns:
- the sorted transfer history by destination on history date
- Throws:
DataBaseException
- the data base exception
-
getECuserEvents
public Collection<Event> getECuserEvents(String userName, Date onIsoDate, String search, DataBaseCursor cursor) throws DataBaseException 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 exception
-
getIncomingHistory
public Collection<IncomingHistory> getIncomingHistory(String incomingUserName, Date onIsoDate, String search, DataBaseCursor cursor) throws DataBaseException Gets the incoming history list.- Parameters:
incomingUserName
- the incoming user nameonIsoDate
- the on iso datesearch
- the searchcursor
- the cursor- Returns:
- the incoming history list
- Throws:
DataBaseException
- the data base exception
-
getAllowedEcUsersByHostName
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 exception
-
getTrafficByDestinationName
Gets the traffic by destination name.- Parameters:
destinationName
- the destination name- Returns:
- the traffic
- Throws:
DataBaseException
- the data base exception
-
getChangeLogByKey
Gets the change log by key.- Parameters:
keyName
- the key namekeyValue
- the key value- Returns:
- the change log
- Throws:
DataBaseException
- the data base exception
-
getProductStatus
public ProductStatus[] getProductStatus(String stream, String time, String type, long step, int limit) throws DataBaseException Gets the product status.- Parameters:
stream
- the streamtime
- the timetype
- the typestep
- the steplimit
- the limit- Returns:
- the product status
- Throws:
DataBaseException
- the data base exception
-
getInitialProductStatusEventsIterator
public Iterator<ProductStatus> getInitialProductStatusEventsIterator() throws DataBaseException, SQLException, IOExceptionGets the initial product status events.- Returns:
- the initial product status events iterator
- Throws:
DataBaseException
- the data base exceptionSQLException
- the SQL exceptionIOException
- Signals that an I/O exception has occurred.
-
getInitialProductStatusEvents
Gets the initial product status events.- Returns:
- the initial product status events
- Throws:
DataBaseException
- the data base exception
-
getInterruptedTransfers
Gets the interrupted transfers.- Returns:
- the interrupted transfers
- Throws:
DataBaseException
- the data base exception
-
getInterruptedTransfersPerDestination
Gets the interrupted transfers per destination.- Parameters:
destination
- the destination- Returns:
- the interrupted transfers per destination
-
resetProductStatus
public int resetProductStatus(String metaStream, String metaTime, long timeStep) throws DataBaseException Reset product status.- Parameters:
metaStream
- the meta streammetaTime
- the meta timetimeStep
- the time step- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeDestination
Removes the destination.- Parameters:
destinationName
- the Destination nameremove
- the remove- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeHost
Removes the host.- Parameters:
host
- the host- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeWebUser
Removes the web user.- Parameters:
user
- the web user- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeCategory
Removes the category.- Parameters:
category
- the category- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeUrl
Removes the url.- Parameters:
url
- the url- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeIncomingUser
Removes the IncomingUser.- Parameters:
user
- the incoming user- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-
removeIncomingPolicy
Removes the IncomingPolicy.- Parameters:
policy
- the incoming policy- Returns:
- the int
- Throws:
DataBaseException
- the data base exception
-