Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.softwarecatalog.service.base.SCProductEntryLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, SCProductEntryLocalService
Direct Known Subclasses:
SCProductEntryLocalServiceImpl

public abstract class SCProductEntryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements SCProductEntryLocalService, IdentifiableBean

Provides the base implementation for the s c product entry 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 SCProductEntryLocalServiceImpl.

See Also:
SCProductEntryLocalServiceImpl, SCProductEntryLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  ImageLocalService imageLocalService
           
protected  ImagePersistence imagePersistence
           
protected  ImageService imageService
           
protected  MBMessageFinder mbMessageFinder
           
protected  MBMessageLocalService mbMessageLocalService
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  MBMessageService mbMessageService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  RatingsStatsFinder ratingsStatsFinder
           
protected  RatingsStatsLocalService ratingsStatsLocalService
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourceLocalService resourceLocalService
           
protected  SCFrameworkVersionLocalService scFrameworkVersionLocalService
           
protected  SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  SCFrameworkVersionService scFrameworkVersionService
           
protected  SCLicenseLocalService scLicenseLocalService
           
protected  SCLicensePersistence scLicensePersistence
           
protected  SCLicenseService scLicenseService
           
protected  SCProductEntryLocalService scProductEntryLocalService
           
protected  SCProductEntryPersistence scProductEntryPersistence
           
protected  SCProductEntryService scProductEntryService
           
protected  SCProductScreenshotLocalService scProductScreenshotLocalService
           
protected  SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  SCProductVersionLocalService scProductVersionLocalService
           
protected  SCProductVersionPersistence scProductVersionPersistence
           
