com.silverpeas.scheduleevent.service.model.beans
Class ScheduleEvent
java.lang.Object
com.silverpeas.scheduleevent.service.model.beans.ScheduleEvent
- All Implemented Interfaces:
- ScheduleEventBean, com.silverpeas.SilverpeasContent, com.silverpeas.SilverpeasToolContent, Serializable
@Entity
public class ScheduleEvent
- extends Object
- implements com.silverpeas.SilverpeasToolContent, ScheduleEventBean, Serializable
- See Also:
- Serialized Form
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
ScheduleEvent
public ScheduleEvent()
setUpId
protected void setUpId()
getId
public String getId()
- Specified by:
getId
in interface ScheduleEventBean
- Specified by:
getId
in interface com.silverpeas.SilverpeasContent
setId
public void setId(String id)
- Specified by:
setId
in interface ScheduleEventBean
getTitle
public String getTitle()
- Specified by:
getTitle
in interface ScheduleEventBean
- Specified by:
getTitle
in interface com.silverpeas.SilverpeasContent
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interface ScheduleEventBean
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ScheduleEventBean
- Specified by:
getDescription
in interface com.silverpeas.SilverpeasContent
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface ScheduleEventBean
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interface ScheduleEventBean
- Specified by:
getCreationDate
in interface com.silverpeas.SilverpeasContent
setCreationDate
public void setCreationDate(Date creationDate)
- Specified by:
setCreationDate
in interface ScheduleEventBean
getAuthor
public int getAuthor()
- Specified by:
getAuthor
in interface ScheduleEventBean
setAuthor
public void setAuthor(int author)
- Specified by:
setAuthor
in interface ScheduleEventBean
getDates
public Set<DateOption> getDates()
- Specified by:
getDates
in interface ScheduleEventBean
getContributors
public Set<Contributor> getContributors()
- Specified by:
getContributors
in interface ScheduleEventBean
getResponses
public Set<Response> getResponses()
- Specified by:
getResponses
in interface ScheduleEventBean
getStatus
public int getStatus()
- Specified by:
getStatus
in interface ScheduleEventBean
setStatus
public void setStatus(int status)
- Specified by:
setStatus
in interface ScheduleEventBean
getComponentInstanceId
public String getComponentInstanceId()
- Specified by:
getComponentInstanceId
in interface com.silverpeas.SilverpeasContent
getSilverpeasContentId
public String getSilverpeasContentId()
- Specified by:
getSilverpeasContentId
in interface com.silverpeas.SilverpeasContent
getCreator
public com.stratelia.webactiv.beans.admin.UserDetail getCreator()
- Specified by:
getCreator
in interface com.silverpeas.SilverpeasContent
getContributionType
public String getContributionType()
- Specified by:
getContributionType
in interface com.silverpeas.SilverpeasContent
canBeAccessedBy
public boolean canBeAccessedBy(com.stratelia.webactiv.beans.admin.UserDetail user)
- Is the specified user can access this content?
The user can access this event if it is either the author or a contributor of this event.
- Specified by:
canBeAccessedBy
in interface com.silverpeas.SilverpeasContent
- Parameters:
user
- a user in Silverpeas.
- Returns:
- true if the tool belongs to the personal workspace of the specified user, false
otherwise.
getResourceType
public static String getResourceType()
- The type of this resource
- Returns:
- the same value returned by getContributionType()
getURL
public String getURL()
- Specified by:
getURL
in interface com.silverpeas.SilverpeasToolContent
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2016 Silverpeas. All Rights Reserved.