Salome HOME
Logger is changed to AppLogger
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / DocumentService.java
1 /*****************************************************************************
2  * Company         EURIWARE
3  * Application     SIMAN
4  * File            $Id$ 
5  * Creation date   06.10.2012
6  * @author         $Author$
7  * @version        $Revision$
8  *****************************************************************************/
9
10 package org.splat.service;
11
12 import org.splat.dal.bo.som.Document;
13 import org.splat.dal.bo.som.Publication;
14 import org.splat.dal.bo.som.Document.Properties;
15 import org.splat.kernel.InvalidPropertyException;
16 import org.splat.kernel.MissedPropertyException;
17 import org.splat.kernel.NotApplicableException;
18 import org.splat.som.Step;
19
20 /**
21  * @author RKV
22  * 
23  */
24 public interface DocumentService {
25
26         /**
27          * Defines this document.
28          * 
29          * @param dprop
30          *            the properties of the document
31          * 
32          * @see Step#createDocument(Properties)
33          * @see #isUndefined()
34          */
35         public void initialize(Document aDoc, Properties dprop)
36                         throws MissedPropertyException, InvalidPropertyException,
37                         NotApplicableException;
38
39         public void generateDocumentId(Document aDoc, Properties dprop);
40 }