com.silverpeas.formsonline.model
Class FormDetail
java.lang.Object
com.silverpeas.formsonline.model.FormDetail
public class FormDetail
- extends Object
STATE_NOT_YET_PUBLISHED
public static final int STATE_NOT_YET_PUBLISHED
- See Also:
- Constant Field Values
STATE_PUBLISHED
public static final int STATE_PUBLISHED
- See Also:
- Constant Field Values
STATE_UNPUBLISHED
public static final int STATE_UNPUBLISHED
- See Also:
- Constant Field Values
FormDetail
public FormDetail()
getId
public int getId()
- Returns:
- the id
getTitle
public String getTitle()
- Returns:
- the title
setTitle
public void setTitle(String title)
- Parameters:
title
- the title to set
getState
public int getState()
- Returns:
- the state
setState
public void setState(int state)
- Parameters:
state
- the state to set
getCreationDate
public Date getCreationDate()
- Returns:
- the creationDate
setCreationDate
public void setCreationDate(Date creationDate)
- Parameters:
creationDate
- the creationDate to set
setId
public void setId(int id)
- Parameters:
id
- the id to set
getXmlFormName
public String getXmlFormName()
- Returns:
- the xmlFormName
setXmlFormName
public void setXmlFormName(String xmlFormName)
- Parameters:
xmlFormName
- the xmlFormName to set
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description
- the description to set
getCreatorId
public String getCreatorId()
- Returns:
- the creatorId
setCreatorId
public void setCreatorId(String creatorId)
- Parameters:
creatorId
- the creatorId to set
getInstanceId
public String getInstanceId()
- Returns:
- the instanceId
setInstanceId
public void setInstanceId(String instanceId)
- Parameters:
instanceId
- the instanceId to set
setAlreadyUsed
public void setAlreadyUsed(boolean alreadyUsed)
isAlreadyUsed
public boolean isAlreadyUsed()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
isPublished
public boolean isPublished()
isUnpublished
public boolean isUnpublished()
isNotYetPublished
public boolean isNotYetPublished()
setSendable
public void setSendable(boolean sendable)
isSendable
public boolean isSendable()
isSender
public boolean isSender(String userId)
isValidator
public boolean isValidator(String userId)
getPK
public FormPK getPK()
getSendersAsUsers
public List<com.stratelia.webactiv.beans.admin.UserDetail> getSendersAsUsers()
setSendersAsUsers
public void setSendersAsUsers(List<com.stratelia.webactiv.beans.admin.UserDetail> sendersAsUsers)
getSendersAsGroups
public List<com.stratelia.webactiv.beans.admin.Group> getSendersAsGroups()
setSendersAsGroups
public void setSendersAsGroups(List<com.stratelia.webactiv.beans.admin.Group> sendersAsGroups)
getReceiversAsUsers
public List<com.stratelia.webactiv.beans.admin.UserDetail> getReceiversAsUsers()
setReceiversAsUsers
public void setReceiversAsUsers(List<com.stratelia.webactiv.beans.admin.UserDetail> receiversAsUsers)
getReceiversAsGroups
public List<com.stratelia.webactiv.beans.admin.Group> getReceiversAsGroups()
setReceiversAsGroups
public void setReceiversAsGroups(List<com.stratelia.webactiv.beans.admin.Group> receiversAsGroups)
Copyright © 2016 Silverpeas. All Rights Reserved.