This project has retired. For details please refer to its Attic page.
DatabaseUpdater

org.apache.maven.archiva.database.updater
Interface DatabaseUpdater

Package class diagram package DatabaseUpdater
All Known Implementing Classes:
JdoDatabaseUpdater

public interface DatabaseUpdater

The database update component.


Method Summary
 void update()
          Execute the updateAllUnprocessed() and updateAllProcessed() tasks in one go.
 void updateAllProcessed()
          Update all previously processed content.
 void updateAllUnprocessed()
          Update all unprocessed content.
 void updateProcessed(ArchivaArtifact artifact)
          Update specific processed content.
 void updateUnprocessed(ArchivaArtifact artifact)
          Update specific unprocessed content.
 

Method Detail

update

void update()
            throws ArchivaDatabaseException
Execute the updateAllUnprocessed() and updateAllProcessed() tasks in one go.

Throws:
ArchivaDatabaseException

updateAllUnprocessed

void updateAllUnprocessed()
                          throws ArchivaDatabaseException
Update all unprocessed content.

Throws:
ArchivaDatabaseException - if there was a fatal error with the database.

updateUnprocessed

void updateUnprocessed(ArchivaArtifact artifact)
                       throws ArchivaDatabaseException
Update specific unprocessed content.

Throws:
ArchivaDatabaseException - if there was a fatal error with the database.

updateAllProcessed

void updateAllProcessed()
                        throws ArchivaDatabaseException
Update all previously processed content. This is done to allow archiva to remove content from the database that may have been removed from the filesystem too.

Throws:
ArchivaDatabaseException - if there was a fatal error with the database.

updateProcessed

void updateProcessed(ArchivaArtifact artifact)
                     throws ArchivaDatabaseException
Update specific processed content. Example: This is done to allow a specific artifact to be removed from the database if it no longer exists on the filesystem.

Throws:
ArchivaDatabaseException - if there was a fatal error with the database.