|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseLocalServiceImpl com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
public abstract class SCLicenseLocalServiceBaseImpl
Provides the base implementation for the s c license local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in SCLicenseLocalServiceImpl
.
SCLicenseLocalServiceImpl
,
SCLicenseLocalServiceUtil
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
SCLicenseLocalServiceBaseImpl()
|
Method Summary | |
---|---|
SCLicense |
addSCLicense(SCLicense scLicense)
Adds the s c license to the database. |
void |
addSCProductEntrySCLicense(long productEntryId,
long licenseId)
|
void |
addSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
|
void |
addSCProductEntrySCLicenses(long productEntryId,
List<SCLicense> SCLicenses)
|
void |
addSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
|
void |
afterPropertiesSet()
|
void |
clearSCProductEntrySCLicenses(long productEntryId)
|
SCLicense |
createSCLicense(long licenseId)
Creates a new s c license with the primary key. |
SCLicense |
deleteSCLicense(long licenseId)
Deletes the s c license with the primary key from the database. |
SCLicense |
deleteSCLicense(SCLicense scLicense)
Deletes the s c license from the database. |
void |
deleteSCProductEntrySCLicense(long productEntryId,
long licenseId)
|
void |
deleteSCProductEntrySCLicense(long productEntryId,
SCLicense scLicense)
|
void |
deleteSCProductEntrySCLicenses(long productEntryId,
List<SCLicense> SCLicenses)
|
void |
deleteSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
|
void |
destroy()
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
SCLicense |
fetchSCLicense(long licenseId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
ResourceLocalService |
getResourceLocalService()
Returns the resource local service. |
SCFrameworkVersionLocalService |
getSCFrameworkVersionLocalService()
Returns the s c framework version local service. |
SCFrameworkVersionPersistence |
getSCFrameworkVersionPersistence()
Returns the s c framework version persistence. |
SCFrameworkVersionService |
getSCFrameworkVersionService()
Returns the s c framework version remote service. |
SCLicense |
getSCLicense(long licenseId)
Returns the s c license with the primary key. |
SCLicenseLocalService |
getSCLicenseLocalService()
Returns the s c license local service. |
SCLicensePersistence |
getSCLicensePersistence()
Returns the s c license persistence. |
List<SCLicense> |
getSCLicenses(int start,
int end)
Returns a range of all the s c licenses. |
int |
getSCLicensesCount()
Returns the number of s c licenses. |
SCLicenseService |
getSCLicenseService()
Returns the s c license remote service. |
SCProductEntryLocalService |
getSCProductEntryLocalService()
Returns the s c product entry local service. |
SCProductEntryPersistence |
getSCProductEntryPersistence()
Returns the s c product entry persistence. |
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId)
|
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end)
|
List<SCLicense> |
getSCProductEntrySCLicenses(long productEntryId,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getSCProductEntrySCLicensesCount(long productEntryId)
|
SCProductEntryService |
getSCProductEntryService()
Returns the s c product entry remote service. |
SCProductScreenshotLocalService |
getSCProductScreenshotLocalService()
Returns the s c product screenshot local service. |
SCProductScreenshotPersistence |
getSCProductScreenshotPersistence()
Returns the s c product screenshot persistence. |
SCProductVersionLocalService |
getSCProductVersionLocalService()
Returns the s c product version local service. |
SCProductVersionPersistence |
getSCProductVersionPersistence()
Returns the s c product version persistence. |
SCProductVersionService |
getSCProductVersionService()
Returns the s c product version remote service. |
UserFinder |
getUserFinder()
Returns the user finder. |
UserLocalService |
getUserLocalService()
Returns the user local service. |
UserPersistence |
getUserPersistence()
Returns the user persistence. |
UserService |
getUserService()
Returns the user remote service. |
boolean |
hasSCProductEntrySCLicense(long productEntryId,
long licenseId)
|
boolean |
hasSCProductEntrySCLicenses(long productEntryId)
|
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service. |
void |
setSCFrameworkVersionLocalService(SCFrameworkVersionLocalService scFrameworkVersionLocalService)
Sets the s c framework version local service. |
void |
setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
Sets the s c framework version persistence. |
void |
setSCFrameworkVersionService(SCFrameworkVersionService scFrameworkVersionService)
Sets the s c framework version remote service. |
void |
setSCLicenseLocalService(SCLicenseLocalService scLicenseLocalService)
Sets the s c license local service. |
void |
setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
Sets the s c license persistence. |
void |
setSCLicenseService(SCLicenseService scLicenseService)
Sets the s c license remote service. |
void |
setSCProductEntryLocalService(SCProductEntryLocalService scProductEntryLocalService)
Sets the s c product entry local service. |
void |
setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
Sets the s c product entry persistence. |
void |
setSCProductEntrySCLicenses(long productEntryId,
long[] licenseIds)
|
void |
setSCProductEntryService(SCProductEntryService scProductEntryService)
Sets the s c product entry remote service. |
void |
setSCProductScreenshotLocalService(SCProductScreenshotLocalService scProductScreenshotLocalService)
Sets the s c product screenshot local service. |
void |
setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
Sets the s c product screenshot persistence. |
void |
setSCProductVersionLocalService(SCProductVersionLocalService scProductVersionLocalService)
Sets the s c product version local service. |
void |
setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
Sets the s c product version persistence. |
void |
setSCProductVersionService(SCProductVersionService scProductVersionService)
Sets the s c product version remote service. |
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
void |
setUserService(UserService userService)
Sets the user remote service. |
SCLicense |
updateSCLicense(SCLicense scLicense)
Updates the s c license in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService |
---|
addLicense, deleteLicense, deleteLicense, getLicense, getLicenses, getLicenses, getLicenses, getLicenses, getLicensesCount, getLicensesCount, getProductEntryLicenses, updateLicense |
Field Detail |
---|
@BeanReference(type=SCFrameworkVersionLocalService.class) protected SCFrameworkVersionLocalService scFrameworkVersionLocalService
@BeanReference(type=SCFrameworkVersionService.class) protected SCFrameworkVersionService scFrameworkVersionService
@BeanReference(type=SCFrameworkVersionPersistence.class) protected SCFrameworkVersionPersistence scFrameworkVersionPersistence
@BeanReference(type=SCLicenseLocalService.class) protected SCLicenseLocalService scLicenseLocalService
@BeanReference(type=SCLicenseService.class) protected SCLicenseService scLicenseService
@BeanReference(type=SCLicensePersistence.class) protected SCLicensePersistence scLicensePersistence
@BeanReference(type=SCProductEntryLocalService.class) protected SCProductEntryLocalService scProductEntryLocalService
@BeanReference(type=SCProductEntryService.class) protected SCProductEntryService scProductEntryService
@BeanReference(type=SCProductEntryPersistence.class) protected SCProductEntryPersistence scProductEntryPersistence
@BeanReference(type=SCProductScreenshotLocalService.class) protected SCProductScreenshotLocalService scProductScreenshotLocalService
@BeanReference(type=SCProductScreenshotPersistence.class) protected SCProductScreenshotPersistence scProductScreenshotPersistence
@BeanReference(type=SCProductVersionLocalService.class) protected SCProductVersionLocalService scProductVersionLocalService
@BeanReference(type=SCProductVersionService.class) protected SCProductVersionService scProductVersionService
@BeanReference(type=SCProductVersionPersistence.class) protected SCProductVersionPersistence scProductVersionPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public SCLicenseLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public SCLicense addSCLicense(SCLicense scLicense) throws SystemException
addSCLicense
in interface SCLicenseLocalService
scLicense
- the s c license
SystemException
- if a system exception occurredpublic SCLicense createSCLicense(long licenseId)
createSCLicense
in interface SCLicenseLocalService
licenseId
- the primary key for the new s c license
@Indexable(type=DELETE) public SCLicense deleteSCLicense(long licenseId) throws PortalException, SystemException
deleteSCLicense
in interface SCLicenseLocalService
licenseId
- the primary key of the s c license
PortalException
- if a s c license with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public SCLicense deleteSCLicense(SCLicense scLicense) throws SystemException
deleteSCLicense
in interface SCLicenseLocalService
scLicense
- the s c license
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface SCLicenseLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from SCLicenseModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from SCLicenseModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface SCLicenseLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface SCLicenseLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface SCLicenseLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic SCLicense fetchSCLicense(long licenseId) throws SystemException
fetchSCLicense
in interface SCLicenseLocalService
SystemException
public SCLicense getSCLicense(long licenseId) throws PortalException, SystemException
getSCLicense
in interface SCLicenseLocalService
licenseId
- the primary key of the s c license
PortalException
- if a s c license with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface SCLicenseLocalService
PortalException
SystemException
public List<SCLicense> getSCLicenses(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from SCLicenseModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCLicenses
in interface SCLicenseLocalService
start
- the lower bound of the range of s c licensesend
- the upper bound of the range of s c licenses (not inclusive)
SystemException
- if a system exception occurredpublic int getSCLicensesCount() throws SystemException
getSCLicensesCount
in interface SCLicenseLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public SCLicense updateSCLicense(SCLicense scLicense) throws SystemException
updateSCLicense
in interface SCLicenseLocalService
scLicense
- the s c license
SystemException
- if a system exception occurredpublic void addSCProductEntrySCLicense(long productEntryId, long licenseId) throws SystemException
addSCProductEntrySCLicense
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void addSCProductEntrySCLicense(long productEntryId, SCLicense scLicense) throws SystemException
addSCProductEntrySCLicense
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void addSCProductEntrySCLicenses(long productEntryId, long[] licenseIds) throws SystemException
addSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void addSCProductEntrySCLicenses(long productEntryId, List<SCLicense> SCLicenses) throws SystemException
addSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void clearSCProductEntrySCLicenses(long productEntryId) throws SystemException
clearSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void deleteSCProductEntrySCLicense(long productEntryId, long licenseId) throws SystemException
deleteSCProductEntrySCLicense
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void deleteSCProductEntrySCLicense(long productEntryId, SCLicense scLicense) throws SystemException
deleteSCProductEntrySCLicense
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void deleteSCProductEntrySCLicenses(long productEntryId, long[] licenseIds) throws SystemException
deleteSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void deleteSCProductEntrySCLicenses(long productEntryId, List<SCLicense> SCLicenses) throws SystemException
deleteSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic List<SCLicense> getSCProductEntrySCLicenses(long productEntryId) throws SystemException
getSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic List<SCLicense> getSCProductEntrySCLicenses(long productEntryId, int start, int end) throws SystemException
getSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic List<SCLicense> getSCProductEntrySCLicenses(long productEntryId, int start, int end, OrderByComparator orderByComparator) throws SystemException
getSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic int getSCProductEntrySCLicensesCount(long productEntryId) throws SystemException
getSCProductEntrySCLicensesCount
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic boolean hasSCProductEntrySCLicense(long productEntryId, long licenseId) throws SystemException
hasSCProductEntrySCLicense
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic boolean hasSCProductEntrySCLicenses(long productEntryId) throws SystemException
hasSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic void setSCProductEntrySCLicenses(long productEntryId, long[] licenseIds) throws SystemException
setSCProductEntrySCLicenses
in interface SCLicenseLocalService
SystemException
- if a system exception occurredpublic SCFrameworkVersionLocalService getSCFrameworkVersionLocalService()
public void setSCFrameworkVersionLocalService(SCFrameworkVersionLocalService scFrameworkVersionLocalService)
scFrameworkVersionLocalService
- the s c framework version local servicepublic SCFrameworkVersionService getSCFrameworkVersionService()
public void setSCFrameworkVersionService(SCFrameworkVersionService scFrameworkVersionService)
scFrameworkVersionService
- the s c framework version remote servicepublic SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
public void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
scFrameworkVersionPersistence
- the s c framework version persistencepublic SCLicenseLocalService getSCLicenseLocalService()
public void setSCLicenseLocalService(SCLicenseLocalService scLicenseLocalService)
scLicenseLocalService
- the s c license local servicepublic SCLicenseService getSCLicenseService()
public void setSCLicenseService(SCLicenseService scLicenseService)
scLicenseService
- the s c license remote servicepublic SCLicensePersistence getSCLicensePersistence()
public void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
scLicensePersistence
- the s c license persistencepublic SCProductEntryLocalService getSCProductEntryLocalService()
public void setSCProductEntryLocalService(SCProductEntryLocalService scProductEntryLocalService)
scProductEntryLocalService
- the s c product entry local servicepublic SCProductEntryService getSCProductEntryService()
public void setSCProductEntryService(SCProductEntryService scProductEntryService)
scProductEntryService
- the s c product entry remote servicepublic SCProductEntryPersistence getSCProductEntryPersistence()
public void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
scProductEntryPersistence
- the s c product entry persistencepublic SCProductScreenshotLocalService getSCProductScreenshotLocalService()
public void setSCProductScreenshotLocalService(SCProductScreenshotLocalService scProductScreenshotLocalService)
scProductScreenshotLocalService
- the s c product screenshot local servicepublic SCProductScreenshotPersistence getSCProductScreenshotPersistence()
public void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
scProductScreenshotPersistence
- the s c product screenshot persistencepublic SCProductVersionLocalService getSCProductVersionLocalService()
public void setSCProductVersionLocalService(SCProductVersionLocalService scProductVersionLocalService)
scProductVersionLocalService
- the s c product version local servicepublic SCProductVersionService getSCProductVersionService()
public void setSCProductVersionService(SCProductVersionService scProductVersionService)
scProductVersionService
- the s c product version remote servicepublic SCProductVersionPersistence getSCProductVersionPersistence()
public void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
scProductVersionPersistence
- the s c product version persistencepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService
- the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService
- the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence
- the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder
- the user finderpublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface SCLicenseLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface SCLicenseLocalService
beanIdentifier
- the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql) throws SystemException
sql
- the sql query
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |