com.jamasoftware.contour.domain
Class Subscription
java.lang.Object
com.jamasoftware.contour.domain.DomainObjectBaseSupport
com.jamasoftware.contour.domain.DomainObjectSupport
com.jamasoftware.contour.domain.Subscription
- All Implemented Interfaces:
- DomainObject, DomainObjectBase, OrganizationAware, ScopedObject, ScopedObjectWithContext, java.io.Serializable
@Entity
public class Subscription
- extends DomainObjectSupport
- implements ScopedObjectWithContext
User subscription.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Subscription
public Subscription()
getId
public java.lang.Integer getId()
- Specified by:
getId in interface DomainObjectBase
setId
public void setId(java.lang.Integer id)
- Specified by:
setId in interface DomainObjectBase
getScopeId
public java.lang.Integer getScopeId()
- Specified by:
getScopeId in interface ScopedObject
setScopeId
public void setScopeId(java.lang.Integer description)
- Specified by:
setScopeId in interface ScopedObject
getRefId
public java.lang.Integer getRefId()
- Specified by:
getRefId in interface ScopedObject
setRefId
public void setRefId(java.lang.Integer refId)
- Specified by:
setRefId in interface ScopedObject
getOrganizationId
public java.lang.Integer getOrganizationId()
- Specified by:
getOrganizationId in interface DomainObjectBase- Specified by:
getOrganizationId in interface OrganizationAware
setOrganizationId
public void setOrganizationId(java.lang.Integer organizationId)
- Specified by:
setOrganizationId in interface DomainObjectBase
getSubscribedBy
public User getSubscribedBy()
setSubscribedBy
public void setSubscribedBy(User subscribedBy)
getUser
public User getUser()
setUser
public void setUser(User userId)
getRole
public Role getRole()
setRole
public void setRole(Role role)
getContextScopeId
public java.lang.Integer getContextScopeId()
- Specified by:
getContextScopeId in interface ScopedObjectWithContext
setContextScopeId
public void setContextScopeId(java.lang.Integer contextScopeId)
- Specified by:
setContextScopeId in interface ScopedObjectWithContext
getContextId
public java.lang.Integer getContextId()
- Specified by:
getContextId in interface ScopedObjectWithContext
setContextId
public void setContextId(java.lang.Integer contextId)
- Specified by:
setContextId in interface ScopedObjectWithContext
getUserMutes
public java.util.Set<MutedSubscription> getUserMutes()
setUserMutes
public void setUserMutes(java.util.Set<MutedSubscription> userMutes)
getXmlToString
public java.lang.String getXmlToString()
- Specified by:
getXmlToString in interface DomainObject
Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.