|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.business.demand.DemandType
public class DemandType
DemandType
Field Summary | |
---|---|
static String |
ROLE_NONE
|
Constructor Summary | |
---|---|
DemandType()
Constructor |
Method Summary | |
---|---|
Date |
getDateBegin()
Get the beginning date |
Date |
getDateEnd()
Get the closing date |
int |
getIdCategory()
Get the id category |
int |
getIdDemandType()
Get the id demand type |
String |
getLabel()
Get the label |
int |
getOrder()
Get the order |
String |
getRole()
Get the role |
TargetEnum |
getTarget()
Get target |
String |
getUrlContact()
Get the url of the contact |
String |
getUrlDelete()
Get the url to delete the demand |
String |
getUrlInfo()
Get the url of the information |
String |
getUrlResource()
Get the url of the resource |
String |
getWorkgroup()
Get the workgroup key |
String |
getXml(javax.servlet.http.HttpServletRequest request,
Locale locale)
Returns the xml of this Demande Type |
boolean |
isClosed()
Check if the demand type is closed |
boolean |
isIncludeIdCrmUser()
|
boolean |
isNeedAuthentication()
|
boolean |
isNeedValidation()
|
boolean |
isOpen()
Check if the demand type is open or not |
void |
setDateBegin(Date dateBegin)
Set the beginning date |
void |
setDateEnd(Date dateEnd)
Set the closing date |
void |
setIdCategory(int nIdCategory)
Set the ID category |
void |
setIdDemandType(int nIdDemandType)
Set the id demand type |
void |
setIncludeIdCrmUser(boolean _bUseIdCrmUser)
|
void |
setLabel(String strLabel)
Set the label |
void |
setNeedAuthentication(boolean _bNeedAuthentication)
|
void |
setNeedValidation(boolean _bNeedValidation)
|
void |
setOrder(int nOrder)
Set the order |
void |
setRole(String strRoleKey)
Set the role |
void |
setTarget(TargetEnum target)
Set target |
void |
setUrlContact(String strUrlContact)
Set the url of the contact |
void |
setUrlDelete(String strUrlDelete)
Set the url to delete the demand |
void |
setUrlInfo(String strUrlInfo)
Set the url of the information |
void |
setUrlResource(String strUrlResource)
Set the url of the form |
void |
setWorkgroup(String strWorkgroupKey)
Set the workgroup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ROLE_NONE
Constructor Detail |
---|
public DemandType()
Method Detail |
---|
public int getIdDemandType()
public void setIdDemandType(int nIdDemandType)
nIdDemandType
- the id deman typepublic String getLabel()
public void setLabel(String strLabel)
strLabel
- the labelpublic String getUrlResource()
public void setUrlResource(String strUrlResource)
strUrlResource
- the url of the formpublic String getUrlInfo()
public void setUrlInfo(String strUrlInfo)
strUrlInfo
- the url of the informationpublic String getUrlContact()
public void setUrlContact(String strUrlContact)
strUrlContact
- the url of the contactpublic int getOrder()
public void setOrder(int nOrder)
nOrder
- the orderpublic int getIdCategory()
public void setIdCategory(int nIdCategory)
nIdCategory
- the id categorypublic Date getDateBegin()
public void setDateBegin(Date dateBegin)
dateBegin
- the beginning datepublic Date getDateEnd()
public void setDateEnd(Date dateEnd)
dateEnd
- the closing datepublic void setWorkgroup(String strWorkgroupKey)
strWorkgroupKey
- the workgroup keypublic String getWorkgroup()
getWorkgroup
in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
public void setRole(String strRoleKey)
strRoleKey
- the role keypublic String getRole()
public boolean isOpen()
public boolean isClosed()
public void setTarget(TargetEnum target)
target
- the targetpublic TargetEnum getTarget()
public String getUrlDelete()
public void setUrlDelete(String strUrlDelete)
strUrlDelete
- the url to delete the demandpublic String getXml(javax.servlet.http.HttpServletRequest request, Locale locale)
request
- The HTTP Servlet requestlocale
- the Locale
public boolean isIncludeIdCrmUser()
public void setIncludeIdCrmUser(boolean _bUseIdCrmUser)
_bUseIdCrmUser
- true if the crm user id must be added to the list of _strUrlResource parameterspublic boolean isNeedAuthentication()
public void setNeedAuthentication(boolean _bNeedAuthentication)
_bNeedAuthentication
- true if the demand type need authentication accesspublic boolean isNeedValidation()
public void setNeedValidation(boolean _bNeedValidation)
_bNeedAuthentication
- true if the demand type need validation access
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |