nl.surfnet.coin.portal.domain
Class Gadget
java.lang.Object
nl.surfnet.coin.shared.domain.DomainObject
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
| Methods inherited from class nl.surfnet.coin.shared.domain.DomainObject |
equals, getId, hashCode, setId, toString |
Gadget
public Gadget()
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.