1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
51 public interface SCLicenseLocalService {
52 public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(
53 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteSCLicense(long licenseId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteSCLicense(
61 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portal.PortalException;
64
65 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> dynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> dynamicQuery(
70 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71 int begin, int end) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(
74 com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.softwarecatalog.model.SCLicense addLicense(
78 java.lang.String name, java.lang.String url, boolean openSource,
79 boolean active, boolean recommended)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portal.PortalException;
82
83 public void deleteLicense(long licenseId)
84 throws com.liferay.portal.SystemException,
85 com.liferay.portal.PortalException;
86
87 public com.liferay.portlet.softwarecatalog.model.SCLicense getLicense(
88 long licenseId)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portal.PortalException;
91
92 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses()
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
96 int begin, int end) throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
99 boolean active, boolean recommended)
100 throws com.liferay.portal.SystemException;
101
102 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getLicenses(
103 boolean active, boolean recommended, int begin, int end)
104 throws com.liferay.portal.SystemException;
105
106 public int getLicensesCount() throws com.liferay.portal.SystemException;
107
108 public int getLicensesCount(boolean active, boolean recommended)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getProductEntryLicenses(
112 long productEntryId)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portal.PortalException;
115
116 public com.liferay.portlet.softwarecatalog.model.SCLicense updateLicense(
117 long licenseId, java.lang.String name, java.lang.String url,
118 boolean openSource, boolean active, boolean recommended)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portal.PortalException;
121 }