* @version $Revision$
*****************************************************************************/
-package org.splat.service;
+package org.splat.service;
+
+import org.splat.dal.bo.som.Document;
+import org.splat.dal.bo.som.Publication;
+import org.splat.dal.bo.som.Document.Properties;
+import org.splat.kernel.InvalidPropertyException;
+import org.splat.kernel.MissedPropertyException;
+import org.splat.kernel.NotApplicableException;
+import org.splat.som.Step;
/**
* @author RKV
- *
+ *
*/
public interface DocumentService {
+ /**
+ * Defines this document.
+ *
+ * @param dprop
+ * the properties of the document
+ *
+ * @see Step#createDocument(Properties)
+ * @see #isUndefined()
+ */
+ public void initialize(Document aDoc, Properties dprop)
+ throws MissedPropertyException, InvalidPropertyException,
+ NotApplicableException;
+
+ public void generateDocumentId(Document aDoc, Properties dprop);
}