comparison artifacts/src/main/java/org/dive4elements/artifacts/Artifact.java @ 513:69f99bdf3d65

Use a list of "static" facets loaded from configuration to generate facets on artifact setup.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 30 Apr 2014 15:05:54 +0200
parents ff79b8df9aa6
children
comparison
equal deleted inserted replaced
512:ff79b8df9aa6 513:69f99bdf3d65
9 package org.dive4elements.artifacts; 9 package org.dive4elements.artifacts;
10 10
11 import java.io.IOException; 11 import java.io.IOException;
12 import java.io.OutputStream; 12 import java.io.OutputStream;
13 import java.io.Serializable; 13 import java.io.Serializable;
14 import java.util.List;
14 15
15 import org.w3c.dom.Document; 16 import org.w3c.dom.Document;
16 17
17 /** 18 /**
18 * Interface of the core component of the artifact system: <strong>The artifact</strong>. 19 * Interface of the core component of the artifact system: <strong>The artifact</strong>.
142 public void setup( 143 public void setup(
143 String identifier, 144 String identifier,
144 ArtifactFactory factory, 145 ArtifactFactory factory,
145 Object context, 146 Object context,
146 CallMeta callMeta, 147 CallMeta callMeta,
147 Document data); 148 Document data,
149 List<Class> facets);
148 150
149 /** 151 /**
150 * Called from artifact database when an artifact is 152 * Called from artifact database when an artifact is
151 * going to be removed from system. 153 * going to be removed from system.
152 * @param context The global context of the runtime system. 154 * @param context The global context of the runtime system.

http://dive4elements.wald.intevation.org