protected  SCProductVersionService scProductVersionService
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
SCProductEntryLocalServiceBaseImpl()
           
 
Method Summary
 void addSCLicenseSCProductEntries(long licenseId, List<SCProductEntry> SCProductEntries)
           
 void addSCLicenseSCProductEntries(long licenseId, long[] productEntryIds)
           
 void addSCLicenseSCProductEntry(long licenseId, long productEntryId)
           
 void addSCLicenseSCProductEntry(long licenseId, SCProductEntry scProductEntry)
           
 SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
          Adds the s c product entry to the database.
 void afterPropertiesSet()
           
 void clearSCLicenseSCProductEntries(long licenseId)
           
 SCProductEntry createSCProductEntry(long productEntryId)
          Creates a new s c product entry with the primary key.
 void deleteSCLicenseSCProductEntries(long licenseId, List<SCProductEntry> SCProductEntries)
           
 void deleteSCLicenseSCProductEntries(long licenseId, long[] productEntryIds)
           
 void deleteSCLicenseSCProductEntry(long licenseId, long productEntryId)
           
 void deleteSCLicenseSCProductEntry(long licenseId, SCProductEntry scProductEntry)
           
 SCProductEntry deleteSCProductEntry(long productEntryId)
          Deletes the s c product entry with the primary key from the database.
 SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry)
          Deletes the s c product entry from the database.
 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.
 SCProductEntry fetchSCProductEntry(long productEntryId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote service.
 ImageLocalService getImageLocalService()
          Returns the image local service.
 ImagePersistence getImagePersistence()
          Returns the image persistence.
 ImageService getImageService()
          Returns the image remote service.
 MBMessageFinder getMBMessageFinder()
          Returns the message-boards message finder.
 MBMessageLocalService getMBMessageLocalService()
          Returns the message-boards message local service.
 MBMessagePersistence getMBMessagePersistence()
          Returns the message-boards message persistence.
 MBMessageService getMBMessageService()
          Returns the message-boards message remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 RatingsStatsFinder getRatingsStatsFinder()
          Returns the ratings stats finder.
 RatingsStatsLocalService getRatingsStatsLocalService()
          Returns the ratings stats local service.
 RatingsStatsPersistence getRatingsStatsPersistence()
          Returns the ratings stats persistence.
 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.
 SCLicenseLocalService getSCLicenseLocalService()
          Returns the s c license local service.
 SCLicensePersistence getSCLicensePersistence()
          Returns the s c license persistence.
 List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId)
           
 List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end)
           
 List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end, OrderByComparator orderByComparator)
           
 int getSCLicenseSCProductEntriesCount(long licenseId)
           
 SCLicenseService getSCLicenseService()
          Returns the s c license remote service.
 List<SCProductEntry> getSCProductEntries(int start, int end)
          Returns a range of all the s c product entries.
 int getSCProductEntriesCount()
          Returns the number of s c product entries.
 SCProductEntry getSCProductEntry(long productEntryId)
          Returns the s c product entry with the primary key.
 SCProductEntryLocalService getSCProductEntryLocalService()
          Returns the s c product entry local service.
 SCProductEntryPersistence getSCProductEntryPersistence()
          Returns the s c product entry persistence.
 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.
 SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 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 hasSCLicenseSCProductEntries(long licenseId)
           
 boolean hasSCLicenseSCProductEntry(long licenseId, 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 setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setImageLocalService(ImageLocalService imageLocalService)
          Sets the image local service.
 void setImagePersistence(ImagePersistence imagePersistence)
          Sets the image persistence.
 void setImageService(ImageService imageService)
          Sets the image remote service.
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
          Sets the message-boards message finder.
 void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
          Sets the message-boards message local service.
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
          Sets the message-boards message persistence.
 void setMBMessageService(MBMessageService mbMessageService)
          Sets the message-boards message remote service.
 void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
          Sets the ratings stats finder.
 void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
          Sets the ratings stats local service.
 void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
          Sets the ratings stats persistence.
 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 setSCLicenseSCProductEntries(long licenseId, long[] productEntryIds)
           
 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 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 setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription persistence.
 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.
 SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
          Updates the s c product entry 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.SCProductEntryLocalService
addProductEntry, addProductEntryResources, addProductEntryResources, addProductEntryResources, addProductEntryResources, deleteProductEntries, deleteProductEntry, deleteProductEntry, getCompanyProductEntries, getCompanyProductEntriesCount, getProductEntries, getProductEntries, getProductEntries, getProductEntries, getProductEntriesCount, getProductEntriesCount, getProductEntry, getRepositoryXML, getRepositoryXML, updateProductEntry
 

Field Detail

scFrameworkVersionLocalService

@BeanReference(type=SCFrameworkVersionLocalService.class)
protected SCFrameworkVersionLocalService scFrameworkVersionLocalService

scFrameworkVersionService

@BeanReference(type=SCFrameworkVersionService.class)
protected SCFrameworkVersionService scFrameworkVersionService

scFrameworkVersionPersistence

@BeanReference(type=SCFrameworkVersionPersistence.class)
protected SCFrameworkVersionPersistence scFrameworkVersionPersistence

scLicenseLocalService

@BeanReference(type=SCLicenseLocalService.class)
protected SCLicenseLocalService scLicenseLocalService

scLicenseService

@BeanReference(type=SCLicenseService.class)
protected SCLicenseService scLicenseService

scLicensePersistence

@BeanReference(type=SCLicensePersistence.class)
protected SCLicensePersistence scLicensePersistence

scProductEntryLocalService

@BeanReference(type=SCProductEntryLocalService.class)
protected SCProductEntryLocalService scProductEntryLocalService

scProductEntryService

@BeanReference(type=SCProductEntryService.class)
protected SCProductEntryService scProductEntryService

scProductEntryPersistence

@BeanReference(type=SCProductEntryPersistence.class)
protected SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotLocalService

@BeanReference(type=SCProductScreenshotLocalService.class)
protected SCProductScreenshotLocalService scProductScreenshotLocalService

scProductScreenshotPersistence

@BeanReference(type=SCProductScreenshotPersistence.class)
protected SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionLocalService

@BeanReference(type=SCProductVersionLocalService.class)
protected SCProductVersionLocalService scProductVersionLocalService

scProductVersionService

@BeanReference(type=SCProductVersionService.class)
protected SCProductVersionService scProductVersionService

scProductVersionPersistence

@BeanReference(type=SCProductVersionPersistence.class)
protected SCProductVersionPersistence scProductVersionPersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

imageLocalService

@BeanReference(type=ImageLocalService.class)
protected ImageLocalService imageLocalService

imageService

@BeanReference(type=ImageService.class)
protected ImageService imageService

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

subscriptionLocalService

@BeanReference(type=SubscriptionLocalService.class)
protected SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

mbMessageLocalService

@BeanReference(type=MBMessageLocalService.class)
protected MBMessageLocalService mbMessageLocalService

mbMessageService

@BeanReference(type=MBMessageService.class)
protected MBMessageService mbMessageService

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

mbMessageFinder

@BeanReference(type=MBMessageFinder.class)
protected MBMessageFinder mbMessageFinder

ratingsStatsLocalService

@BeanReference(type=RatingsStatsLocalService.class)
protected RatingsStatsLocalService ratingsStatsLocalService

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence

ratingsStatsFinder

@BeanReference(type=RatingsStatsFinder.class)
protected RatingsStatsFinder ratingsStatsFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

SCProductEntryLocalServiceBaseImpl

public SCProductEntryLocalServiceBaseImpl()
Method Detail

addSCProductEntry

@Indexable(type=REINDEX)
public SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
                                 throws SystemException
Adds the s c product entry to the database. Also notifies the appropriate model listeners.

Specified by:
addSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry
Returns:
the s c product entry that was added
Throws:
SystemException - if a system exception occurred

createSCProductEntry

public SCProductEntry createSCProductEntry(long productEntryId)
Creates a new s c product entry with the primary key. Does not add the s c product entry to the database.

Specified by:
createSCProductEntry in interface SCProductEntryLocalService
Parameters:
productEntryId - the primary key for the new s c product entry
Returns:
the new s c product entry

deleteSCProductEntry

@Indexable(type=DELETE)
public SCProductEntry deleteSCProductEntry(long productEntryId)
                                    throws PortalException,
                                           SystemException
Deletes the s c product entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCProductEntry in interface SCProductEntryLocalService
Parameters:
productEntryId - the primary key of the s c product entry
Returns:
the s c product entry that was removed
Throws:
PortalException - if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred

deleteSCProductEntry

@Indexable(type=DELETE)
public SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry)
                                    throws SystemException
