org.silverpeas.subscription.bean
Class AbstractSubscriptionBean

java.lang.Object
  extended by org.silverpeas.subscription.bean.AbstractSubscriptionBean
All Implemented Interfaces:
Subscription
Direct Known Subclasses:
ComponentSubscriptionBean, NodeSubscriptionBean

public abstract class AbstractSubscriptionBean
extends Object
implements Subscription

User: Yohann Chastagnier Date: 25/02/13


Constructor Summary
protected AbstractSubscriptionBean(Subscription subscription, ComponentInstLight component, String language)
           
 
Method Summary
 ComponentInstLight getComponent()
          Gets the component data.
 Date getCreationDate()
           
 String getCreatorId()
           
protected  Group getGroup()
          Gets the group data.
 String getLanguage()
           
 String getLink()
          Gets the link to access the resource.
 String getPath()
          Gets the path.
 SubscriptionResource getResource()
           
 SpaceInstLight getSpace()
          Gets the space data.
 SubscriptionSubscriber getSubscriber()
           
 String getSubscriberName()
          Gets the full name of the subscriber.
 SubscriptionMethod getSubscriptionMethod()
           
protected  UserDetail getUser()
          Gets the user data.
 boolean isReadOnly()
          Indicates if the subscription is read only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSubscriptionBean

protected AbstractSubscriptionBean(Subscription subscription,
                                   ComponentInstLight component,
                                   String language)
Method Detail

getLanguage

public String getLanguage()

getResource

public SubscriptionResource getResource()
Specified by:
getResource in interface Subscription

getSubscriber

public SubscriptionSubscriber getSubscriber()
Specified by:
getSubscriber in interface Subscription

getSubscriptionMethod

public SubscriptionMethod getSubscriptionMethod()
Specified by:
getSubscriptionMethod in interface Subscription

getCreatorId

public String getCreatorId()
Specified by:
getCreatorId in interface Subscription

getCreationDate

public Date getCreationDate()
Specified by:
getCreationDate in interface Subscription

isReadOnly

public boolean isReadOnly()
Indicates if the subscription is read only.

Returns:

getPath

public String getPath()
Gets the path.

Returns:

getLink

public String getLink()
Gets the link to access the resource.

Returns:

getSubscriberName

public String getSubscriberName()
Gets the full name of the subscriber.

Returns:

getUser

protected UserDetail getUser()
Gets the user data.

Returns:

getGroup

protected Group getGroup()
Gets the group data.

Returns:

getComponent

public ComponentInstLight getComponent()
Gets the component data.

Returns:

getSpace

public SpaceInstLight getSpace()
Gets the space data.

Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.