|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.nava.informa.impl.hibernate.ChannelSubscription
public class ChannelSubscription
Hibernate implementation of the ChannelSubscriptionIF interface.
| Constructor Summary | |
|---|---|
ChannelSubscription()
|
|
ChannelSubscription(ChannelIF channel)
Default constructor sets to an inactive channel (with an update interval of 3 hours, used when activated). |
|
ChannelSubscription(ChannelIF channel,
boolean active,
int interval)
|
|
| Method Summary | |
|---|---|
ChannelIF |
getChannel()
|
long |
getId()
|
int |
getUpdateInterval()
|
boolean |
isActive()
|
void |
setActive(boolean active)
Activate/Deactivate channel update behaviour. |
void |
setChannel(ChannelIF channel)
|
void |
setId(long id)
|
void |
setUpdateInterval(int interval)
Sets the interval time between channel updates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelSubscription()
public ChannelSubscription(ChannelIF channel)
public ChannelSubscription(ChannelIF channel,
boolean active,
int interval)
| Method Detail |
|---|
public long getId()
public void setId(long id)
public ChannelIF getChannel()
getChannel in interface WithChannelMIFpublic void setChannel(ChannelIF channel)
setChannel in interface WithChannelMIFchannel - the channel, this object is related topublic boolean isActive()
isActive in interface ChannelSubscriptionIFpublic void setActive(boolean active)
ChannelSubscriptionIF
setActive in interface ChannelSubscriptionIFactive - - wether this channel should be updated at all or
not.public int getUpdateInterval()
getUpdateInterval in interface ChannelSubscriptionIFpublic void setUpdateInterval(int interval)
ChannelSubscriptionIF
setUpdateInterval in interface ChannelSubscriptionIFinterval - - time in seconds between channel update
retrievals.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||