Deletes the s c product entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry
Returns:
the s c product entry that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface SCProductEntryLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws 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. 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 SCProductEntryModelImpl. 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.

Specified by:
dynamicQuery in interface SCProductEntryLocalService
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:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws 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. 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 SCProductEntryModelImpl. 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.

Specified by:
dynamicQuery in interface SCProductEntryLocalService
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:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface SCProductEntryLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchSCProductEntry

public SCProductEntry fetchSCProductEntry(long productEntryId)
                                   throws SystemException
Specified by:
fetchSCProductEntry in interface SCProductEntryLocalService
Throws:
SystemException

getSCProductEntry

public SCProductEntry getSCProductEntry(long productEntryId)
                                 throws PortalException,
                                        SystemException
Returns the s c product entry with the primary key.

Specified by:
getSCProductEntry in interface SCProductEntryLocalService
Parameters:
productEntryId - the primary key of the s c product entry
Returns:
the s c product entry
Throws:
PortalException - if a s c product entry with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface SCProductEntryLocalService
Throws:
PortalException
SystemException

getSCProductEntries

public List<SCProductEntry> getSCProductEntries(int start,
                                                int end)
                                         throws SystemException
Returns a range of all the s c product entries.

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 SCProductEntryModelImpl. 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.

Specified by:
getSCProductEntries in interface SCProductEntryLocalService
Parameters:
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of s c product entries
Throws:
SystemException - if a system exception occurred

getSCProductEntriesCount

public int getSCProductEntriesCount()
                             throws SystemException
Returns the number of s c product entries.

Specified by:
getSCProductEntriesCount in interface SCProductEntryLocalService
Returns:
the number of s c product entries
Throws:
SystemException - if a system exception occurred

updateSCProductEntry

@Indexable(type=REINDEX)
public SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
                                    throws SystemException
Updates the s c product entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateSCProductEntry in interface SCProductEntryLocalService
Parameters:
scProductEntry - the s c product entry
Returns:
the s c product entry that was updated
Throws:
SystemException - if a system exception occurred

addSCLicenseSCProductEntry

public void addSCLicenseSCProductEntry(long licenseId,
                                       long productEntryId)
                                throws SystemException
Specified by:
addSCLicenseSCProductEntry in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

addSCLicenseSCProductEntry

public void addSCLicenseSCProductEntry(long licenseId,
                                       SCProductEntry scProductEntry)
                                throws SystemException
Specified by:
addSCLicenseSCProductEntry in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

addSCLicenseSCProductEntries

public void addSCLicenseSCProductEntries(long licenseId,
                                         long[] productEntryIds)
                                  throws SystemException
Specified by:
addSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

addSCLicenseSCProductEntries

public void addSCLicenseSCProductEntries(long licenseId,
                                         List<SCProductEntry> SCProductEntries)
                                  throws SystemException
Specified by:
addSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

clearSCLicenseSCProductEntries

public void clearSCLicenseSCProductEntries(long licenseId)
                                    throws SystemException
Specified by:
clearSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

deleteSCLicenseSCProductEntry

public void deleteSCLicenseSCProductEntry(long licenseId,
                                          long productEntryId)
                                   throws SystemException
Specified by:
deleteSCLicenseSCProductEntry in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

deleteSCLicenseSCProductEntry

public void deleteSCLicenseSCProductEntry(long licenseId,
                                          SCProductEntry scProductEntry)
                                   throws SystemException
Specified by:
deleteSCLicenseSCProductEntry in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

deleteSCLicenseSCProductEntries

public void deleteSCLicenseSCProductEntries(long licenseId,
                                            long[] productEntryIds)
                                     throws SystemException
Specified by:
deleteSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

deleteSCLicenseSCProductEntries

public void deleteSCLicenseSCProductEntries(long licenseId,
                                            List<SCProductEntry> SCProductEntries)
                                     throws SystemException
Specified by:
deleteSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

getSCLicenseSCProductEntries

public List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId)
                                                  throws SystemException
Specified by:
getSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

getSCLicenseSCProductEntries

public List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId,
                                                         int start,
                                                         int end)
                                                  throws SystemException
Specified by:
getSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

getSCLicenseSCProductEntries

public List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
Specified by:
getSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

getSCLicenseSCProductEntriesCount

public int getSCLicenseSCProductEntriesCount(long licenseId)
                                      throws SystemException
Specified by:
getSCLicenseSCProductEntriesCount in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

hasSCLicenseSCProductEntry

public boolean hasSCLicenseSCProductEntry(long licenseId,
                                          long productEntryId)
                                   throws SystemException
Specified by:
hasSCLicenseSCProductEntry in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

hasSCLicenseSCProductEntries

public boolean hasSCLicenseSCProductEntries(long licenseId)
                                     throws SystemException
Specified by:
hasSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

setSCLicenseSCProductEntries

public void setSCLicenseSCProductEntries(long licenseId,
                                         long[] productEntryIds)
                                  throws SystemException
Specified by:
setSCLicenseSCProductEntries in interface SCProductEntryLocalService
Throws:
SystemException - if a system exception occurred

getSCFrameworkVersionLocalService

public SCFrameworkVersionLocalService getSCFrameworkVersionLocalService()
Returns the s c framework version local service.

Returns:
the s c framework version local service

setSCFrameworkVersionLocalService

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

Parameters:
scFrameworkVersionLocalService - the s c framework version local service

getSCFrameworkVersionService

public SCFrameworkVersionService getSCFrameworkVersionService()
Returns the s c framework version remote service.

Returns:
the s c framework version remote service

setSCFrameworkVersionService

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

Parameters:
scFrameworkVersionService - the s c framework version remote service

getSCFrameworkVersionPersistence

public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
Returns the s c framework version persistence.

Returns:
the s c framework version persistence

setSCFrameworkVersionPersistence

public void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
Sets the s c framework version persistence.

Parameters:
scFrameworkVersionPersistence - the s c framework version persistence

getSCLicenseLocalService

public SCLicenseLocalService getSCLicenseLocalService()
Returns the s c license local service.

Returns:
the s c license local service

setSCLicenseLocalService

public void setSCLicenseLocalService(SCLicenseLocalService scLicenseLocalService)
Sets the s c license local service.

Parameters:
scLicenseLocalService - the s c license local service

getSCLicenseService

public SCLicenseService getSCLicenseService()
Returns the s c license remote service.

Returns:
the s c license remote service

setSCLicenseService

public void setSCLicenseService(SCLicenseService scLicenseService)
Sets the s c license remote service.

Parameters:
scLicenseService - the s c license remote service

getSCLicensePersistence

public SCLicensePersistence getSCLicensePersistence()
Returns the s c license persistence.

Returns:
the s c license persistence

setSCLicensePersistence

public void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
Sets the s c license persistence.

Parameters:
scLicensePersistence - the s c license persistence

getSCProductEntryLocalService

public SCProductEntryLocalService getSCProductEntryLocalService()
Returns the s c product entry local service.

Returns:
the s c product entry local service

setSCProductEntryLocalService

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

Parameters:
scProductEntryLocalService - the s c product entry local service

getSCProductEntryService

public SCProductEntryService getSCProductEntryService()
Returns the s c product entry remote service.

Returns:
the s c product entry remote service

setSCProductEntryService

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

Parameters:
scProductEntryService - the s c product entry remote service

getSCProductEntryPersistence

public SCProductEntryPersistence getSCProductEntryPersistence()
Returns the s c product entry persistence.

Returns:
the s c product entry persistence

