Mercurial > dive4elements > framework
view artifact-database/src/main/java/org/dive4elements/artifactdatabase/BackendListener.java @ 554:673d3bf7eb11
Fixed: maven version not specified, leads to warning during build.
author | gernotbelger |
---|---|
date | Wed, 13 Jun 2018 15:36:06 +0200 |
parents | 415df0fc4fa1 |
children |
line wrap: on
line source
package org.dive4elements.artifactdatabase; import java.util.List; import org.dive4elements.artifacts.Artifact; import org.dive4elements.artifacts.ArtifactCollection; import org.dive4elements.artifacts.GlobalContext; import org.dive4elements.artifacts.User; import org.w3c.dom.Document; public interface BackendListener { void setup(GlobalContext globalContext); void createdArtifact(Artifact artifact, Backend backend); void storedArtifact(Artifact artifact, Backend backend); void createdUser(User user, Backend backend); void deletedUser(String identifier, Backend backend); void createdCollection(ArtifactCollection collection, Backend backend); void deletedCollection(String identifier, Backend backend); void changedCollectionAttribute( String identifier, Document document, Backend backend); void changedCollectionItemAttribute( String collectionId, String artifactId, Document document, Backend backend); void addedArtifactToCollection( String artifactId, String collectionId, Backend backend); void removedArtifactFromCollection( String artifactId, String collectionId, Backend backend); void setCollectionName( String collectionId, String name); void killedCollections( List<String> identifiers, Backend backend); void killedArtifacts( List<String> identifiers, Backend backend); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :