CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class SubscriptionDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.SubscriptionDto
All Implemented Interfaces:
BaseDto, java.io.Serializable

public class SubscriptionDto
extends java.lang.Object
implements BaseDto

Wraps generic subscriptions related to any kind of entity, based both on user accounts and on roles.

This will replace the following legacy notification configuration classes:

  1. ArtifactNotificationConfigDto
  2. ForumtNotificationDto
  3. TrackerNotificationDto
  4. ScmChangeSetNotificationDto
The physical data schema should be refactored, too. (Idea: a single table with identified rows.)

See Also:
Serialized Form

Nested Class Summary
static class SubscriptionDto.Setting
          Subscription setting.
 
Constructor Summary
SubscriptionDto()
           
 
Method Summary
 SubscriptionDto.Setting getReadEventSetting()
           
 IdentifiableDto getSubject()
           
 UserDto getSubscriber()
           
 RoleDto getSubscriberRole()
           
 SubscriptionDto.Setting getWriteEventSetting()
           
 void setReadEventSetting(SubscriptionDto.Setting readEventSetting)
           
 void setSubject(IdentifiableDto subject)
           
 void setSubscriber(UserDto subscriber)
           
 void setSubscriberRole(RoleDto subscriberRole)
           
 void setWriteEventSetting(SubscriptionDto.Setting writeEventSetting)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriptionDto

public SubscriptionDto()
Method Detail

getSubject

public IdentifiableDto getSubject()

setSubject

public void setSubject(IdentifiableDto subject)

getSubscriber

public UserDto getSubscriber()

setSubscriber

public void setSubscriber(UserDto subscriber)

getSubscriberRole

public RoleDto getSubscriberRole()

setSubscriberRole

public void setSubscriberRole(RoleDto subscriberRole)

getReadEventSetting

public SubscriptionDto.Setting getReadEventSetting()

setReadEventSetting

public void setReadEventSetting(SubscriptionDto.Setting readEventSetting)

getWriteEventSetting

public SubscriptionDto.Setting getWriteEventSetting()

setWriteEventSetting

public void setWriteEventSetting(SubscriptionDto.Setting writeEventSetting)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.