public class Record extends Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource, fr.paris.lutece.portal.service.resource.IExtendableResource
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
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,
boolean bDisplayDateModification,
Map<Integer,Field> mapFieldEntry)
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,
Map<Integer,Field> mapFieldEntry)
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,
Map<Integer,Field> mapFieldEntry)
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,
Map<Integer,Field> mapFieldEntry)
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
|
public static final String WORKFLOW_RESOURCE_TYPE
public static final String EXTENDABLE_RESOURCE_TYPE
public static final String ATTRIBUTE_TITLE
public static final String TAG_LIST_RECORD_FIELD
public static final String TAG_RECORD_FIELD
public static final String TAG_RECORD_FIELD_VALUE
public static final String TAG_CREATION_DATE
public static final String TAG_MODIFICATION_DATE
public static final String TAG_STATUS
public static final String ATTRIBUTE_ICON
public Directory getDirectory()
public void setDirectory(Directory directory)
directory
- the directory associate to the recordpublic int getIdRecord()
public void setIdRecord(int idRecord)
idRecord
- the id of the recordpublic Timestamp getDateCreation()
public void setDateCreation(Timestamp dateCreation)
dateCreation
- date creationpublic Timestamp getDateModification()
public void setDateModification(Timestamp dateModification)
dateModification
- date Modificationpublic List<RecordField> getListRecordField()
public void setActions(List<DirectoryAction> listAction)
listAction
- the list of response associate to the form submitpublic List<DirectoryAction> getActions()
public void setListRecordField(List<RecordField> listRecordField)
listRecordField
- the list of response associate to the form submitpublic boolean isEnabled()
public void setEnabled(boolean enable)
enable
- true if the record is enabledpublic String getRoleKey()
public void setRoleKey(String strRole)
strRole
- The rolepublic String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setWorkgroup(String workGroup)
workGroup
- the work group associate to the recordpublic 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, Map<Integer,Field> mapFieldEntry)
plugin
- the pluginlocale
- the localebWithHtmlCode
- true if the xml must contain html codestate
- the state of the recordlistEntryResultSearch
- the list of entry to displaybDisplayTitleEntryTypeSelect
- true if template front or false if template backbDisplayFront
- true if template front or false if template backbDisplayExport
- true if it must be displayed in exportbDisplayDateCreation
- true if the date creation must be displayedmapFieldEntry
- a map containing all fields associated to the list of entrypublic 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, Map<Integer,Field> mapFieldEntry)
plugin
- the pluginlocale
- the localebWithHtmlCode
- true if the xml must contain html codestate
- the state of the recordlistEntryResultSearch
- the list of entry to displaybDisplayTitleEntryTypeSelect
- true if template front or false if template backbDisplayFront
- true if template front or false if template backbDisplayExport
- true if it must be displayed in exportbDisplayDateCreation
- true if the date creation must be displayedbDisplayDateModification
- true if the modification date must be displayed, false otherwisemapFieldEntry
- a map containing all fields associated to the list of entrypublic 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, Map<Integer,Field> mapFieldEntry)
plugin
- the pluginlocale
- the localebWithHtmlCode
- true if the xml must contain html codestate
- the state of the recordlistEntryResultSearch
- the list of entry to displaybDisplayTitleEntryTypeSelect
- true if the title must be display for entry type selectbDisplayFront
- true if template front or false if template backbDisplayExport
- true if it must be displayed in exportbDisplayDateCreation
- true if the date creation must be displayedmapFieldEntry
- a map containing all fields associated to the list of entrypublic 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, Map<Integer,Field> mapFieldEntry)
plugin
- the pluginlocale
- the localebWithHtmlCode
- true if the xml must contain html codestate
- the state of the recordlistEntryResultSearch
- the list of entry to displaybDisplayTitleEntryTypeSelect
- true if the title must be display for entry type selectbDisplayFront
- true if template front or false if template backbDisplayExport
- true if it must be displayed in exportbDisplayDateCreation
- true if the date creation must be displayedbDisplayDateModification
- true if the modification date must be displayed, false otherwisemapFieldEntry
- a map containing all fields associated to the list of entrypublic String getIdExtendableResource()
getIdExtendableResource
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceType()
getExtendableResourceType
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceName()
getExtendableResourceName
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceDescription()
getExtendableResourceDescription
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceImageUrl()
getExtendableResourceImageUrl
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
Copyright © 2020 City of Paris. All rights reserved.