|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.poll.business.Poll
public class Poll
This class represents business object Poll
| Field Summary | |
|---|---|
static java.lang.String |
RESOURCE_TYPE
|
| Constructor Summary | |
|---|---|
Poll()
|
|
| Method Summary | |
|---|---|
int |
getId()
Return the identifier of this poll |
java.lang.String |
getName()
Returns the name of this poll as a String |
java.util.List<PollQuestion> |
getQuestions()
Return the list of the questions |
java.lang.String |
getResourceId()
RBAC resource implmentation |
java.lang.String |
getResourceTypeCode()
RBAC resource implmentation |
boolean |
getStatus()
Return the status of the poll. |
java.lang.String |
getWorkgroup()
Returns the workgroup |
void |
setId(int nIdPoll)
Sets the identifier of the poll with the specified int |
void |
setName(java.lang.String strName)
Sets the name of the poll with the specified String |
void |
setStatus(boolean bStatus)
Sets the status of the poll |
void |
setWorkgroup(java.lang.String strAdminWorkgroup)
Sets 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 java.lang.String RESOURCE_TYPE
| Constructor Detail |
|---|
public Poll()
| Method Detail |
|---|
public int getId()
public void setId(int nIdPoll)
nIdPoll - the identifier as an intpublic java.lang.String getName()
public void setName(java.lang.String strName)
strName - The String poll namepublic boolean getStatus()
public void setStatus(boolean bStatus)
status - The status of the pollpublic java.util.List<PollQuestion> getQuestions()
public java.lang.String getResourceTypeCode()
getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic java.lang.String getResourceId()
getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResourcepublic java.lang.String getWorkgroup()
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResourcepublic void setWorkgroup(java.lang.String strAdminWorkgroup)
strWorkgroup - The workgroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||