fr.paris.lutece.plugins.directory.business
Class Record

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.Record

public class Record
extends java.lang.Object

class Record


Constructor Summary
Record()
           
 
Method Summary
 java.sql.Timestamp getDateCreation()
          return the date creation
 Directory getDirectory()
           
 int getIdRecord()
          return the id of the record
 java.util.List<RecordField> getListRecordField()
           
 java.lang.String getRoleKey()
          Gets the record role
 java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, boolean bWithHtmlCode)
          The Xml of the record
 boolean isEnabled()
           
 void setDateCreation(java.sql.Timestamp dateCreation)
          set the date creation
 void setDirectory(Directory directory)
          set the directory associate to the record
 void setEnabled(boolean enable)
          set true if the record is enabled
 void setIdRecord(int idRecord)
          set the id of the record
 void setListRecordField(java.util.List<RecordField> listRecordField)
          set the list of record field associate to the record
 void setRoleKey(java.lang.String strRole)
          Sets the directory's role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Record

public Record()
Method Detail

getDirectory

public Directory getDirectory()
Returns:
the directory associate to the record

setDirectory

public void setDirectory(Directory directory)
set the directory associate to the record

Parameters:
directory - the directory associate to the record

getIdRecord

public int getIdRecord()
return the id of the record

Returns:
the id of the record

setIdRecord

public void setIdRecord(int idRecord)
set the id of the record

Parameters:
idRecord - the id of the record

getDateCreation

public java.sql.Timestamp getDateCreation()
return the date creation

Returns:
the date creation

setDateCreation

public void setDateCreation(java.sql.Timestamp dateCreation)
set the date creation

Parameters:
dateCreation - date creation

getListRecordField

public java.util.List<RecordField> getListRecordField()
Returns:
the list of field associate to the record

setListRecordField

public void setListRecordField(java.util.List<RecordField> listRecordField)
set the list of record field associate to the record

Parameters:
listRecordField - the list of response associate to the form submit

isEnabled

public boolean isEnabled()
Returns:
true if the record is enabled

setEnabled

public void setEnabled(boolean enable)
set true if the record is enabled

Parameters:
enable - true if the record is enabled

getRoleKey

public java.lang.String getRoleKey()
Gets the record role

Returns:
recors's role as a String

setRoleKey

public void setRoleKey(java.lang.String strRole)
Sets the directory's role

Parameters:
strRole - The role

getXml

public java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                     java.util.Locale locale,
                                     boolean bWithHtmlCode)
The Xml of the record

Parameters:
plugin - plugin
locale - loclae
bWithHtmlCode - true if the xml should contains html code
Returns:
xml


Copyright © 2009 Mairie de Paris. All Rights Reserved.