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

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

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

class Field


Field Summary
static java.lang.String ATTRIBUTE_FIELD_ID
           
static java.lang.String ATTRIBUTE_FIELD_TITLE
           
 
Constructor Summary
Field()
           
 
Method Summary
 IEntry getEntry()
           
 int getHeight()
           
 int getIdField()
           
 int getMaxSizeEnter()
           
 int getPosition()
           
 java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
           
 java.lang.String getRoleKey()
          Gets the field role
 java.lang.String getTitle()
           
 java.lang.String getValue()
           
 java.util.Date getValueTypeDate()
           
 int getWidth()
           
 java.lang.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 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(java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
          set a list of regular expression which is associate to the field
 void setRoleKey(java.lang.String strRole)
          Sets the field's role
 void setShownInResultList(boolean shown)
          set true if the field is shown in result list
 void setShownInResultRecord(boolean shown)
          set true if the field is shown in result record
 void setTitle(java.lang.String title)
          set the title of the field
 void setValue(java.lang.String value)
          set the value of the field
 void setValueTypeDate(java.util.Date defaultValueTypeDate)
          set the value of type Date
 void setWidth(int width)
          set the width of the field
 void setWorkgroup(java.lang.String workGroup)
          set the work group associate to the field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_FIELD_TITLE

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

ATTRIBUTE_FIELD_ID

public static final java.lang.String ATTRIBUTE_FIELD_ID
See Also:
Constant Field Values
Constructor Detail

Field

public Field()
Method Detail

getIdField

public int getIdField()
Returns:
the id of the field

setIdField

public void setIdField(int idField)
set the id of the field

Parameters:
idField - the id of the field

getPosition

public int getPosition()
Returns:
the position of the field in the list of the entry's fields

setPosition

public void setPosition(int position)
set the position of the field in the list of the entry's fields

Parameters:
position - the position of the field in the list of fields

getEntry

public IEntry getEntry()
Returns:
the entry of the field

setEntry

public void setEntry(IEntry entry)
set the entry of the field

Parameters:
entry - the entry of the field

getRegularExpressionList

public java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> getRegularExpressionList()
Returns:
a list of regular expression which is associate to the field

setRegularExpressionList

public void setRegularExpressionList(java.util.List<fr.paris.lutece.portal.business.regularexpression.RegularExpression> regularExpressionList)
set a list of regular expression which is associate to the field

Parameters:
regularExpressionList - a list of regular expression which is associate to the field

getTitle

public java.lang.String getTitle()
Returns:
the title of the field

setTitle

public void setTitle(java.lang.String title)
set the title of the field

Parameters:
title - the title of the field

getValue

public java.lang.String getValue()
Returns:
the value of the field

setValue

public void setValue(java.lang.String value)
set the value of the field

Parameters:
value - the value of the field

getWidth

public int getWidth()
Returns:
the width of the field

setWidth

public void setWidth(int width)
set the width of the field

Parameters:
width - the width of the field

getHeight

public int getHeight()
Returns:
the height of the field

setHeight

public void setHeight(int height)
set the height of the field

Parameters:
height - the height of the field

isDefaultValue

public boolean isDefaultValue()
Returns:
true if the field is a default field of the entry

setDefaultValue

public void setDefaultValue(boolean defaultValue)
set true if the field is a default field of the entry

Parameters:
defaultValue - true if the field is a default field of the entry

isShownInResultList

public boolean isShownInResultList()
Returns:
true if the field is shown in result list

setShownInResultList

public void setShownInResultList(boolean shown)
set true if the field is shown in result list


isShownInResultRecord

public boolean isShownInResultRecord()
Returns:
true if the field is shown in result record

setShownInResultRecord

public void setShownInResultRecord(boolean shown)
set true if the field is shown in result record


getMaxSizeEnter

public int getMaxSizeEnter()
Returns:
the max size of enter user

setMaxSizeEnter

public void setMaxSizeEnter(int maxSizeEnter)
set the max size of enter user

Parameters:
maxSizeEnter - the max size of enter user

getValueTypeDate

public java.util.Date getValueTypeDate()
Returns:
the value of type Date

setValueTypeDate

public void setValueTypeDate(java.util.Date defaultValueTypeDate)
set the value of type Date

Parameters:
defaultValueTypeDate - the value of type Date

getRoleKey

public java.lang.String getRoleKey()
Gets the field role

Returns:
field role as a String

setRoleKey

public void setRoleKey(java.lang.String strRole)
Sets the field'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 field

setWorkgroup

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

Parameters:
workGroup - the work group associate to the field


Copyright © 2012 Mairie de Paris. All Rights Reserved.