Package org.sakaiproject.signup.restful
Class SignupSiteItem
- java.lang.Object
-
- org.sakaiproject.signup.restful.SignupSiteItem
-
public class SignupSiteItem extends Object
This class holds the information of sign-up site. It's a wrapper class for RESTful case.
-
-
Constructor Summary
Constructors Constructor Description SignupSiteItem(String title, String siteId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)check if the two SignupSite object are equalList<SignupGroupItem>getSignupGroupItems()get a list of SignupGroup objects, which belong to the siteStringgetSiteId()get the Site id, which is a sakai unique site IdStringgetTitle()get the title of the siteinthashCode()booleanisSiteScope()check if the event/meeting is a site scope-widevoidsetSignupGroupItems(List<SignupGroupItem> signupGroupItems)this is a settervoidsetSiteId(String siteId)this is a settervoidsetTitle(String title)this is a setter
-
-
-
Method Detail
-
getSignupGroupItems
public List<SignupGroupItem> getSignupGroupItems()
get a list of SignupGroup objects, which belong to the site- Returns:
- a list of SignupGroup objects
-
setSignupGroupItems
public void setSignupGroupItems(List<SignupGroupItem> signupGroupItems)
this is a setter- Parameters:
signupGroupItem- a list of SignupGroup objects
-
getSiteId
public String getSiteId()
get the Site id, which is a sakai unique site Id- Returns:
- the unique site Id
-
setSiteId
public void setSiteId(String siteId)
this is a setter- Parameters:
siteId- the unique site Id
-
getTitle
public String getTitle()
get the title of the site- Returns:
- the name of the site
-
setTitle
public void setTitle(String title)
this is a setter- Parameters:
title- the name of the site
-
isSiteScope
public boolean isSiteScope()
check if the event/meeting is a site scope-wide- Returns:
- true if the event/meeting is a site scope-wide
-
equals
public boolean equals(Object object)
check if the two SignupSite object are equal
-
-