com.jamasoftware.contour.domain
Class Subscription

java.lang.Object
  extended by com.jamasoftware.contour.domain.DomainObjectBaseSupport
      extended by com.jamasoftware.contour.domain.DomainObjectSupport
          extended by 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

Field Summary
 
Fields inherited from interface com.jamasoftware.contour.domain.DomainObjectBase
ORGANIZATION_COLUMN_NAME
 
Constructor Summary
Subscription()
           
 
Method Summary
 java.lang.Integer getContextId()
           
 java.lang.Integer getContextScopeId()
           
 java.lang.Integer getId()
           
 java.lang.Integer getOrganizationId()
           
 java.lang.Integer getRefId()
           
 Role getRole()
           
 java.lang.Integer getScopeId()
           
 User getSubscribedBy()
           
 User getUser()
           
 java.util.Set<MutedSubscription> getUserMutes()
           
 java.lang.String getXmlToString()
           
 void setContextId(java.lang.Integer contextId)
           
 void setContextScopeId(java.lang.Integer contextScopeId)
           
 void setId(java.lang.Integer id)
           
 void setOrganizationId(java.lang.Integer organizationId)
           
 void setRefId(java.lang.Integer refId)
           
 void setRole(Role role)
           
 void setScopeId(java.lang.Integer description)
           
 void setSubscribedBy(User subscribedBy)
           
 void setUser(User userId)
           
 void setUserMutes(java.util.Set<MutedSubscription> userMutes)
           
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectSupport
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectBaseSupport
equals, hashCode, isNewObject, obtainAclObjectIdentity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subscription

public Subscription()
Method Detail

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.