setSCProductEntryPersistence

public void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
Sets the s c product entry persistence.

Parameters:
scProductEntryPersistence - the s c product entry persistence

getSCProductScreenshotLocalService

public SCProductScreenshotLocalService getSCProductScreenshotLocalService()
Returns the s c product screenshot local service.

Returns:
the s c product screenshot local service

setSCProductScreenshotLocalService

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

Parameters:
scProductScreenshotLocalService - the s c product screenshot local service

getSCProductScreenshotPersistence

public SCProductScreenshotPersistence getSCProductScreenshotPersistence()
Returns the s c product screenshot persistence.

Returns:
the s c product screenshot persistence

setSCProductScreenshotPersistence

public void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
Sets the s c product screenshot persistence.

Parameters:
scProductScreenshotPersistence - the s c product screenshot persistence

getSCProductVersionLocalService

public SCProductVersionLocalService getSCProductVersionLocalService()
Returns the s c product version local service.

Returns:
the s c product version local service

setSCProductVersionLocalService

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

Parameters:
scProductVersionLocalService - the s c product version local service

getSCProductVersionService

public SCProductVersionService getSCProductVersionService()
Returns the s c product version remote service.

Returns:
the s c product version remote service

setSCProductVersionService

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

Parameters:
scProductVersionService - the s c product version remote service

getSCProductVersionPersistence

public SCProductVersionPersistence getSCProductVersionPersistence()
Returns the s c product version persistence.

Returns:
the s c product version persistence

setSCProductVersionPersistence

public void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
Sets the s c product version persistence.

Parameters:
scProductVersionPersistence - the s c product version persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getImageLocalService

public ImageLocalService getImageLocalService()
Returns the image local service.

Returns:
the image local service

setImageLocalService

public void setImageLocalService(ImageLocalService imageLocalService)
Sets the image local service.

Parameters:
imageLocalService - the image local service

getImageService

public ImageService getImageService()
Returns the image remote service.

Returns:
the image remote service

setImageService

public void setImageService(ImageService imageService)
Sets the image remote service.

Parameters:
imageService - the image remote service

getImagePersistence

public ImagePersistence getImagePersistence()
Returns the image persistence.

Returns:
the image persistence

setImagePersistence

public void setImagePersistence(ImagePersistence imagePersistence)
Sets the image persistence.

Parameters:
imagePersistence - the image persistence

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

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

Parameters:
resourceLocalService - the resource local service

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service.

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getMBMessageLocalService

public MBMessageLocalService getMBMessageLocalService()
Returns the message-boards message local service.

Returns:
the message-boards message local service

setMBMessageLocalService

public void setMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Sets the message-boards message local service.

Parameters:
mbMessageLocalService - the message-boards message local service

getMBMessageService

public MBMessageService getMBMessageService()
Returns the message-boards message remote service.

Returns:
the message-boards message remote service

setMBMessageService

public void setMBMessageService(MBMessageService mbMessageService)
Sets the message-boards message remote service.

Parameters:
mbMessageService - the message-boards message remote service

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()
Returns the message-boards message persistence.

Returns:
the message-boards message persistence

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
Sets the message-boards message persistence.

Parameters:
mbMessagePersistence - the message-boards message persistence

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()
Returns the message-boards message finder.

Returns:
the message-boards message finder

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
Sets the message-boards message finder.

Parameters:
mbMessageFinder - the message-boards message finder

getRatingsStatsLocalService

public RatingsStatsLocalService getRatingsStatsLocalService()
Returns the ratings stats local service.

Returns:
the ratings stats local service

setRatingsStatsLocalService

public void setRatingsStatsLocalService(RatingsStatsLocalService ratingsStatsLocalService)
Sets the ratings stats local service.

Parameters:
ratingsStatsLocalService - the ratings stats local service

getRatingsStatsPersistence

public RatingsStatsPersistence getRatingsStatsPersistence()
Returns the ratings stats persistence.

Returns:
the ratings stats persistence

setRatingsStatsPersistence

public void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
Sets the ratings stats persistence.

Parameters:
ratingsStatsPersistence - the ratings stats persistence

getRatingsStatsFinder

public RatingsStatsFinder getRatingsStatsFinder()
Returns the ratings stats finder.

Returns:
the ratings stats finder

setRatingsStatsFinder

public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder)
Sets the ratings stats finder.

Parameters:
ratingsStatsFinder - the ratings stats finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface SCProductEntryLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface SCProductEntryLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.2-ce-ga5