Class SubscriptionLinkHome
java.lang.Object
fr.paris.lutece.plugins.broadcastproxy.business.SubscriptionLinkHome
This class provides instances management methods (create, find, ...) for SubscriptionLink objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionLinkcreate(SubscriptionLink subscriptionLink) Create an instance of the subscriptionLink classstatic booleanReturn true if exist disabled newsletterstatic Optional<SubscriptionLink>findByPrimaryKey(int nKey) Returns an instance of a subscriptionLink whose identifier is specified in parameterstatic Optional<SubscriptionLink>findBySubscriptionId(int nSubscriptionId) Returns an instance of a subscriptionLink whose identifier is specified in parameterLoad the id of all the subscriptionLink objects and returns them as a liststatic List<SubscriptionLink>Load the data of all the subscriptionLink objects and returns them as a liststatic List<SubscriptionLink>getSubscriptionLinksListByIds(List<Integer> listIds) Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListLoad the data of all the subscriptionLink objects and returns them as a referenceListstatic voidremove(int nKey) Remove the subscriptionLink whose identifier is specified in parameterstatic SubscriptionLinkupdate(SubscriptionLink subscriptionLink) Update of the subscriptionLink which is specified in parameter
-
Method Details
-
create
Create an instance of the subscriptionLink class- Parameters:
subscriptionLink- The instance of the SubscriptionLink which contains the informations to store- Returns:
- The instance of subscriptionLink which has been created with its primary key.
-
update
Update of the subscriptionLink which is specified in parameter- Parameters:
subscriptionLink- The instance of the SubscriptionLink which contains the data to store- Returns:
- The instance of the subscriptionLink which has been updated
-
remove
public static void remove(int nKey) Remove the subscriptionLink whose identifier is specified in parameter- Parameters:
nKey- The subscriptionLink Id
-
findByPrimaryKey
Returns an instance of a subscriptionLink whose identifier is specified in parameter- Parameters:
nKey- The subscriptionLink primary key- Returns:
- an instance of SubscriptionLink
-
findBySubscriptionId
Returns an instance of a subscriptionLink whose identifier is specified in parameter- Parameters:
nSubscriptionId- The subscriptionLink subscription id- Returns:
- an instance of SubscriptionLink
-
getSubscriptionLinksList
Load the data of all the subscriptionLink objects and returns them as a list- Returns:
- the list which contains the data of all the subscriptionLink objects
-
getIdSubscriptionLinksList
Load the id of all the subscriptionLink objects and returns them as a list- Returns:
- the list which contains the id of all the subscriptionLink objects
-
getSubscriptionLinksReferenceList
public static fr.paris.lutece.util.ReferenceList getSubscriptionLinksReferenceList()Load the data of all the subscriptionLink objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the subscriptionLink objects
-
getSubscriptionLinksListByIds
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-
existDisabledNewsletter
public static boolean existDisabledNewsletter()Return true if exist disabled newsletter- Parameters:
plugin-- Returns:
- Return true if exist disabled newsletter
-