users = new \Doctrine\Common\Collections\ArrayCollection(); $this->items = new \Doctrine\Common\Collections\ArrayCollection(); $this->alerts = new \Doctrine\Common\Collections\ArrayCollection(); $this->pages = new \Doctrine\Common\Collections\ArrayCollection(); $this->fluxs = new \Doctrine\Common\Collections\ArrayCollection(); $this->notices = new \Doctrine\Common\Collections\ArrayCollection(); $this->calendars = new \Doctrine\Common\Collections\ArrayCollection(); $this->blogs = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set label * * @param string $label * * @return Group */ public function setLabel($label) { $this->label = $label; return $this; } /** * Get label * * @return string */ public function getLabel() { return $this->label; } /** * Set fgopen * * @param boolean $fgopen * * @return Group */ public function setFgopen($fgopen) { $this->fgopen = $fgopen; return $this; } /** * Get fgopen * * @return boolean */ public function getFgopen() { return $this->fgopen; } /** * Set fgcanshare * * @param boolean $fgcanshare * * @return Group */ public function setFgcanshare($fgcanshare) { $this->fgcanshare = $fgcanshare; return $this; } /** * Get fgcanshare * * @return boolean */ public function getFgcanshare() { return $this->fgcanshare; } /** * Set fgall * * @param boolean $fgall * * @return Group */ public function setFgall($fgall) { $this->fgall = $fgall; return $this; } /** * Get fgall * * @return boolean */ public function getFgall() { return $this->fgall; } /** * Set fgtemplate * * @param boolean $fgtemplate * * @return Group */ public function setFgtemplate($fgtemplate) { $this->fgtemplate = $fgtemplate; return $this; } /** * Get fgtemplate * * @return boolean */ public function getFgtemplate() { return $this->fgtemplate; } /** * Set ldapfilter * * @param string $ldapfilter * * @return Group */ public function setLdapfilter($ldapfilter) { $this->ldapfilter = $ldapfilter; return $this; } /** * Get ldapfilter * * @return string */ public function getLdapfilter() { return $this->ldapfilter; } /** * Set attributes * * @param string $attributes * * @return Group */ public function setAttributes($attributes) { $this->attributes = $attributes; return $this; } /** * Get attributes * * @return string */ public function getAttributes() { return $this->attributes; } /** * Add user * * @param \Cadoles\CoreBundle\Entity\UserGroup $user * * @return Group */ public function addUser(\Cadoles\CoreBundle\Entity\UserGroup $user) { $this->users[] = $user; return $this; } /** * Remove user * * @param \Cadoles\CoreBundle\Entity\UserGroup $user */ public function removeUser(\Cadoles\CoreBundle\Entity\UserGroup $user) { $this->users->removeElement($user); } /** * Get users * * @return \Doctrine\Common\Collections\Collection */ public function getUsers() { return $this->users; } /** * Add item * * @param \Cadoles\PortalBundle\Entity\Item $item * * @return Group */ public function addItem(\Cadoles\PortalBundle\Entity\Item $item) { $this->items[] = $item; return $this; } /** * Remove item * * @param \Cadoles\PortalBundle\Entity\Item $item */ public function removeItem(\Cadoles\PortalBundle\Entity\Item $item) { $this->items->removeElement($item); } /** * Get items * * @return \Doctrine\Common\Collections\Collection */ public function getItems() { return $this->items; } /** * Add alert * * @param \Cadoles\PortalBundle\Entity\Alert $alert * * @return Group */ public function addAlert(\Cadoles\PortalBundle\Entity\Alert $alert) { $this->alerts[] = $alert; return $this; } /** * Remove alert * * @param \Cadoles\PortalBundle\Entity\Alert $alert */ public function removeAlert(\Cadoles\PortalBundle\Entity\Alert $alert) { $this->alerts->removeElement($alert); } /** * Get alerts * * @return \Doctrine\Common\Collections\Collection */ public function getAlerts() { return $this->alerts; } /** * Add page * * @param \Cadoles\PortalBundle\Entity\Page $page * * @return Group */ public function addPage(\Cadoles\PortalBundle\Entity\Page $page) { $this->pages[] = $page; return $this; } /** * Remove page * * @param \Cadoles\PortalBundle\Entity\Page $page */ public function removePage(\Cadoles\PortalBundle\Entity\Page $page) { $this->pages->removeElement($page); } /** * Get pages * * @return \Doctrine\Common\Collections\Collection */ public function getPages() { return $this->pages; } /** * Add flux * * @param \Cadoles\PortalBundle\Entity\Flux $flux * * @return Group */ public function addFlux(\Cadoles\PortalBundle\Entity\Flux $flux) { $this->fluxs[] = $flux; return $this; } /** * Remove flux * * @param \Cadoles\PortalBundle\Entity\Flux $flux */ public function removeFlux(\Cadoles\PortalBundle\Entity\Flux $flux) { $this->fluxs->removeElement($flux); } /** * Get fluxs * * @return \Doctrine\Common\Collections\Collection */ public function getFluxs() { return $this->fluxs; } /** * Add notice * * @param \Cadoles\PortalBundle\Entity\Notice $notice * * @return Group */ public function addNotice(\Cadoles\PortalBundle\Entity\Notice $notice) { $this->notices[] = $notice; return $this; } /** * Remove notice * * @param \Cadoles\PortalBundle\Entity\Notice $notice */ public function removeNotice(\Cadoles\PortalBundle\Entity\Notice $notice) { $this->notices->removeElement($notice); } /** * Get notices * * @return \Doctrine\Common\Collections\Collection */ public function getNotices() { return $this->notices; } /** * Add calendar * * @param \Cadoles\PortalBundle\Entity\Calendar $calendar * * @return Group */ public function addCalendar(\Cadoles\PortalBundle\Entity\Calendar $calendar) { $this->calendars[] = $calendar; return $this; } /** * Remove calendar * * @param \Cadoles\PortalBundle\Entity\Calendar $calendar */ public function removeCalendar(\Cadoles\PortalBundle\Entity\Calendar $calendar) { $this->calendars->removeElement($calendar); } /** * Get calendars * * @return \Doctrine\Common\Collections\Collection */ public function getCalendars() { return $this->calendars; } /** * Add blog * * @param \Cadoles\PortalBundle\Entity\Blog $blog * * @return Group */ public function addBlog(\Cadoles\PortalBundle\Entity\Blog $blog) { $this->blogs[] = $blog; return $this; } /** * Remove blog * * @param \Cadoles\PortalBundle\Entity\Blog $blog */ public function removeBlog(\Cadoles\PortalBundle\Entity\Blog $blog) { $this->blogs->removeElement($blog); } /** * Get blogs * * @return \Doctrine\Common\Collections\Collection */ public function getBlogs() { return $this->blogs; } }