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.resource.IExtendableResource, fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class Record
extends Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.resource.IExtendableResource

class Record


Field Summary
static String ATTRIBUTE_ICON
           
static String ATTRIBUTE_TITLE
           
static String EXTENDABLE_RESOURCE_TYPE
           
static String TAG_CREATION_DATE
           
static String TAG_LIST_RECORD_FIELD
           
static String TAG_MODIFICATION_DATE
           
static String TAG_RECORD_FIELD
           
static String TAG_RECORD_FIELD_VALUE
           
static String TAG_STATUS
           
static String WORKFLOW_RESOURCE_TYPE
           
 
Constructor Summary
Record()
           
 
Method Summary
 List<DirectoryAction> getActions()
           
 Timestamp getDateCreation()
          return the date creation
 Timestamp getDateModification()
          return the date Modification
 Directory getDirectory()
           
 String getExtendableResourceDescription()
          
 String getExtendableResourceImageUrl()
          
 String getExtendableResourceName()
          
 String getExtendableResourceType()
          
 String getIdExtendableResource()
          
 int getIdRecord()
          return the id of the record
 List<RecordField> getListRecordField()
           
 String getRoleKey()
          Gets the record role
 String getWorkgroup()
           
 StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation)
          The Xml of the record
 StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation, boolean bDisplayDateModification)
          The Xml of the record
 StringBuffer getXmlForCsvExport(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation)
          The Xml of the record
 StringBuffer getXmlForCsvExport(fr.paris.lutece.portal.service.plugin.Plugin plugin, Locale locale, boolean bWithHtmlCode, fr.paris.lutece.plugins.workflowcore.business.state.State state, List<IEntry> listEntryResultSearch, boolean bDisplayTitleEntryTypeSelect, boolean bDisplayFront, boolean bDisplayExport, boolean bDisplayDateCreation, boolean bDisplayDateModification)
          The Xml of the record
 boolean isEnabled()
           
 void setActions(List<DirectoryAction> listAction)
          set the list of record field associate to the record
 void setDateCreation(Timestamp dateCreation)
          set the date creation
 void setDateModification(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(List<RecordField> listRecordField)
          set the list of record field associate to the record
 void setRoleKey(String strRole)
          Sets the directory's role
 void setWorkgroup(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 String WORKFLOW_RESOURCE_TYPE
See Also:
Constant Field Values

EXTENDABLE_RESOURCE_TYPE

public static final String EXTENDABLE_RESOURCE_TYPE
See Also:
Constant Field Values

ATTRIBUTE_TITLE

public static final String ATTRIBUTE_TITLE
See Also:
Constant Field Values

TAG_LIST_RECORD_FIELD

public static final String TAG_LIST_RECORD_FIELD
See Also:
Constant Field Values

TAG_RECORD_FIELD

public static final String TAG_RECORD_FIELD
See Also:
Constant Field Values

TAG_RECORD_FIELD_VALUE

public static final String TAG_RECORD_FIELD_VALUE
See Also:
Constant Field Values

TAG_CREATION_DATE

public static final String TAG_CREATION_DATE
See Also:
Constant Field Values

TAG_MODIFICATION_DATE

public static final String TAG_MODIFICATION_DATE
See Also:
Constant Field Values

TAG_STATUS

public static final String TAG_STATUS
See Also:
Constant Field Values

ATTRIBUTE_ICON

public static final 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 Timestamp getDateCreation()
return the date creation

Returns:
the date creation

setDateCreation

public void setDateCreation(Timestamp dateCreation)
set the date creation

Parameters:
dateCreation - date creation

getDateModification

public Timestamp getDateModification()
return the date Modification

Returns:
the date Modification

setDateModification

public void setDateModification(Timestamp dateModification)
set the date Modification

Parameters:
dateModification - date Modification

getListRecordField

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

setActions

public void setActions(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 List<DirectoryAction> getActions()
Returns:
the list of field associate to the record

setListRecordField

public void setListRecordField(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 String getRoleKey()
Gets the record role

Returns:
recors's role as a String

setRoleKey

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

Parameters:
strRole - The role

getWorkgroup

public 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(String workGroup)
set the work group associate to the record

Parameters:
workGroup - the work group associate to the record

getXml

public StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                           Locale locale,
                           boolean bWithHtmlCode,
                           fr.paris.lutece.plugins.workflowcore.business.state.State state,
                           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 StringBuffer getXml(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                           Locale locale,
                           boolean bWithHtmlCode,
                           fr.paris.lutece.plugins.workflowcore.business.state.State state,
                           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 StringBuffer getXmlForCsvExport(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                       Locale locale,
                                       boolean bWithHtmlCode,
                                       fr.paris.lutece.plugins.workflowcore.business.state.State state,
                                       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 StringBuffer getXmlForCsvExport(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                       Locale locale,
                                       boolean bWithHtmlCode,
                                       fr.paris.lutece.plugins.workflowcore.business.state.State state,
                                       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

getIdExtendableResource

public String getIdExtendableResource()

Specified by:
getIdExtendableResource in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceType

public String getExtendableResourceType()

Specified by:
getExtendableResourceType in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceName

public String getExtendableResourceName()

Specified by:
getExtendableResourceName in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceDescription

public String getExtendableResourceDescription()

Specified by:
getExtendableResourceDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResource

getExtendableResourceImageUrl

public String getExtendableResourceImageUrl()

Specified by:
getExtendableResourceImageUrl in interface fr.paris.lutece.portal.service.resource.IExtendableResource


Copyright © 2013 Mairie de Paris. All Rights Reserved.