fr.paris.lutece.plugins.document.modules.export.dto.exportdocument
Class ExportUserDocumentDTO

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.export.dto.exportdocument.ExportUserDocumentDTO

public class ExportUserDocumentDTO
extends java.lang.Object

A document's DTO


Field Summary
static java.lang.String RESOURCE_TYPE
           
 
Constructor Summary
ExportUserDocumentDTO(fr.paris.lutece.plugins.document.business.Document document)
          Contructor from Document
 
Method Summary
 java.lang.String getDateCreation()
          Returns the DateCreation
 java.lang.String getDateModification()
          Returns the Date of the last Modification
 java.lang.String getDateValidityBegin()
          Returns the begining Date of the validity period of the document
 java.lang.String getDateValidityEnd()
          Returns the end Date of the validity period of the document
 int getId()
          Returns the IdDocument
 java.lang.String getSpacePath()
          Returns the Space Path
 java.lang.String getState()
          Returns the State
 java.lang.String getStateKey()
          Returns the State
 java.lang.String getTitle()
          Returns the Title
 java.lang.String getType()
          Returns the Type
 void setDateCreation(java.lang.String dateCreation)
          Sets the DateCreation
 void setDateCreation(java.sql.Timestamp dateCreation)
          Sets the DateCreation
 void setDateModification(java.lang.String dateModification)
          Sets the Date of the last Modification
 void setDateModification(java.sql.Timestamp dateModification)
          Sets the Date of the last Modification
 void setDateValidityBegin(java.lang.String dateValidityBegin)
          Sets the begining Date of the validity period of the document
 void setDateValidityBegin(java.sql.Timestamp dateValidityBegin)
          Sets the begining Date of the validity period of the document
 void setDateValidityEnd(java.lang.String dateValidityEnd)
          Sets the end Date of the validity period of the document
 void setDateValidityEnd(java.sql.Timestamp dateValidityEnd)
          Sets the end Date of the validity period of the document
 void setId(int nIdDocument)
          Sets the IdDocument
 void setSpacePath(java.lang.String strSpacePath)
          Sets the Space Path
 void setStateKey(java.lang.String strState)
          Sets the State
 void setTitle(java.lang.String strTitle)
          Sets the Title
 void setType(java.lang.String strType)
          Sets the Type
 java.lang.String[] toTabString()
          provides the parameters of the class in String array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values
Constructor Detail

ExportUserDocumentDTO

public ExportUserDocumentDTO(fr.paris.lutece.plugins.document.business.Document document)
Contructor from Document

Parameters:
document - the document
Method Detail

toTabString

public java.lang.String[] toTabString()
provides the parameters of the class in String array

Returns:
String array

getId

public int getId()
Returns the IdDocument

Returns:
The IdDocument

setId

public void setId(int nIdDocument)
Sets the IdDocument

Parameters:
nIdDocument - The IdDocument

getTitle

public java.lang.String getTitle()
Returns the Title

Returns:
The Title

setTitle

public void setTitle(java.lang.String strTitle)
Sets the Title

Parameters:
strTitle - The Title

getDateCreation

public java.lang.String getDateCreation()
Returns the DateCreation

Returns:
The DateCreation

setDateCreation

public void setDateCreation(java.lang.String dateCreation)
Sets the DateCreation

Parameters:
dateCreation - The DateCreation

setDateCreation

public final void setDateCreation(java.sql.Timestamp dateCreation)
Sets the DateCreation

Parameters:
dateCreation - The DateCreation

getDateModification

public java.lang.String getDateModification()
Returns the Date of the last Modification

Returns:
The Date of the last Modification

setDateModification

public void setDateModification(java.lang.String dateModification)
Sets the Date of the last Modification

Parameters:
dateModification - The Date of the last Modification

setDateModification

public final void setDateModification(java.sql.Timestamp dateModification)
Sets the Date of the last Modification

Parameters:
dateModification - The Date of the last Modification

getDateValidityBegin

public java.lang.String getDateValidityBegin()
Returns the begining Date of the validity period of the document

Returns:
The begining Date of the validity period of the document

setDateValidityBegin

public void setDateValidityBegin(java.lang.String dateValidityBegin)
Sets the begining Date of the validity period of the document

Parameters:
dateValidityBegin - The begining Date of the validity period of the document

setDateValidityBegin

public final void setDateValidityBegin(java.sql.Timestamp dateValidityBegin)
Sets the begining Date of the validity period of the document

Parameters:
dateValidityBegin - The begining Date of the validity period of the document

getDateValidityEnd

public java.lang.String getDateValidityEnd()
Returns the end Date of the validity period of the document

Returns:
The end Date of the validity period of the document

setDateValidityEnd

public void setDateValidityEnd(java.lang.String dateValidityEnd)
Sets the end Date of the validity period of the document

Parameters:
dateValidityEnd - The end Date of the validity period of the document

setDateValidityEnd

public final void setDateValidityEnd(java.sql.Timestamp dateValidityEnd)
Sets the end Date of the validity period of the document

Parameters:
dateValidityEnd - The end Date of the validity period of the document

getStateKey

public java.lang.String getStateKey()
Returns the State

Returns:
The State

getState

public java.lang.String getState()
Returns the State

Returns:
The State

setStateKey

public void setStateKey(java.lang.String strState)
Sets the State

Parameters:
strState - The State

getType

public java.lang.String getType()
Returns the Type

Returns:
The Type

setType

public void setType(java.lang.String strType)
Sets the Type

Parameters:
strType - The Type

getSpacePath

public java.lang.String getSpacePath()
Returns the Space Path

Returns:
The Space Path

setSpacePath

public void setSpacePath(java.lang.String strSpacePath)
Sets the Space Path

Parameters:
strSpacePath - The Space Path


Copyright © 2011 Mairie de Paris. All Rights Reserved.