com.liferay.portlet.softwarecatalog.service.base
Class SCLicenseLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.base.SCLicenseLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Direct Known Subclasses:
SCLicenseLocalServiceImpl

public abstract class SCLicenseLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of 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.

Author:
Brian Wing Shun Chan
See Also:
SCLicenseLocalServiceImpl, SCLicenseLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService
           
protected  com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService
           
protected  com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService
           
protected  com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
SCLicenseLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
          Adds the s c license to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(long licenseId)
          Creates a new s c license with the primary key.
 void deleteSCLicense(long licenseId)
          Deletes the s c license with the primary key from the database.
 void deleteSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
          Deletes the s c license from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.softwarecatalog.model.SCLicense fetchSCLicense(long licenseId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService getSCFrameworkVersionLocalService()
          Returns the s c framework version local service.
 com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
          Returns the s c framework version persistence.
 com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService getSCFrameworkVersionService()
          Returns the s c framework version remote service.
 com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(long licenseId)
          Returns the s c license with the primary key.
 com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService getSCLicenseLocalService()
          Returns the s c license local service.
 com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence getSCLicensePersistence()
          Returns the s c license persistence.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(int start, int end)
          Returns a range of all the s c licenses.
 int getSCLicensesCount()
          Returns the number of s c licenses.
 com.liferay.portlet.softwarecatalog.service.SCLicenseService getSCLicenseService()
          Returns the s c license remote service.
 com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService getSCProductEntryLocalService()
          Returns the s c product entry local service.
 com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence getSCProductEntryPersistence()
          Returns the s c product entry persistence.
 com.liferay.portlet.softwarecatalog.service.SCProductEntryService getSCProductEntryService()
          Returns the s c product entry remote service.
 com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService getSCProductScreenshotLocalService()
          Returns the s c product screenshot local service.
 com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence getSCProductScreenshotPersistence()
          Returns the s c product screenshot persistence.
 com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService getSCProductVersionLocalService()
          Returns the s c product version local service.
 com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence getSCProductVersionPersistence()
          Returns the s c product version persistence.
 com.liferay.portlet.softwarecatalog.service.SCProductVersionService getSCProductVersionService()
          Returns the s c product version remote service.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setSCFrameworkVersionLocalService(com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService)
          Sets the s c framework version local service.
 void setSCFrameworkVersionPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence)
          Sets the s c framework version persistence.
 void setSCFrameworkVersionService(com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService)
          Sets the s c framework version remote service.
 void setSCLicenseLocalService(com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService)
          Sets the s c license local service.
 void setSCLicensePersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence)
          Sets the s c license persistence.
 void setSCLicenseService(com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService)
          Sets the s c license remote service.
 void setSCProductEntryLocalService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService)
          Sets the s c product entry local service.
 void setSCProductEntryPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence)
          Sets the s c product entry persistence.
 void setSCProductEntryService(com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService)
          Sets the s c product entry remote service.
 void setSCProductScreenshotLocalService(com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService)
          Sets the s c product screenshot local service.
 void setSCProductScreenshotPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence)
          Sets the s c product screenshot persistence.
 void setSCProductVersionLocalService(com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService)
          Sets the s c product version local service.
 void setSCProductVersionPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence)
          Sets the s c product version persistence.
 void setSCProductVersionService(com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService)
          Sets the s c product version remote service.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
          Updates the s c license in the database or adds it if it does not yet exist.
 com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense, boolean merge)
          Updates the s c license in the database or adds it if it does not yet exist.
 
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

scFrameworkVersionLocalService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService

scFrameworkVersionService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService.class)
protected com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService

scFrameworkVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence

scLicenseLocalService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService

scLicenseService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCLicenseService.class)
protected com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService

scLicensePersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence

scProductEntryLocalService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService

scProductEntryService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductEntryService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService

scProductEntryPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotLocalService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService

scProductScreenshotPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionLocalService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService

scProductVersionService

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.SCProductVersionService.class)
protected com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService

scProductVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

SCLicenseLocalServiceBaseImpl

public SCLicenseLocalServiceBaseImpl()
Method Detail

addSCLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense addSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                                                                 throws com.liferay.portal.kernel.exception.SystemException
Adds the s c license to the database. Also notifies the appropriate model listeners.

Specified by:
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
scLicense - the s c license
Returns:
the s c license that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createSCLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense createSCLicense(long licenseId)
Creates a new s c license with the primary key. Does not add the s c license to the database.

Specified by:
createSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
licenseId - the primary key for the new s c license
Returns:
the new s c license

deleteSCLicense

public void deleteSCLicense(long licenseId)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Deletes the s c license with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
licenseId - the primary key of the s c license
Throws:
com.liferay.portal.kernel.exception.PortalException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteSCLicense

public void deleteSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                     throws com.liferay.portal.kernel.exception.SystemException
Deletes the s c license from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
scLicense - the s c license
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchSCLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense fetchSCLicense(long licenseId)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getSCLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense getSCLicense(long licenseId)
                                                                 throws com.liferay.portal.kernel.exception.PortalException,
                                                                        com.liferay.portal.kernel.exception.SystemException
Returns the s c license with the primary key.

Specified by:
getSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
licenseId - the primary key of the s c license
Returns:
the s c license
Throws:
com.liferay.portal.kernel.exception.PortalException - if a s c license with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(int start,
                                                                                         int end)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c licenses.

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.

Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
start - the lower bound of the range of s c licenses
end - the upper bound of the range of s c licenses (not inclusive)
Returns:
the range of s c licenses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCLicensesCount

public int getSCLicensesCount()
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c licenses.

Specified by:
getSCLicensesCount in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Returns:
the number of s c licenses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateSCLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                                                                    throws com.liferay.portal.kernel.exception.SystemException
Updates the s c license in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
scLicense - the s c license
Returns:
the s c license that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateSCLicense

public com.liferay.portlet.softwarecatalog.model.SCLicense updateSCLicense(com.liferay.portlet.softwarecatalog.model.SCLicense scLicense,
                                                                           boolean merge)
                                                                    throws com.liferay.portal.kernel.exception.SystemException
Updates the s c license in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSCLicense in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
scLicense - the s c license
merge - whether to merge the s c license with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the s c license that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCFrameworkVersionLocalService

public com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService getSCFrameworkVersionLocalService()
Returns the s c framework version local service.

Returns:
the s c framework version local service

setSCFrameworkVersionLocalService

public void setSCFrameworkVersionLocalService(com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionLocalService scFrameworkVersionLocalService)
Sets the s c framework version local service.

Parameters:
scFrameworkVersionLocalService - the s c framework version local service

getSCFrameworkVersionService

public com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService getSCFrameworkVersionService()
Returns the s c framework version remote service.

Returns:
the s c framework version remote service

setSCFrameworkVersionService

public void setSCFrameworkVersionService(com.liferay.portlet.softwarecatalog.service.SCFrameworkVersionService scFrameworkVersionService)
Sets the s c framework version remote service.

Parameters:
scFrameworkVersionService - the s c framework version remote service

getSCFrameworkVersionPersistence

public com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
Returns the s c framework version persistence.

Returns:
the s c framework version persistence

setSCFrameworkVersionPersistence

public void setSCFrameworkVersionPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence)
Sets the s c framework version persistence.

Parameters:
scFrameworkVersionPersistence - the s c framework version persistence

getSCLicenseLocalService

public com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService getSCLicenseLocalService()
Returns the s c license local service.

Returns:
the s c license local service

setSCLicenseLocalService

public void setSCLicenseLocalService(com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService scLicenseLocalService)
Sets the s c license local service.

Parameters:
scLicenseLocalService - the s c license local service

getSCLicenseService

public com.liferay.portlet.softwarecatalog.service.SCLicenseService getSCLicenseService()
Returns the s c license remote service.

Returns:
the s c license remote service

setSCLicenseService

public void setSCLicenseService(com.liferay.portlet.softwarecatalog.service.SCLicenseService scLicenseService)
Sets the s c license remote service.

Parameters:
scLicenseService - the s c license remote service

getSCLicensePersistence

public com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence getSCLicensePersistence()
Returns the s c license persistence.

Returns:
the s c license persistence

setSCLicensePersistence

public void setSCLicensePersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence)
Sets the s c license persistence.

Parameters:
scLicensePersistence - the s c license persistence

getSCProductEntryLocalService

public com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService getSCProductEntryLocalService()
Returns the s c product entry local service.

Returns:
the s c product entry local service

setSCProductEntryLocalService

public void setSCProductEntryLocalService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService scProductEntryLocalService)
Sets the s c product entry local service.

Parameters:
scProductEntryLocalService - the s c product entry local service

getSCProductEntryService

public com.liferay.portlet.softwarecatalog.service.SCProductEntryService getSCProductEntryService()
Returns the s c product entry remote service.

Returns:
the s c product entry remote service

setSCProductEntryService

public void setSCProductEntryService(com.liferay.portlet.softwarecatalog.service.SCProductEntryService scProductEntryService)
Sets the s c product entry remote service.

Parameters:
scProductEntryService - the s c product entry remote service

getSCProductEntryPersistence

public com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence getSCProductEntryPersistence()
Returns the s c product entry persistence.

Returns:
the s c product entry persistence

setSCProductEntryPersistence

public void setSCProductEntryPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence)
Sets the s c product entry persistence.

Parameters:
scProductEntryPersistence - the s c product entry persistence

getSCProductScreenshotLocalService

public com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService getSCProductScreenshotLocalService()
Returns the s c product screenshot local service.

Returns:
the s c product screenshot local service

setSCProductScreenshotLocalService

public void setSCProductScreenshotLocalService(com.liferay.portlet.softwarecatalog.service.SCProductScreenshotLocalService scProductScreenshotLocalService)
Sets the s c product screenshot local service.

Parameters:
scProductScreenshotLocalService - the s c product screenshot local service

getSCProductScreenshotPersistence

public com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence getSCProductScreenshotPersistence()
Returns the s c product screenshot persistence.

Returns:
the s c product screenshot persistence

setSCProductScreenshotPersistence

public void setSCProductScreenshotPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence)
Sets the s c product screenshot persistence.

Parameters:
scProductScreenshotPersistence - the s c product screenshot persistence

getSCProductVersionLocalService

public com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService getSCProductVersionLocalService()
Returns the s c product version local service.

Returns:
the s c product version local service

setSCProductVersionLocalService

public void setSCProductVersionLocalService(com.liferay.portlet.softwarecatalog.service.SCProductVersionLocalService scProductVersionLocalService)
Sets the s c product version local service.

Parameters:
scProductVersionLocalService - the s c product version local service

getSCProductVersionService

public com.liferay.portlet.softwarecatalog.service.SCProductVersionService getSCProductVersionService()
Returns the s c product version remote service.

Returns:
the s c product version remote service

setSCProductVersionService

public void setSCProductVersionService(com.liferay.portlet.softwarecatalog.service.SCProductVersionService scProductVersionService)
Sets the s c product version remote service.

Parameters:
scProductVersionService - the s c product version remote service

getSCProductVersionPersistence

public com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence getSCProductVersionPersistence()
Returns the s c product version persistence.

Returns:
the s c product version persistence

setSCProductVersionPersistence

public void setSCProductVersionPersistence(com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence)
Sets the s c product version persistence.

Parameters:
scProductVersionPersistence - the s c product version persistence

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(com.liferay.portal.service.ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public java.lang.String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.softwarecatalog.service.SCLicenseLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException