Package | Description |
---|---|
fr.gouv.vitam.access.internal.api |
Provides module and resource interfaces and a binary data POJO for the Access Internal module.
|
fr.gouv.vitam.access.internal.core |
Provides core implementation for the Access Internal module.
|
fr.gouv.vitam.access.internal.rest |
Provides the web server application for the Access Internal module and the rest resources it uses.
|
fr.gouv.vitam.metadata.api |
Provides API classes for the Metadata module
|
fr.gouv.vitam.metadata.api.exception |
Provides exception classes used for the Metadata module.
|
fr.gouv.vitam.metadata.client |
Provides Metadata client interface, factory and implementations.
|
fr.gouv.vitam.metadata.core |
Provides
|
fr.gouv.vitam.metadata.core.database.collections |
Provides
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AccessInternalResource.getUnits(com.fasterxml.jackson.databind.JsonNode dslQuery)
gets archive units with Json query
|
com.fasterxml.jackson.databind.JsonNode |
AccessInternalModule.selectUnit(com.fasterxml.jackson.databind.JsonNode queryJson)
select Unit
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
AccessInternalModuleImpl.selectUnit(com.fasterxml.jackson.databind.JsonNode jsonQuery)
select Unit
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AccessInternalResourceImpl.getUnits(com.fasterxml.jackson.databind.JsonNode queryDsl)
get Archive Unit list by query based on identifier
|
Modifier and Type | Method and Description |
---|---|
void |
MetaData.insertObjectGroup(com.fasterxml.jackson.databind.JsonNode objectRequest)
Insert an objectGroup
|
void |
MetaData.insertUnit(com.fasterxml.jackson.databind.JsonNode insertRequest)
insert Unit
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaData.selectObjectGroupById(com.fasterxml.jackson.databind.JsonNode selectQuery,
String objectGroupId)
Search ObjectGroups by its Id and a Select Query
for this method, the roots will be filled for example request :{ |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaData.selectObjectGroupsByQuery(com.fasterxml.jackson.databind.JsonNode selectQuery)
Search ObjectGroups by Select
Select Query |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaData.selectUnitsById(com.fasterxml.jackson.databind.JsonNode selectQuery,
String unitId)
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaData.selectUnitsByQuery(com.fasterxml.jackson.databind.JsonNode selectQuery)
Search UNITs by Select
Select Query |
void |
MetaData.updateObjectGroupId(com.fasterxml.jackson.databind.JsonNode updateRequest,
String objectId)
Update an object group
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaData.updateUnitbyId(com.fasterxml.jackson.databind.JsonNode updateQuery,
String unitId)
Update UNITs by Id
UpdateMultiQuery Query for this method, the roots will be filled for example request :{ |
Modifier and Type | Class and Description |
---|---|
class |
MetadataInvalidUpdateException
MetadataInvalidUpdateException update failed in update operation in metatada
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.insertObjectGroup(com.fasterxml.jackson.databind.JsonNode insertQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.insertObjectGroup(com.fasterxml.jackson.databind.JsonNode insertQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.insertObjectGroup(com.fasterxml.jackson.databind.JsonNode insertQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.insertUnit(com.fasterxml.jackson.databind.JsonNode insertQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.insertUnit(com.fasterxml.jackson.databind.JsonNode insertQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.insertUnit(com.fasterxml.jackson.databind.JsonNode insertQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.selectObjectGroups(com.fasterxml.jackson.databind.JsonNode selectQuery)
Search objectgroups by select query (DSL)
|
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.selectObjectGroups(com.fasterxml.jackson.databind.JsonNode selectQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.selectObjectGroups(com.fasterxml.jackson.databind.JsonNode selectQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.selectObjectGrouptbyId(com.fasterxml.jackson.databind.JsonNode selectQuery,
String objectGroupId)
Search Object Group by query (DSL) and path objectGroup id
|
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.selectObjectGrouptbyId(com.fasterxml.jackson.databind.JsonNode selectQuery,
String objectGroupId) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.selectObjectGrouptbyId(com.fasterxml.jackson.databind.JsonNode selectQuery,
String objectGroupId) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.selectUnitbyId(com.fasterxml.jackson.databind.JsonNode selectQuery,
String unitId)
Search units by query (DSL) and path unit id
|
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.selectUnitbyId(com.fasterxml.jackson.databind.JsonNode selectQuery,
String unitId) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.selectUnitbyId(com.fasterxml.jackson.databind.JsonNode selectQuery,
String unitId) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.selectUnits(com.fasterxml.jackson.databind.JsonNode selectQuery)
Search units by select query (DSL)
|
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.selectUnits(com.fasterxml.jackson.databind.JsonNode selectQuery) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.selectUnits(com.fasterxml.jackson.databind.JsonNode selectQuery) |
void |
MetaDataClient.updateObjectGroupById(com.fasterxml.jackson.databind.JsonNode updateQuery,
String objectGroupId)
Update ObjectGroup
|
void |
MetaDataClientRest.updateObjectGroupById(com.fasterxml.jackson.databind.JsonNode queryUpdate,
String objectGroupId) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClient.updateUnitbyId(com.fasterxml.jackson.databind.JsonNode updateQuery,
String unitId)
Update units by query (DSL) and path unit id
|
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientRest.updateUnitbyId(com.fasterxml.jackson.databind.JsonNode updateQuery,
String unitId) |
com.fasterxml.jackson.databind.JsonNode |
MetaDataClientMock.updateUnitbyId(com.fasterxml.jackson.databind.JsonNode updateQuery,
String unitId) |
Modifier and Type | Method and Description |
---|---|
void |
MetaDataImpl.insertObjectGroup(com.fasterxml.jackson.databind.JsonNode objectGroupRequest) |
void |
MetaDataImpl.insertUnit(com.fasterxml.jackson.databind.JsonNode insertRequest) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaDataImpl.selectObjectGroupById(com.fasterxml.jackson.databind.JsonNode selectQuery,
String objectGroupId) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaDataImpl.selectObjectGroupsByQuery(com.fasterxml.jackson.databind.JsonNode selectQuery) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaDataImpl.selectUnitsById(com.fasterxml.jackson.databind.JsonNode selectQuery,
String unitId) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaDataImpl.selectUnitsByQuery(com.fasterxml.jackson.databind.JsonNode selectQuery) |
void |
MetaDataImpl.updateObjectGroupId(com.fasterxml.jackson.databind.JsonNode updateQuery,
String objectId) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
MetaDataImpl.updateUnitbyId(com.fasterxml.jackson.databind.JsonNode updateQuery,
String unitId) |
Modifier and Type | Method and Description |
---|---|
Unit |
Unit.addObjectGroup(ObjectGroup data)
Add the link 1-N between Unit and ObjectGroup (update both Unit and ObjectGroup)
|
Unit |
Unit.addUnit(Unit unit)
Add the link (N)-N between this Unit and sub Unit (update only subUnit)
|
Unit |
Unit.addUnits(List<Unit> units)
Add the link (N)-N between Unit and List of sub Units (update only subUnits)
|
MetadataDocument<E> |
MetadataDocument.delete()
Delete the current object
|
static com.mongodb.client.result.DeleteResult |
MongoDbMetadataHelper.delete(MetadataCollections collection,
org.bson.conversions.Bson condition,
int nb) |
boolean |
ElasticsearchAccessMetadata.deleteBulkOGEntriesIndexes(List<String> ids,
Integer tenantId)
deleteBulkOGEntriesIndexes
|
void |
ElasticsearchAccessMetadata.deleteBulkUnitsEntriesIndexes(List<String> ids,
Integer tenantId)
deleteBulkUnitEntriesIndexes
|
void |
ElasticsearchAccessMetadata.deleteEntryIndex(MetadataCollections collections,
Integer tenantId,
String type,
String id) |
protected Result<MetadataDocument<?>> |
DbRequest.exactDepthUnitQuery(Query realQuery,
Result<MetadataDocument<?>> previous,
int exactDepth,
Integer tenantId,
List<org.elasticsearch.search.sort.SortBuilder> sorts,
int offset,
int limit,
String scrollId,
Integer scrollTimeout)
Execute one Unit Query using exact Depth
|
Result |
DbRequest.execRequest(RequestParserMultiple requestParser,
Result<MetadataDocument<?>> defaultStartSet)
The request should be already analyzed.
|
protected Result<MetadataDocument<?>> |
DbRequest.executeQuery(RequestParserMultiple requestParser,
RequestToAbstract requestToMongodb,
int rank,
Result<MetadataDocument<?>> previous)
Execute one request
|
protected MetadataDocument<E> |
MetadataDocument.insert()
Insert the document (only for new): should not be called elsewhere
|
void |
ElasticsearchAccessMetadata.insertBulkOGEntriesIndexes(com.mongodb.client.MongoCursor<ObjectGroup> cursor,
Integer tenantId)
create indexes during Object group insert
|
protected Result<MetadataDocument<?>> |
DbRequest.lastDeleteFilterProjection(DeleteToMongodb requestToMongodb,
Result<MetadataDocument<?>> last)
Finalize the queries with last True Delete
|
protected Result<MetadataDocument<?>> |
DbRequest.lastInsertFilterProjection(InsertToMongodb requestToMongodb,
Result<MetadataDocument<?>> last,
Integer tenantId)
Finalize the queries with last True Insert
|
protected Result<MetadataDocument<?>> |
DbRequest.lastSelectFilterProjection(SelectToMongodb requestToMongodb,
Result<MetadataDocument<?>> last,
boolean checkConsistency)
Finalize the queries with last True Select
|
protected Result<MetadataDocument<?>> |
DbRequest.lastUpdateFilterProjection(UpdateToMongodb requestToMongodb,
Result<MetadataDocument<?>> last,
RequestParserMultiple requestParser)
Finalize the queries with last True Update
|
protected Result<MetadataDocument<?>> |
DbRequest.objectGroupQuery(Query realQuery,
Result<MetadataDocument<?>> previous,
Integer tenantId,
List<org.elasticsearch.search.sort.SortBuilder> sorts,
int offset,
int limit,
String scrollId,
Integer scrollTimeout)
Execute one relative Depth ObjectGroup Query
|
protected Result<MetadataDocument<?>> |
DbRequest.relativeDepthUnitQuery(Query realQuery,
Result<MetadataDocument<?>> previous,
int relativeDepth,
Integer tenantId,
List<org.elasticsearch.search.sort.SortBuilder> sorts,
int offset,
int limit,
String scrollId,
Integer scrollTimeout)
Execute one relative Depth Unit Query
|
protected Result<MetadataDocument<?>> |
DbRequest.sameDepthUnitQuery(Query realQuery,
Result<MetadataDocument<?>> previous,
Integer tenantId,
List<org.elasticsearch.search.sort.SortBuilder> sorts,
int offset,
int limit,
String scrollId,
Integer scrollTimeout)
Execute one relative Depth Unit Query
|
ObjectGroup |
ObjectGroup.save() |
abstract MetadataDocument<E> |
MetadataDocument.save()
Save the object.
|
Unit |
Unit.save() |
protected Result |
ElasticsearchAccessMetadata.search(MetadataCollections collection,
Integer tenantId,
String type,
org.elasticsearch.index.query.QueryBuilder query,
org.elasticsearch.index.query.QueryBuilder filter,
List<org.elasticsearch.search.sort.SortBuilder> sorts,
int offset,
Integer limit,
String scrollId,
Integer scrollTimeout) |
MetadataDocument<E> |
MetadataDocument.update(org.bson.conversions.Bson update)
Update the object to the database
|
static com.mongodb.client.result.UpdateResult |
MongoDbMetadataHelper.update(MetadataCollections collection,
org.bson.conversions.Bson condition,
org.bson.conversions.Bson data,
int nb) |
protected boolean |
ObjectGroup.updated() |
protected abstract boolean |
MetadataDocument.updated()
try to update the object if necessary (difference from the current value in the database)
|
protected boolean |
Unit.updated() |
Copyright © 2018 Vitam. All rights reserved.