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

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.Record
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class Record
extends java.lang.Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

class Record


Field Summary
static java.lang.String TAG_CREATION_DATE
           
static java.lang.String TAG_LIST_RECORD_FIELD
           
static java.lang.String TAG_RECORD_FIELD
           
static java.lang.String TAG_RECORD_FIELD_VALUE
           
static java.lang.String TAG_STATUS
           
static java.lang.String WORKFLOW_RESOURCE_TYPE
           
 
Constructor Summary
Record()
           
 
Method Summary
 java.util.List<DirectoryAction> getActions()
           
 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.String getWorkgroup()
           
 java.lang.Double getX()
          Returns the X
 java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, boolean bWithHtmlCode, fr.paris.lutece.portal.business.workflow.State state, java.util.List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport)
          The Xml of the record
 java.lang.Double getY()
          Returns the Y (lattitude)
 boolean isEnabled()
           
 void setActions(java.util.List<DirectoryAction> listAction)
          set the list of record field associate to the record
 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
 void setWorkgroup(java.lang.String workGroup)
          set the work group associate to the record
 void setX(java.lang.Double fltX)
          Sets the X
 void setY(java.lang.Double fltY)
          Sets the Y (lattitude)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WORKFLOW_RESOURCE_TYPE

public static final java.lang.String WORKFLOW_RESOURCE_TYPE
See Also:
Constant Field Values

TAG_LIST_RECORD_FIELD

public static final java.lang.String TAG_LIST_RECORD_FIELD
See Also:
Constant Field Values

TAG_RECORD_FIELD

public static final java.lang.String TAG_RECORD_FIELD
See Also:
Constant Field Values

TAG_RECORD_FIELD_VALUE

public static final java.lang.String TAG_RECORD_FIELD_VALUE
See Also:
Constant Field Values

TAG_CREATION_DATE

public static final java.lang.String TAG_CREATION_DATE
See Also:
Constant Field Values

TAG_STATUS

public static final java.lang.String TAG_STATUS
See Also:
Constant Field Values
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

setActions

public void setActions(java.util.List<DirectoryAction> listAction)
set the list of record field associate to the record

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

getActions

public java.util.List<DirectoryAction> getActions()
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

getWorkgroup

public java.lang.String getWorkgroup()
Specified by:
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Returns:
the work group associate to the record

setWorkgroup

public void setWorkgroup(java.lang.String workGroup)
set the work group associate to the record

Parameters:
workGroup - the work group associate to the record

getXml

public java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                     java.util.Locale locale,
                                     boolean bWithHtmlCode,
                                     fr.paris.lutece.portal.business.workflow.State state,
                                     java.util.List<IEntry> listEntryResultSearch,
                                     boolean bDisplayTitleEntryTypeSelect,
                                     boolean bDisplayFront,
                                     boolean bDisplayExport)
The Xml of the record

Parameters:
record - the record
plugin - the plugin
locale - the locale
bWithHtmlCode - true if the xml must contain html code like
state - the state of the record
listEntryResultSearch - the list of entry to display
true - if template front or false if template back
Returns:
xml

getX

public java.lang.Double getX()
Returns the X

Returns:
the _fltX

setX

public void setX(java.lang.Double fltX)
Sets the X

Parameters:
fltX - the _fltX to set

getY

public java.lang.Double getY()
Returns the Y (lattitude)

Returns:
the _fltY

setY

public void setY(java.lang.Double fltY)
Sets the Y (lattitude)

Parameters:
fltY - the _fltY to set


Copyright © 2009 Mairie de Paris. All Rights Reserved.