Package org.dspace.eperson
Class Subscription
java.lang.Object
org.dspace.eperson.Subscription
- All Implemented Interfaces:
ReloadableEntity<Integer>
Database entity representation of the subscription table
- Author:
- kevinvandevelde at atmire.com
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected constructor, create object using:SubscribeService.subscribe(Context, EPerson, DSpaceObject, List, String) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(SubscriptionParameter subscriptionParameter) getID()The unique identifier of this entity instance.voidremoveParameter(SubscriptionParameter subscriptionParameter) voidvoidsetEPerson(EPerson ePerson) voidsetSubscriptionParameterList(List<SubscriptionParameter> subscriptionList) voidsetSubscriptionType(String subscriptionType)
-
Constructor Details
-
Subscription
protected Subscription()Protected constructor, create object using:SubscribeService.subscribe(Context, EPerson, DSpaceObject, List, String)
-
-
Method Details
-
getID
Description copied from interface:ReloadableEntityThe unique identifier of this entity instance.- Specified by:
getIDin interfaceReloadableEntity<Integer>- Returns:
- the value of the primary key for this instance.
-
getDSpaceObject
-
getEPerson
-
setEPerson
-
getSubscriptionType
-
setSubscriptionType
-
getSubscriptionParameterList
-
setSubscriptionParameterList
-
addParameter
-
removeParameterList
public void removeParameterList() -
removeParameter
-