Commit 86035154 authored by Alexis Ragot's avatar Alexis Ragot
Browse files

Merge branch 'hotfix/2.2.3' into 'master'

Hotfix/2.2.3

See merge request !113
parents 6e48ad4f 7aa76c54
......@@ -243,7 +243,6 @@ class archive
|| ($currentService->registrationNumber === $archive->archiverOrgRegNumber
&& in_array('archiver', $currentService->orgRoleCodes)))
&& $hasModificationMetadata
&& $archive->messages[0]->schema != 'seda2'
&& $archive->descriptionClass != "recordsManagement/log"
&& $archive->status === "preserved"
&& $publicArchives) {
......
......@@ -45,15 +45,6 @@ interface lifeCycleJournalInterface
*/
public function readJournals($eventType = false, $objectClass = false, $objectId = false, $minDate = false, $maxDate = false);
/**
* Check integrity of log
* @param string $archiveId
*
* @uses lifeCycle/journal/checkIntegrity
* @return recordsManagement/log/checkIntegrity
*/
public function readJournal_journalId_Checkintegrity($archiveId);
/**
* Get the current journal
* @param id $journalId The identifier of the journal
......
......@@ -45,4 +45,30 @@ interface searchLogArchiveInterface
* @uses recordsManagement/log/contents_type__archiveId__resourceId_
*/
public function readLogContents_type__archiveId__resourceId_();
/**
* Check integrity of log
* @param string $archiveId
*
* @uses lifeCycle/journal/checkIntegrity
* @return recordsManagement/log/checkIntegrity
*/
public function readJournal_journalId_Checkintegrity($archiveId);
/**
* View the archive
*
* @return recordsManagement/archive/getDescription The recordsManagement/archive object
* @uses recordsManagement/archiveDescription/read_archiveId_
*/
public function readRecordsmanagementArchivedescription_archiveId_();
/**
* Retrieve an archive content document (CDO)
*
* @return recordsManagement/archive/getContents
*
* @uses recordsManagement/archive/readConsultation_archiveId_Digitalresource_resId_
*/
public function readRecordsmanagementContents_archiveId__resId_();
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment