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 ATTRIBUTE_ICON
           
static java.lang.String ATTRIBUTE_TITLE
           
static java.lang.String TAG_CREATION_DATE
           
static java.lang.String TAG_LIST_RECORD_FIELD
           
static java.lang.String TAG_MODIFICATION_DATE
           
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
 java.sql.Timestamp getDateModification()
          return the date Modification
 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.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, java.util.List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation)
          The Xml of the record
 java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, java.util.List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation, boolean bDisplayDateModification)
          The Xml of the record
 java.lang.StringBuffer getXmlForCsvExport(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, java.util.List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation)
          The Xml of the record
 java.lang.StringBuffer getXmlForCsvExport(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, java.util.List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation, boolean bDisplayDateModification)
          The Xml of the record
 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 setDateModification(java.sql.Timestamp dateModification)
          set the date Modification
 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
 
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

ATTRIBUTE_TITLE

public static final java.lang.String ATTRIBUTE_TITLE
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_MODIFICATION_DATE

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

TAG_STATUS

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

ATTRIBUTE_ICON

public static final java.lang.String ATTRIBUTE_ICON
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

getDateModification

public java.sql.Timestamp getDateModification()
return the date Modification

Returns:
the date Modification

setDateModification

public void setDateModification(java.sql.Timestamp dateModification)
set the date Modification

Parameters:
dateModification - date Modification

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.plugins.workflowcore.business.state.State state,
                                     java.util.List<IEntry> listEntryResultSearch,
                                     boolean bDisplayTitleEntryTypeSelect,
                                     boolean bDisplayFront,
                                     boolean bDisplayExport,
                                     boolean bDisplayDateCreation)
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
bDisplayTitleEntryTypeSelect - true if template front or false if template back
bDisplayFront - true if template front or false if template back
bDisplayExport - true if it must be displayed in export
bDisplayDateCreation - true if the date creation must be displayed
Returns:
xml

getXml

public java.lang.StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                     java.util.Locale locale,
                                     boolean bWithHtmlCode,
                                     fr.paris.lutece.plugins.workflowcore.business.state.State state,
                                     java.util.List<IEntry> listEntryResultSearch,
                                     boolean bDisplayTitleEntryTypeSelect,
                                     boolean bDisplayFront,
                                     boolean bDisplayExport,
                                     boolean bDisplayDateCreation,
                                     boolean bDisplayDateModification)
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
bDisplayTitleEntryTypeSelect - true if template front or false if template back
bDisplayFront - true if template front or false if template back
bDisplayExport - true if it must be displayed in export
bDisplayDateCreation - true if the date creation must be displayed
bDisplayDateModification - true if the modification date must be displayed, false otherwise
Returns:
xml

getXmlForCsvExport

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

Parameters:
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
bDisplayTitleEntryTypeSelect - true if the title must be display for entry type select
bDisplayFront - true if template front or false if template back
bDisplayExport - true if it must be displayed in export
bDisplayDateCreation - true if the date creation must be displayed
Returns:
xml

getXmlForCsvExport

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

Parameters:
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
bDisplayTitleEntryTypeSelect - true if the title must be display for entry type select
bDisplayFront - true if template front or false if template back
bDisplayExport - true if it must be displayed in export
bDisplayDateCreation - true if the date creation must be displayed
bDisplayDateModification - true if the modification date must be displayed, false otherwise
Returns:
xml


Copyright © 2012 Mairie de Paris. All Rights Reserved.