Class SubscriptionLinkHome
- java.lang.Object
-
- fr.paris.lutece.plugins.broadcastproxy.business.SubscriptionLinkHome
-
public final class SubscriptionLinkHome extends Object
This class provides instances management methods (create, find, ...) for SubscriptionLink objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubscriptionLinkcreate(SubscriptionLink subscriptionLink)Create an instance of the subscriptionLink classstatic booleanexistDisabledNewsletter()Return 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 parameterstatic List<Integer>getIdSubscriptionLinksList()Load the id of all the subscriptionLink objects and returns them as a liststatic List<SubscriptionLink>getSubscriptionLinksList()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.ReferenceListgetSubscriptionLinksReferenceList()Load 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 Detail
-
create
public static SubscriptionLink create(SubscriptionLink subscriptionLink)
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
public static SubscriptionLink update(SubscriptionLink subscriptionLink)
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
public static Optional<SubscriptionLink> findByPrimaryKey(int nKey)
Returns an instance of a subscriptionLink whose identifier is specified in parameter- Parameters:
nKey- The subscriptionLink primary key- Returns:
- an instance of SubscriptionLink
-
findBySubscriptionId
public static Optional<SubscriptionLink> findBySubscriptionId(int nSubscriptionId)
Returns an instance of a subscriptionLink whose identifier is specified in parameter- Parameters:
nSubscriptionId- The subscriptionLink subscription id- Returns:
- an instance of SubscriptionLink
-
getSubscriptionLinksList
public static List<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
public static List<Integer> 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
public static List<SubscriptionLink> getSubscriptionLinksListByIds(List<Integer> listIds)
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
-
-