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