@Entity(name="Subscription") public class SubscriptionImpl extends ScopeDomainObject implements Subscription
refId, scopeId
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
SubscriptionImpl() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getActive() |
Integer |
getContextId() |
Integer |
getContextScopeId() |
Integer |
getId() |
Integer |
getOrganizationId() |
Role |
getRole() |
User |
getSubscribedBy() |
User |
getUser() |
Set<MutedSubscription> |
getUserMutes() |
String |
getXmlToString() |
void |
setActive(Boolean active) |
void |
setContextId(Integer contextId) |
void |
setContextScopeId(Integer contextScopeId) |
void |
setId(Integer id) |
void |
setOrganizationId(Integer organizationId) |
void |
setRole(Role role) |
void |
setSubscribedBy(User subscribedBy) |
void |
setUser(User userId) |
void |
setUserMutes(Set<MutedSubscription> userMutes) |
getRefId, getScopeId, setRefId, setScope, setScopeByType, setScopeId
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
equals, hashCode, isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, isNewObject, obtainAclObjectIdentity, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
getRefId, getScopeId, setRefId, setScopeByType, setScopeId
public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer id)
setId
in interface DomainObjectBase
public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public User getSubscribedBy()
getSubscribedBy
in interface Subscription
public void setSubscribedBy(User subscribedBy)
setSubscribedBy
in interface Subscription
public User getUser()
getUser
in interface Subscription
public void setUser(User userId)
setUser
in interface Subscription
public Role getRole()
getRole
in interface Subscription
public void setRole(Role role)
setRole
in interface Subscription
public Integer getContextScopeId()
getContextScopeId
in interface ScopedObjectWithContext
public void setContextScopeId(Integer contextScopeId)
setContextScopeId
in interface ScopedObjectWithContext
public Integer getContextId()
getContextId
in interface ScopedObjectWithContext
public void setContextId(Integer contextId)
setContextId
in interface ScopedObjectWithContext
public Set<MutedSubscription> getUserMutes()
getUserMutes
in interface Subscription
public void setUserMutes(Set<MutedSubscription> userMutes)
setUserMutes
in interface Subscription
public String getXmlToString()
getXmlToString
in interface DomainObject
@Field(name="active") public Boolean getActive()
getActive
in interface Subscription
public void setActive(Boolean active)
setActive
in interface Subscription
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.