public class Field extends Object implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_FIELD_ID |
static String |
ATTRIBUTE_FIELD_TITLE |
Constructor and Description |
---|
Field() |
Modifier and Type | Method and Description |
---|---|
IEntry |
getEntry() |
int |
getHeight() |
int |
getIdField() |
String |
getImageType()
Gets the field ImageType
|
int |
getMaxSizeEnter() |
int |
getPosition() |
List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> |
getRegularExpressionList() |
String |
getRoleKey()
Gets the field role
|
String |
getTitle() |
String |
getValue() |
Date |
getValueTypeDate() |
int |
getWidth() |
String |
getWorkgroup() |
boolean |
isDefaultValue() |
boolean |
isShownInResultList() |
boolean |
isShownInResultRecord() |
void |
setDefaultValue(boolean defaultValue)
set true if the field is a default field of the entry
|
void |
setEntry(IEntry entry)
set the entry of the field
|
void |
setHeight(int height)
set the height of the field
|
void |
setIdField(int idField)
set the id of the field
|
void |
setImageType(String strImageType)
Sets the field's ImageType
|
void |
setMaxSizeEnter(int maxSizeEnter)
set the max size of enter user
|
void |
setPosition(int position)
set the position of the field in the list of the entry's fields
|
void |
setRegularExpressionList(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
set a list of regular expression which is associate to the field
|
void |
setRoleKey(String strRole)
Sets the field's role
|
void |
setShownInResultList(boolean bShown)
set true if the field is shown in result list
|
void |
setShownInResultRecord(boolean bShown)
set true if the field is shown in result record
|
void |
setTitle(String title)
set the title of the field
|
void |
setValue(String value)
set the value of the field
|
void |
setValueTypeDate(Date defaultValueTypeDate)
set the value of type Date
|
void |
setWidth(int width)
set the width of the field
|
void |
setWorkgroup(String workGroup)
set the work group associate to the field
|
public static final String ATTRIBUTE_FIELD_TITLE
public static final String ATTRIBUTE_FIELD_ID
public int getIdField()
public void setIdField(int idField)
idField
- the id of the fieldpublic int getPosition()
public void setPosition(int position)
position
- the position of the field in the list of fieldspublic IEntry getEntry()
public void setEntry(IEntry entry)
entry
- the entry of the fieldpublic List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
public void setRegularExpressionList(List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
regularExpressionList
- a list of regular expression which is associate to the fieldpublic String getTitle()
public void setTitle(String title)
title
- the title of the fieldpublic String getValue()
public void setValue(String value)
value
- the value of the fieldpublic int getWidth()
public void setWidth(int width)
width
- the width of the fieldpublic int getHeight()
public void setHeight(int height)
height
- the height of the fieldpublic boolean isDefaultValue()
public void setDefaultValue(boolean defaultValue)
defaultValue
- true if the field is a default field of the entrypublic boolean isShownInResultList()
public void setShownInResultList(boolean bShown)
bShown
- True if the field is shown in the result list, false otherwisepublic boolean isShownInResultRecord()
public void setShownInResultRecord(boolean bShown)
bShown
- True if the field is shown in the result list, false otherwisepublic int getMaxSizeEnter()
public void setMaxSizeEnter(int maxSizeEnter)
maxSizeEnter
- the max size of enter userpublic Date getValueTypeDate()
public void setValueTypeDate(Date defaultValueTypeDate)
defaultValueTypeDate
- the value of type Datepublic 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 fieldpublic String getImageType()
public void setImageType(String strImageType)
strImageType
- The Image TypeCopyright © 2020 City of Paris. All rights reserved.