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

org.apache.maven.archiva.database.updater
Class JdoDatabaseUpdater

Package class diagram package JdoDatabaseUpdater
java.lang.Object
  extended by org.apache.maven.archiva.database.updater.JdoDatabaseUpdater
All Implemented Interfaces:
DatabaseUpdater

public class JdoDatabaseUpdater
extends java.lang.Object
implements DatabaseUpdater

JdoDatabaseUpdater


Constructor Summary
JdoDatabaseUpdater()
           
 
Method Summary
 void update()
          Execute the DatabaseUpdater.updateAllUnprocessed() and DatabaseUpdater.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdoDatabaseUpdater

public JdoDatabaseUpdater()
Method Detail

update

public void update()
            throws ArchivaDatabaseException
Description copied from interface: DatabaseUpdater
Execute the DatabaseUpdater.updateAllUnprocessed() and DatabaseUpdater.updateAllProcessed() tasks in one go.

Specified by:
update in interface DatabaseUpdater
Throws:
ArchivaDatabaseException

updateAllUnprocessed

public void updateAllUnprocessed()
                          throws ArchivaDatabaseException
Description copied from interface: DatabaseUpdater
Update all unprocessed content.

Specified by:
updateAllUnprocessed in interface DatabaseUpdater
Throws:
ArchivaDatabaseException - if there was a fatal error with the database.

updateAllProcessed

public void updateAllProcessed()
                        throws ArchivaDatabaseException
Description copied from interface: DatabaseUpdater
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.

Specified by:
updateAllProcessed in interface DatabaseUpdater
Throws:
ArchivaDatabaseException - if there was a fatal error with the database.

updateUnprocessed

public void updateUnprocessed(ArchivaArtifact artifact)
                       throws ArchivaDatabaseException
Description copied from interface: DatabaseUpdater
Update specific unprocessed content.

Specified by:
updateUnprocessed in interface DatabaseUpdater
Throws:
ArchivaDatabaseException - if there was a fatal error with the database.

updateProcessed

public void updateProcessed(ArchivaArtifact artifact)
                     throws ArchivaDatabaseException
Description copied from interface: DatabaseUpdater
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.

Specified by:
updateProcessed in interface DatabaseUpdater
Throws:
ArchivaDatabaseException - if there was a fatal error with the database.