View Javadoc
1   package fr.paris.lutece.plugins.directory.modules.pdfproducerarchive.business.zipbasket.queue;
2   
3   import java.util.Locale;
4   
5   
6   /**
7    * ZipItem
8    */
9   public class ZipItem
10  {
11      private int _nIdDirectory;
12      private String[] _listIdRecord;
13      private int _nIdAdminUser;
14      private boolean _bIsLocked;
15      private Locale _locale;
16      
17      /**
18       * Get the Id of the directory
19       * @return The id of the directory
20       */
21      public int getIdDirectory( )
22      {
23          return _nIdDirectory;
24      }
25  
26      /**
27       * Set the Id of the directory
28       * @param nIdDirectory The id of the directory
29       */
30      public void setIdDirectory( int nIdDirectory )
31      {
32          this._nIdDirectory = nIdDirectory;
33      }
34  
35      /**
36       * Get the list of id record
37       * @return The list of id record
38       */
39      public String[] getListIdRecord( )
40      {
41          return _listIdRecord;
42      }
43  
44      /**
45       * Set the list of id record
46       * @param nIdRecord The list of id record
47       */
48      public void setListIdRecord( String[] listIdRecord )
49      {
50          this._listIdRecord = listIdRecord;
51      }
52  
53      /**
54       * Get the Id of the admin user
55       * @return The id of the admin user
56       */
57      public int getIdAdminUser( )
58      {
59          return _nIdAdminUser;
60      }
61  
62      /**
63       * Set the Id of the admin user
64       * @param nIdAdminUser The id of the admin user
65       */
66      public void setIdAdminUser( int nIdAdminUser )
67      {
68          this._nIdAdminUser = nIdAdminUser;
69      }
70  
71      /**
72       * Check if the item is locked or not
73       * @return True if the item is locked, false otherwise
74       */
75      public boolean isIsLocked( )
76      {
77          return _bIsLocked;
78      }
79  
80      /**
81       * Set the lock attribut of the item
82       * @param bIsLocked True if the item is locked, false otherwise
83       */
84      public void setIsLocked( boolean bIsLocked )
85      {
86          this._bIsLocked = bIsLocked;
87      }
88  
89      /**
90       * Get the locale
91       * @return The locale
92       */
93      public Locale getLocale( )
94      {
95          return _locale;
96      }
97  
98      /**
99       * Set the locale
100      * @param locale The locale
101      */
102     public void setLocale( Locale locale )
103     {
104         this._locale = locale;
105     }
106 
107 }