Class EntryType
java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.EntryType
- All Implemented Interfaces:
Serializable
class entryType
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the bean of the entry type servicegetGroup()Get the icon nameintintGet the id of the entry type this one was derived fromintgetOrder()Get the name of the plugin associated with this entry typeGet the error message displayed when a response does not match the regular expressionGet the regular expression every response to an entry of this type must matchgetTitle()booleanTell whether this entry type was derived from another entry typebooleanvoidsetBeanName(String strBeanName) set the path for access to the Class EntryvoidsetComment(Boolean isComment) voidset true if the type is a groupvoidsetIconName(String strIconName) Set the icon namevoidsetIdType(int idType) set the id of the entry typevoidsetIdTypeParent(int nIdTypeParent) Set the id of the entry type this one was derived fromvoidsetInactive(boolean bInactive) voidsetMyLuteceUser(Boolean isMyLuteceUser) voidsetOrder(int nOrder) voidSet the name of the plugin associated with this entry typevoidsetRegexErrorMessage(String strRegexErrorMessage) Set the error message displayed when a response does not match the regular expressionvoidsetRegexPattern(String strRegexPattern) Set the regular expression every response to an entry of this type must matchvoidset the title of the entry type
-
Constructor Details
-
EntryType
public EntryType()
-
-
Method Details
-
getIdType
public int getIdType()- Returns:
- the id of the entry type
-
setIdType
public void setIdType(int idType) set the id of the entry type- Parameters:
idType- the id of the entry type
-
getGroup
- Returns:
- true if the type is a group
-
setGroup
set true if the type is a group- Parameters:
isGroup- if the type is a group
-
getTitle
- Returns:
- the title of the entry type
-
setTitle
set the title of the entry type- Parameters:
title- the title of the entry type
-
getBeanName
Get the name of the bean of the entry type service- Returns:
- The name of the bean of the entry type service
-
setBeanName
set the path for access to the Class Entry- Parameters:
strBeanName- The name of the bean of the entry type service of this entry type
-
getIconName
Get the icon name- Returns:
- the strIconName
-
setIconName
Set the icon name- Parameters:
strIconName- the strIconName to set
-
getComment
- Returns:
- true if the type is a comment
-
setComment
- Parameters:
isComment- set true if the type is a comment
-
getMyLuteceUser
- Returns:
- true if the type is MyLutece user
-
setMyLuteceUser
- Parameters:
isMyLuteceUser- set true if the type is MyLutece user
-
getPlugin
Get the name of the plugin associated with this entry type- Returns:
- The name of the plugin associated with this entry type
-
setPlugin
Set the name of the plugin associated with this entry type- Parameters:
strPlugin- The name of the plugin associated with this entry type
-
getOrder
public int getOrder()- Returns:
- the nOrder
-
setOrder
public void setOrder(int nOrder) - Parameters:
nOrder- the nOrder to set
-
isInactive
public boolean isInactive()- Returns:
- the bInactive
-
setInactive
public void setInactive(boolean bInactive) - Parameters:
bInactive- the bInactive to set
-
getIdTypeParent
public int getIdTypeParent()Get the id of the entry type this one was derived from- Returns:
- the id of the parent entry type, or 0 if this entry type is not derived
-
setIdTypeParent
public void setIdTypeParent(int nIdTypeParent) Set the id of the entry type this one was derived from- Parameters:
nIdTypeParent- the id of the parent entry type, 0 if none
-
isDerived
public boolean isDerived()Tell whether this entry type was derived from another entry type- Returns:
- true if the entry type is derived
-
getRegexPattern
Get the regular expression every response to an entry of this type must match- Returns:
- the regular expression, or null if none
-
setRegexPattern
Set the regular expression every response to an entry of this type must match- Parameters:
strRegexPattern- the regular expression
-
getRegexErrorMessage
Get the error message displayed when a response does not match the regular expression- Returns:
- the error message
-
setRegexErrorMessage
Set the error message displayed when a response does not match the regular expression- Parameters:
strRegexErrorMessage- the error message
-