com.silverpeas.formsonline.model
Class FormDetail

java.lang.Object
  extended by com.silverpeas.formsonline.model.FormDetail

public class FormDetail
extends Object


Field Summary
static int STATE_NOT_YET_PUBLISHED
           
static int STATE_PUBLISHED
           
static int STATE_UNPUBLISHED
           
 
Constructor Summary
FormDetail()
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getCreationDate()
           
 String getCreatorId()
           
 String getDescription()
           
 int getId()
           
 String getInstanceId()
           
 String getName()
           
 FormPK getPK()
           
 List<com.stratelia.webactiv.beans.admin.Group> getReceiversAsGroups()
           
 List<com.stratelia.webactiv.beans.admin.UserDetail> getReceiversAsUsers()
           
 List<com.stratelia.webactiv.beans.admin.Group> getSendersAsGroups()
           
 List<com.stratelia.webactiv.beans.admin.UserDetail> getSendersAsUsers()
           
 int getState()
           
 String getTitle()
           
 String getXmlFormName()
           
 boolean isAlreadyUsed()
           
 boolean isNotYetPublished()
           
 boolean isPublished()
           
 boolean isSendable()
           
 boolean isSender(String userId)
           
 boolean isUnpublished()
           
 boolean isValidator(String userId)
           
 void setAlreadyUsed(boolean alreadyUsed)
           
 void setCreationDate(Date creationDate)
           
 void setCreatorId(String creatorId)
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setInstanceId(String instanceId)
           
 void setName(String name)
           
 void setReceiversAsGroups(List<com.stratelia.webactiv.beans.admin.Group> receiversAsGroups)
           
 void setReceiversAsUsers(List<com.stratelia.webactiv.beans.admin.UserDetail> receiversAsUsers)
           
 void setSendable(boolean sendable)
           
 void setSendersAsGroups(List<com.stratelia.webactiv.beans.admin.Group> sendersAsGroups)
           
 void setSendersAsUsers(List<com.stratelia.webactiv.beans.admin.UserDetail> sendersAsUsers)
           
 void setState(int state)
           
 void setTitle(String title)
           
 void setXmlFormName(String xmlFormName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

FormDetail

public FormDetail()
Method Detail

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.