MCPcopy Create free account

hub / github.com/bottomless-archive-project/library-of-alexandria / functions

Functions716 in github.com/bottomless-archive-project/library-of-alexandria

↓ 79 callersMethodinfo
(final HttpSession httpSession)
loa-application/loa-web-application/src/main/java/com/github/bottomlessarchive/loa/web/view/user/controller/UserController.java:48
↓ 58 callersMethodgetLocation
Return a vault location for a document. @param documentEntity the entity of the document to return the location for @return the vault location belong
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/location/VaultLocationFactory.java:17
↓ 56 callersMethodchecksum
Generate a checksum for the provided document. @param documentContents the contents of the document @return the checksum for the document
loa-library/loa-checksum-service/src/main/java/com/github/bottomlessarchive/loa/checksum/service/ChecksumProvider.java:18
↓ 41 callersMethodgetDocumentEntity
Return a document by its id. @param documentId the id of the document @return the document that belongs to the provided id
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/entity/factory/DocumentEntityFactory.java:42
↓ 33 callersMethodsize
Return the size of the content at the stage location. @return the file size at the stage location
loa-library/loa-stage-service/src/main/java/com/github/bottomlessarchive/loa/stage/service/domain/StageLocation.java:38
↓ 27 callersMethoddelete
(final Path path)
loa-library/loa-file-service/src/main/java/com/github/bottomlessarchive/loa/file/FileManipulatorService.java:23
↓ 25 callersMethodexists
Return if the stage location already exists. @return true if the location exists, false otherwise
loa-library/loa-stage-service/src/main/java/com/github/bottomlessarchive/loa/stage/service/domain/StageLocation.java:29
↓ 22 callersMethodnewDocumentEntity
Creates a new document. The document is persisted to the database. @param documentCreationContext the parameters of the document to create @return th
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/entity/factory/DocumentEntityFactory.java:132
↓ 20 callersMethodclose
()
loa-library/loa-stage-service/src/main/java/com/github/bottomlessarchive/loa/stage/service/domain/StageLocation.java:96
↓ 19 callersMethodexecute
(final Runnable command)
loa-library/loa-threading-service/src/main/java/com/github/bottomlessarchive/loa/threading/executor/BlockingExecutor.java:26
↓ 16 callersMethodparse
(final InputStream inputStream, final ContentHandler contentHandler, final Metadata metadata, fina
loa-library/loa-document-parser-service/src/main/java/com/github/bottomlessarchive/loa/parser/service/parser/ExceptionParser.java:21
↓ 14 callersMethodgetProperty
(final String name)
loa-library/loa-conductor-domain/src/main/java/com/github/bottomlessarchive/loa/conductor/service/domain/ServiceInstanceEntity.java:51
↓ 11 callersMethodcopy
(final URI copyFrom, final Path copyTo)
loa-library/loa-file-service/src/main/java/com/github/bottomlessarchive/loa/file/FileManipulatorService.java:31
↓ 11 callersMethodnewInputStream
(final String fileLocation)
loa-library/loa-source-file-service/src/main/java/com/github/bottomlessarchive/loa/source/file/service/FileSourceFactory.java:27
↓ 10 callersMethoddecode
(final String target)
loa-library/loa-number-service/src/main/java/com/github/bottomlessarchive/loa/number/service/HexConverter.java:15
↓ 10 callersMethodgetInputStream
(final String path)
loa-library/loa-file-service/src/main/java/com/github/bottomlessarchive/loa/file/FileManipulatorService.java:15
↓ 10 callersMethodsendMessage
Sends the provided message to the provided queue. @param queue the queue to send the message to @param message the message to send @throws QueueExc
loa-library/loa-queue-service/src/main/java/com/github/bottomlessarchive/loa/queue/service/QueueManipulator.java:51
↓ 10 callersMethodsourceLocations
()
loa-library/loa-document-repository/src/main/java/com/github/bottomlessarchive/loa/document/repository/domain/DocumentDatabaseEntity.java:34
↓ 9 callersMethodexpectQueryServiceCall
(final ApplicationType applicationType, final String host, final int port)
loa-library/loa-conductor-client-test/src/main/java/com/github/bottomlessarchive/loa/conductor/service/ConductorClientTestUtility.java:26
↓ 9 callersMethodgetLanguage
()
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/domain/SearchContext.java:25
↓ 9 callersMethodsetProperty
(final String propertyName, final int propertyValue)
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/extension/domain/InstanceExtensionContext.java:11
↓ 8 callersMethodarchiveDocument
Archives a document to the vault. The document will be saved to the vault's physical storage. @param documentArchivingContext the context of the docu
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/VaultDocumentManager.java:36
↓ 8 callersMethodisValidDocument
Evaluates a document's validity based on the document's properties in the staging area. @param documentId the id of the document to validate @param
loa-library/loa-validator-service/src/main/java/com/github/bottomlessarchive/loa/validator/service/DocumentFileValidator.java:34
↓ 8 callersMethodsetupFakeFile
(final String fileNameAndPath, final byte[] testFileContent)
loa-application/loa-vault-application/src/test/java/com/github/bottomlessarchive/loa/vault/integration/VaultViewDefaultIntegrationTest.java:691
↓ 7 callersMethoddownloadFile
Download a file from the provided url to the provided file location. @param downloadTarget the url to download the file from @param resultLocation th
loa-library/loa-downloader-service/src/main/java/com/github/bottomlessarchive/loa/io/service/downloader/FileDownloadManager.java:38
↓ 7 callersMethodexpectRegisterServiceCall
(final ApplicationType applicationType)
loa-library/loa-conductor-client-test/src/main/java/com/github/bottomlessarchive/loa/conductor/service/ConductorClientTestUtility.java:15
↓ 7 callersMethodgetDocumentLocation
(final String id)
loa-library/loa-document-location-service/src/main/java/com/github/bottomlessarchive/loa/location/service/factory/DocumentLocationEntityFactory.java:21
↓ 7 callersMethodisZipArchive
(final Path filePath)
loa-library/loa-file-service/src/main/java/com/github/bottomlessarchive/loa/file/zip/ZipFileManipulatorService.java:17
↓ 7 callersMethodnewSourceReader
()
loa-library/loa-source-file-service/src/main/java/com/github/bottomlessarchive/loa/source/file/service/FileSourceFactory.java:23
↓ 7 callersMethodopenStream
Return an {@link InputStream} to the contents at the stage location. @return input stream to the content
loa-library/loa-stage-service/src/main/java/com/github/bottomlessarchive/loa/stage/service/domain/StageLocation.java:51
↓ 6 callersMethodacquireDocument
(final String fileLocation, final Path resultLocation, final DocumentType documentType)
loa-library/loa-downloader-service/src/main/java/com/github/bottomlessarchive/loa/io/service/collector/DocumentCollector.java:29
↓ 6 callersMethodarchiveDocument
Archiving the document that is described by the provided {@link DocumentArchivingContext}. First, the content of the document is sent to the Staging A
loa-application/loa-downloader-application/src/main/java/com/github/bottomlessarchive/loa/downloader/service/document/DocumentArchiver.java:44
↓ 6 callersMethodcalculate
Calculate the document's type from the provided document location. @param documentLocation the location to calculate the type for @return the calcula
loa-library/loa-document-type-service/src/main/java/com/github/bottomlessarchive/loa/type/DocumentTypeCalculator.java:20
↓ 6 callersMethodcalculateResultBasedOnResponseCode
(final String downloadTarget, final int responseCode)
loa-library/loa-io-service/src/main/java/com/github/bottomlessarchive/loa/url/service/downloader/DocumentLocationResultCalculator.java:18
↓ 6 callersMethodgetInstance
Return a service instance for the provided application. @param applicationType the application to get the instance for @return the service instance
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/ConductorClient.java:81
↓ 6 callersMethodgetUrl
()
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/configuration/ConductorClientConfigurationProperties.java:29
↓ 6 callersMethodgetVaultLocation
(final String vaultName)
loa-library/loa-vault-client-service/src/main/java/com/github/bottomlessarchive/loa/vault/client/service/VaultLocationContainer.java:26
↓ 6 callersMethodisInVault
(final String vault)
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/domain/DocumentEntity.java:70
↓ 6 callersMethodnewContext
(final DocumentArchivingContext documentArchivingContext)
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/archive/DocumentCreationContextFactory.java:13
↓ 6 callersMethodnewDocumentLocation
Tries to construct a {@link DocumentLocation} from a provided {@link String} representation. If the conversion failed because the link vas invalid, it
loa-library/loa-document-location-service/src/main/java/com/github/bottomlessarchive/loa/location/service/factory/DocumentLocationFactory.java:28
↓ 6 callersMethodparseDocumentMetadata
(final UUID documentId, final DocumentType documentType, final InputStream documentContents)
loa-library/loa-document-parser-service/src/main/java/com/github/bottomlessarchive/loa/parser/service/DocumentDataParser.java:35
↓ 6 callersMethodrefreshHits
()
loa-frontend/src/app/view/search/search.component.ts:251
↓ 6 callersMethodtransformExceptionToDownloadResult
(final Exception e)
loa-library/loa-io-service/src/main/java/com/github/bottomlessarchive/loa/url/service/downloader/DocumentLocationResultCalculator.java:40
↓ 5 callersMethodbuildIndexDocument
(final IndexingContext indexingContext)
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/indexer/IndexDocumentFactory.java:12
↓ 5 callersMethodencode
Encodes the provided URL to a valid <a href="https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier">resource identifier</a> and return t
loa-library/loa-url-service/src/main/java/com/github/bottomlessarchive/loa/url/service/encoder/UrlEncoder.java:27
↓ 5 callersMethodgetCompressionService
Return the compression service that implements the compress and decompress algorithms that belonging to the provided {@link DocumentCompression}. @pa
loa-library/loa-compression-service/src/main/java/com/github/bottomlessarchive/loa/compression/service/compressor/provider/CompressorServiceProvider.java:37
↓ 5 callersMethodgetDocumentId
()
loa-library/loa-beacon-client-service/src/main/java/com/github/bottomlessarchive/loa/beacon/service/client/domain/BeaconDocumentLocationResult.java:22
↓ 5 callersMethodgetStageLocation
Returns a location in the staging folder for the document with the provided id. If the staging folder doesn't exist when a call is made to this functi
loa-application/loa-staging-application/src/main/java/com/github/bottomlessarchive/loa/stage/service/StageLocationFactory.java:28
↓ 5 callersMethodnewKeywordSearchRequest
Create a search request based on a provided {@link SearchContext}. The searched word will be highlighted. @param searchContext the context of the sea
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/request/IndexerRequestFactory.java:155
↓ 5 callersMethodreadMessage
Reads a message from the provided queue. @param queue the queue to read the message from @return the message that's being read @throws QueueException
loa-library/loa-queue-service/src/main/java/com/github/bottomlessarchive/loa/queue/service/QueueManipulator.java:60
↓ 5 callersMethodserialize
(T message)
loa-library/loa-queue-artemis-service/src/main/java/com/github/bottomlessarchive/loa/queue/artemis/service/producer/serializer/MessageSerializer.java:8
↓ 5 callersMethodupdateDownloadResultCode
(final String documentLocationId, final DocumentLocationResultType downloadResultCode)
loa-library/loa-document-location-service/src/main/java/com/github/bottomlessarchive/loa/location/service/DocumentLocationManipulator.java:16
↓ 4 callersMethodaddSourceLocation
(final UUID documentId, final String documentLocationId)
loa-library/loa-document-repository/src/main/java/com/github/bottomlessarchive/loa/document/repository/DocumentRepository.java:50
↓ 4 callersMethodasJsonString
(final Object obj)
loa-application/loa-vault-application/src/test/java/com/github/bottomlessarchive/loa/vault/view/controller/VaultControllerTest.java:368
↓ 4 callersMethodbuildStoragePath
(final UUID documentId)
loa-application/loa-beacon-application/src/main/java/com/github/bottomlessarchive/loa/beacon/service/StoragePathFactory.java:16
↓ 4 callersMethoddeleteIfExists
(final StageLocation file)
loa-application/loa-staging-application/src/main/java/com/github/bottomlessarchive/loa/stage/view/document/controller/StageDocumentController.java:62
↓ 4 callersMethoddeserialize
(ClientMessage clientMessage)
loa-library/loa-queue-artemis-service/src/main/java/com/github/bottomlessarchive/loa/queue/artemis/service/consumer/deserializer/MessageDeserializer.java:8
↓ 4 callersMethodexpectStagingGetDocumentCall
(final UUID documentId, final byte[] documentContent)
loa-application/loa-vault-application/src/test/java/com/github/bottomlessarchive/loa/vault/integration/VaultProcessingIntegrationTest.java:313
↓ 4 callersMethodgetAvailableSpace
Return the available free space in bytes on the location host. @return the free bytes available
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/location/VaultLocationFactory.java:36
↓ 4 callersMethodgetDocumentEntitiesSync
Return all documents available in the database. @return all documents available in the database
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/entity/factory/DocumentEntityFactory.java:79
↓ 4 callersMethodgetSerializer
(final Queue queue)
loa-library/loa-queue-artemis-service/src/main/java/com/github/bottomlessarchive/loa/queue/artemis/service/producer/serializer/MessageSerializerProvider.java:25
↓ 4 callersMethodindexDocument
Add a document into the index. @param indexingContext the parameters of the document to add
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/indexer/IndexerClient.java:30
↓ 4 callersMethodmarkCorrupt
Set the document's status to {@link DocumentStatus#CORRUPT corrupt}. @param documentId the id of the document to mark as corrupt
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/DocumentManipulator.java:45
↓ 4 callersMethodmarkDownloaded
Set the document's status as {@link DocumentStatus#DOWNLOADED downloaded}. @param documentId the id of the document to mark as downloaded
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/DocumentManipulator.java:27
↓ 4 callersMethodmarkIndexed
Set the document's status as {@link DocumentStatus#INDEXED indexed}. @param documentId the id of the document to mark as indexed
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/DocumentManipulator.java:36
↓ 4 callersMethodnewCountDocumentsRequest
Create a request that will return the number of documents that are indexed successfully. @return the created request
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/request/IndexerRequestFactory.java:45
↓ 4 callersMethodnewCreateIndexRequest
Create a request that will create the index in the search engine for document indexing. @return the created request
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/request/IndexerRequestFactory.java:71
↓ 4 callersMethodnewDocumentExistsRequest
Create a new request that can be used to check if a document exists in the index or not. @param documentId the id of the document to check @return th
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/request/IndexerRequestFactory.java:58
↓ 4 callersMethodnewIndexRequest
(final IndexingContext indexingContext)
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/indexer/IndexRequestFactory.java:19
↓ 4 callersMethodpersistDocument
Store the document contents. @param documentEntity the document to store the contents for @param documentContents the contents of the document
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/backend/service/VaultDocumentStorage.java:27
↓ 4 callersMethodrecrawlSourceLocation
(final DocumentLocation documentLocation, final DocumentEntity documentEntity)
loa-application/loa-administrator-application/src/main/java/com/github/bottomlessarchive/loa/administrator/command/recollect/SourceLocationRecrawlerService.java:30
↓ 4 callersMethodremoveDocument
Remove the content of a document from the vault. @param documentEntity the document to remove
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/VaultDocumentManager.java:84
↓ 4 callersMethodrun
(final String... args)
loa-application/loa-indexer-application/src/main/java/com/github/bottomlessarchive/loa/indexer/command/IndexerCommand.java:25
↓ 4 callersMethodsearch
()
loa-frontend/src/app/view/search/search.component.ts:136
↓ 4 callersMethodsetType
(type: string)
loa-frontend/src/app/view/search/search.component.ts:142
↓ 4 callersMethodsilentlyInitializeQueues
Initialize the queues in the Queue Application if it does not exist. If one of the queues already exist it does nothing for that queue. @param queues
loa-library/loa-queue-service/src/main/java/com/github/bottomlessarchive/loa/queue/service/QueueManipulator.java:17
↓ 4 callersMethodstreamLocations
This method is streaming new document locations that should be checked for new documents. @return document locations that should be checked for new d
loa-library/loa-source-service/src/main/java/com/github/bottomlessarchive/loa/source/source/DocumentLocationSource.java:17
↓ 4 callersMethodtransform
(final HitsMetadata<SearchDatabaseEntity> searchHits)
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/transformer/DocumentSearchEntityTransformer.java:18
↓ 4 callersMethodupdateStatus
Update the status of a document. @param documentId the id of the document to update the status for @param documentStatus the new status of the do
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/DocumentManipulator.java:55
↓ 4 callersMethodupload
Return an output stream that points to the space where the document's content are archived. Should be used if you want to modify the content of the do
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/location/VaultLocation.java:18
↓ 3 callersMethodaddSourceLocation
(final DocumentEntity originalDocumentEntity, final DocumentArchivingContext documentArchivingContext)
loa-library/loa-vault-service/src/main/java/com/github/bottomlessarchive/loa/vault/service/archive/ArchivingService.java:105
↓ 3 callersMethodcollectDocumentsToProcess
(final long documentCountToCollect)
loa-application/loa-downloader-application/src/main/java/com/github/bottomlessarchive/loa/downloader/service/source/beacon/service/DocumentLocationCollector.java:25
↓ 3 callersMethodcompressDocument
(final Path fileLocation)
loa-library/loa-compression-service/src/main/java/com/github/bottomlessarchive/loa/compression/service/file/FileCompressionService.java:20
↓ 3 callersMethodconvertApplicationTypeToPath
(final ApplicationType applicationType)
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/ConductorClient.java:238
↓ 3 callersMethodcountDocuments
Count the indexed documents. @return the number of the indexed documents
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/DocumentSearchClient.java:65
↓ 3 callersMethodcreateDocumentCreationContext
()
loa-library/loa-vault-service/src/test/java/com/github/bottomlessarchive/loa/vault/service/archive/ArchivingServiceTest.java:171
↓ 3 callersMethoddeleteDocumentFromBeacon
(final String beaconHost, final int beaconPort, final UUID documentId)
loa-library/loa-beacon-client-service/src/main/java/com/github/bottomlessarchive/loa/beacon/service/client/BeaconClient.java:92
↓ 3 callersMethodgetAsHttpLocation
()
loa-library/loa-conductor-domain/src/main/java/com/github/bottomlessarchive/loa/conductor/service/domain/ServiceInstanceEntity.java:70
↓ 3 callersMethodgetBeacon
()
loa-library/loa-document-service/src/main/java/com/github/bottomlessarchive/loa/document/service/domain/DocumentEntity.java:66
↓ 3 callersMethodgetConsumer
Provides a {@link ClientConsumer} for a given {@link Queue}. A new Artemis socket might be opened in the background for this. @param queue the queue
loa-library/loa-queue-artemis-service/src/main/java/com/github/bottomlessarchive/loa/queue/artemis/service/consumer/pool/QueueConsumerProvider.java:37
↓ 3 callersMethodgetInstanceOrBlock
(final ApplicationType applicationType)
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/ConductorClient.java:54
↓ 3 callersMethodgetInstances
(final ApplicationType applicationType)
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/ConductorClient.java:89
↓ 3 callersMethodgetProducer
Provides a {@link QueueProducer} for a given {@link Queue}. A new Artemis socket might be opened in the background for this. @param queue the queue t
loa-library/loa-queue-artemis-service/src/main/java/com/github/bottomlessarchive/loa/queue/artemis/service/producer/pool/QueueProducerProvider.java:38
↓ 3 callersMethodgetProperties
()
loa-library/loa-conductor-client-service/src/main/java/com/github/bottomlessarchive/loa/conductor/service/client/extension/domain/InstanceExtensionContext.java:23
↓ 3 callersMethodgetProperties
()
loa-application/loa-conductor-application/src/main/java/com/github/bottomlessarchive/loa/conductor/view/request/ServiceInstanceRefreshRequest.java:17
↓ 3 callersMethodgrabFromStaging
(final UUID documentId)
loa-library/loa-staging-client-service/src/main/java/com/github/bottomlessarchive/loa/staging/service/client/StagingClient.java:54
↓ 3 callersMethodinitializeSearchEngine
Initialize the search engine for document indexing.
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/DocumentSearchClient.java:95
↓ 3 callersMethodinsertDocument
(final DocumentDatabaseEntity documentDatabaseEntity)
loa-library/loa-document-repository/src/main/java/com/github/bottomlessarchive/loa/document/repository/DocumentRepository.java:40
↓ 3 callersMethodisDocumentInIndex
Check if the document with the provided id exists in the index. @param documentId the id of the document to check @return true if the document exists
loa-library/loa-indexer-client-service/src/main/java/com/github/bottomlessarchive/loa/indexer/service/search/DocumentSearchClient.java:81
↓ 3 callersMethodlogCounters
(final Counter... counter)
loa-library/loa-logging-service/src/main/java/com/github/bottomlessarchive/loa/logging/service/MetricLogger.java:13
next →1–100 of 716, ranked by callers