nl.surfnet.coin.portal.domain
Class Gadget

java.lang.Object
  extended by nl.surfnet.coin.shared.domain.DomainObject
      extended by nl.surfnet.coin.portal.domain.Gadget
All Implemented Interfaces:
Serializable

public class Gadget
extends nl.surfnet.coin.shared.domain.DomainObject

An OpenSocial gadget on a tab.

See Also:
Serialized Form

Constructor Summary
Gadget()
           
 
Method Summary
 int getColumn()
           
 Long getCreationTimestamp()
           
 GadgetDefinition getDefinition()
           
 int getOrder()
           
 String getPrefs()
           
 Tab getTab()
           
 boolean isHasPermission()
           
 void setColumn(int column)
           
 void setCreationTimestamp(Long creationTimestamp)
           
 void setDefinition(GadgetDefinition definition)
           
 void setHasPermission(boolean hasPermission)
           
 void setOrder(int order)
           
 void setPrefs(String prefs)
           
 void setTab(Tab tab)
           
 void setTeam(String team)
          Parses the prefs and adds or replaces the groupContext.
 
Methods inherited from class nl.surfnet.coin.shared.domain.DomainObject
equals, getId, hashCode, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gadget

public Gadget()
Method Detail

setOrder

public void setOrder(int order)

getOrder

public int getOrder()

setColumn

public void setColumn(int column)

getColumn

public int getColumn()

setDefinition

public void setDefinition(GadgetDefinition definition)

getDefinition

public GadgetDefinition getDefinition()

setPrefs

public void setPrefs(String prefs)

getPrefs

public String getPrefs()

setHasPermission

public void setHasPermission(boolean hasPermission)

isHasPermission

public boolean isHasPermission()

getTab

public Tab getTab()
Returns:
the tab

setTab

public void setTab(Tab tab)
Parameters:
tab - the tab to set

setTeam

public void setTeam(String team)
Parses the prefs and adds or replaces the groupContext.

Parameters:
team - The team that this gadget should be assigned to.

getCreationTimestamp

public Long getCreationTimestamp()
Returns:
the creationTimestamp

setCreationTimestamp

public void setCreationTimestamp(Long creationTimestamp)
Parameters:
creationTimestamp - the creationTimestamp to set


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.