View Javadoc
1   package fr.paris.lutece.plugins.htmldocs.business;
2   
3   
4   /**
5    *
6    * IndexerAction
7    *
8    */
9   public class IndexerAction
10  {
11      /**
12       * Add a document to the index
13       */
14      public static final int TASK_CREATE = 1;
15  
16      /**
17       * Update a document of the index
18       */
19      public static final int TASK_MODIFY = 2;
20  
21      /**
22       * Remove a document from the index
23       */
24      public static final int TASK_DELETE = 3;
25      private int _nIdAction;
26      private int _nIdTask;
27      private int _nIdHtmldoc;
28  
29      /**
30       * gets the action id
31       * @return the action id
32       */
33      public int getIdAction(  )
34      {
35          return _nIdAction;
36      }
37  
38      /**
39       * set the action id
40       * @param nIdAction idAction
41       */
42      public void setIdAction( int nIdAction )
43      {
44          _nIdAction = nIdAction;
45      }
46  
47      /**
48       * gets announce id
49       * @return the record Id
50       */
51      public int getIdHtmldoc(  )
52      {
53          return _nIdHtmldoc;
54      }
55  
56      /**
57       * set the IdHtmldoc
58       * @param nIdHtmldocrecord if
59       */
60      public void setIdHtmldoc( int nIdHtmldoc )
61      {
62      	_nIdHtmldoc = nIdHtmldoc;
63      }
64  
65      /**
66       * get the task id
67       * @return the task id
68       */
69      public int getIdTask(  )
70      {
71          return _nIdTask;
72      }
73  
74      /**
75       * set the task id
76       * @param nIdTask the task id
77       */
78      public void setIdTask( int nIdTask )
79      {
80          _nIdTask = nIdTask;
81      }
82  }