Liferay 7.0-ce-b4

com.liferay.portlet.asset.service.base
Class AssetEntryLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.asset.service.base.AssetEntryLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, AssetEntryLocalService
Direct Known Subclasses:
AssetEntryLocalServiceImpl

@ProviderType
public abstract class AssetEntryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements AssetEntryLocalService, IdentifiableOSGiService

Provides the base implementation for the asset 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 AssetEntryLocalServiceImpl.

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

Field Summary
protected  AssetCategoryFinder assetCategoryFinder
           
protected  AssetCategoryLocalService assetCategoryLocalService
           
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkLocalService assetLinkLocalService
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagFinder assetTagFinder
           
protected  AssetTagLocalService assetTagLocalService
           
protected  AssetTagPersistence assetTagPersistence
           
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  CompanyLocalService companyLocalService
           
protected  CompanyPersistence companyPersistence
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  SocialActivityCounterFinder socialActivityCounterFinder
           
protected  SocialActivityCounterLocalService socialActivityCounterLocalService
           
protected  SocialActivityCounterPersistence socialActivityCounterPersistence
           
protected  SocialActivityFinder socialActivityFinder
           
protected  SocialActivityLocalService socialActivityLocalService
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SystemEventLocalService systemEventLocalService
           
protected  SystemEventPersistence systemEventPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
Constructor Summary
AssetEntryLocalServiceBaseImpl()
           
 
Method Summary
 void addAssetCategoryAssetEntries(long categoryId, List<AssetEntry> AssetEntries)
           
 void addAssetCategoryAssetEntries(long categoryId, long[] entryIds)
           
 void addAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry)
           
 void addAssetCategoryAssetEntry(long categoryId, long entryId)
           
 AssetEntry addAssetEntry(AssetEntry assetEntry)
          Adds the asset entry to the database.
 void addAssetTagAssetEntries(long tagId, List<AssetEntry> AssetEntries)
           
 void addAssetTagAssetEntries(long tagId, long[] entryIds)
           
 void addAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
           
 void addAssetTagAssetEntry(long tagId, long entryId)
           
 void afterPropertiesSet()
           
 void clearAssetCategoryAssetEntries(long categoryId)
           
 void clearAssetTagAssetEntries(long tagId)
           
 AssetEntry createAssetEntry(long entryId)
          Creates a new asset entry with the primary key.
 void deleteAssetCategoryAssetEntries(long categoryId, List<AssetEntry> AssetEntries)
           
 void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds)
           
 void deleteAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry)
           
 void deleteAssetCategoryAssetEntry(long categoryId, long entryId)
           
 AssetEntry deleteAssetEntry(AssetEntry assetEntry)
          Deletes the asset entry from the database.
 AssetEntry deleteAssetEntry(long entryId)
          Deletes the asset entry with the primary key from the database.
 void deleteAssetTagAssetEntries(long tagId, List<AssetEntry> AssetEntries)
           
 void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
           
 void deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
           
 void deleteAssetTagAssetEntry(long tagId, long entryId)
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 AssetEntry fetchAssetEntry(long entryId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 List<AssetEntry> getAssetCategoryAssetEntries(long categoryId)
           
 List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end)
           
 List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
           
 int getAssetCategoryAssetEntriesCount(long categoryId)
           
 AssetCategoryFinder getAssetCategoryFinder()
          Returns the asset category finder.
 AssetCategoryLocalService getAssetCategoryLocalService()
          Returns the asset category local service.
 AssetCategoryPersistence getAssetCategoryPersistence()
          Returns the asset category persistence.
 long[] getAssetCategoryPrimaryKeys(long entryId)
          Returns the categoryIds of the asset categories associated with the asset entry.
 List<AssetEntry> getAssetEntries(int start, int end)
          Returns a range of all the asset entries.
 int getAssetEntriesCount()
          Returns the number of asset entries.
 AssetEntry getAssetEntry(long entryId)
          Returns the asset entry with the primary key.
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetLinkLocalService getAssetLinkLocalService()
          Returns the asset link local service.
 AssetLinkPersistence getAssetLinkPersistence()
          Returns the asset link persistence.
 List<AssetEntry> getAssetTagAssetEntries(long tagId)
           
 List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end)
           
 List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator<AssetEntry> orderByComparator)
           
 int getAssetTagAssetEntriesCount(long tagId)
           
 AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 long[] getAssetTagPrimaryKeys(long entryId)
          Returns the tagIds of the asset tags associated with the asset entry.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 CompanyLocalService getCompanyLocalService()
          Returns the company local service.
 CompanyPersistence getCompanyPersistence()
          Returns the company persistence.
 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.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 SocialActivityCounterFinder getSocialActivityCounterFinder()
          Returns the social activity counter finder.
 SocialActivityCounterLocalService getSocialActivityCounterLocalService()
          Returns the social activity counter local service.
 SocialActivityCounterPersistence getSocialActivityCounterPersistence()
          Returns the social activity counter persistence.
 SocialActivityFinder getSocialActivityFinder()
          Returns the social activity finder.
 SocialActivityLocalService getSocialActivityLocalService()
          Returns the social activity local service.
 SocialActivityPersistence getSocialActivityPersistence()
          Returns the social activity persistence.
 SystemEventLocalService getSystemEventLocalService()
          Returns the system event local service.
 SystemEventPersistence getSystemEventPersistence()
          Returns the system event persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 boolean hasAssetCategoryAssetEntries(long categoryId)
           
 boolean hasAssetCategoryAssetEntry(long categoryId, long entryId)
           
 boolean hasAssetTagAssetEntries(long tagId)
           
 boolean hasAssetTagAssetEntry(long tagId, long entryId)
           
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setAssetCategoryAssetEntries(long categoryId, long[] entryIds)
           
 void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
          Sets the asset category finder.
 void setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
          Sets the asset category local service.
 void setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
          Sets the asset category persistence.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
          Sets the asset link local service.
 void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
          Sets the asset link persistence.
 void setAssetTagAssetEntries(long tagId, long[] entryIds)
           
 void setAssetTagFinder(AssetTagFinder assetTagFinder)
          Sets the asset tag finder.
 void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
          Sets the asset tag local service.
 void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
          Sets the asset tag persistence.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCompanyLocalService(CompanyLocalService companyLocalService)
          Sets the company local service.
 void setCompanyPersistence(CompanyPersistence companyPersistence)
          Sets the company persistence.
 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 setSocialActivityCounterFinder(SocialActivityCounterFinder socialActivityCounterFinder)
          Sets the social activity counter finder.
 void setSocialActivityCounterLocalService(SocialActivityCounterLocalService socialActivityCounterLocalService)
          Sets the social activity counter local service.
 void setSocialActivityCounterPersistence(SocialActivityCounterPersistence socialActivityCounterPersistence)
          Sets the social activity counter persistence.
 void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
          Sets the social activity finder.
 void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
          Sets the social activity local service.
 void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
          Sets the social activity persistence.
 void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
          Sets the system event local service.
 void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
          Sets the system event 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.
 AssetEntry updateAssetEntry(AssetEntry assetEntry)
          Updates the asset entry in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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.asset.service.AssetEntryLocalService
deleteEntry, deleteEntry, deleteEntry, deleteGroupEntries, fetchEntry, fetchEntry, fetchEntry, getAncestorEntries, getChildEntries, getCompanyEntries, getCompanyEntriesCount, getEntries, getEntries, getEntriesCount, getEntriesCount, getEntry, getEntry, getEntry, getGroupEntries, getNextEntry, getParentEntry, getPreviousEntry, getTopViewedEntries, getTopViewedEntries, incrementViewCounter, incrementViewCounter, reindex, search, search, search, search, search, search, search, search, search, search, search, updateEntry, updateEntry, updateEntry, updateEntry, updateEntry, updateEntry, updateEntry, updateVisible, updateVisible, validate, validate
 

Field Detail

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

counterLocalService

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

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

companyLocalService

@BeanReference(type=CompanyLocalService.class)
protected CompanyLocalService companyLocalService

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupLocalService

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

groupPersistence

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

groupFinder

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

systemEventLocalService

@BeanReference(type=SystemEventLocalService.class)
protected SystemEventLocalService systemEventLocalService

systemEventPersistence

@BeanReference(type=SystemEventPersistence.class)
protected SystemEventPersistence systemEventPersistence

userLocalService

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

userPersistence

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

userFinder

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

assetCategoryLocalService

@BeanReference(type=AssetCategoryLocalService.class)
protected AssetCategoryLocalService assetCategoryLocalService

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetCategoryFinder

@BeanReference(type=AssetCategoryFinder.class)
protected AssetCategoryFinder assetCategoryFinder

socialActivityLocalService

@BeanReference(type=SocialActivityLocalService.class)
protected SocialActivityLocalService socialActivityLocalService

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialActivityFinder

@BeanReference(type=SocialActivityFinder.class)
protected SocialActivityFinder socialActivityFinder

socialActivityCounterLocalService

@BeanReference(type=SocialActivityCounterLocalService.class)
protected SocialActivityCounterLocalService socialActivityCounterLocalService

socialActivityCounterPersistence

@BeanReference(type=SocialActivityCounterPersistence.class)
protected SocialActivityCounterPersistence socialActivityCounterPersistence

socialActivityCounterFinder

@BeanReference(type=SocialActivityCounterFinder.class)
protected SocialActivityCounterFinder socialActivityCounterFinder

assetLinkLocalService

@BeanReference(type=AssetLinkLocalService.class)
protected AssetLinkLocalService assetLinkLocalService

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagLocalService

@BeanReference(type=AssetTagLocalService.class)
protected AssetTagLocalService assetTagLocalService

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

assetTagFinder

@BeanReference(type=AssetTagFinder.class)
protected AssetTagFinder assetTagFinder

persistedModelLocalServiceRegistry

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

AssetEntryLocalServiceBaseImpl

public AssetEntryLocalServiceBaseImpl()
Method Detail

addAssetEntry

@Indexable(type=REINDEX)
public AssetEntry addAssetEntry(AssetEntry assetEntry)
Adds the asset entry to the database. Also notifies the appropriate model listeners.

Specified by:
addAssetEntry in interface AssetEntryLocalService
Parameters:
assetEntry - the asset entry
Returns:
the asset entry that was added

createAssetEntry

public AssetEntry createAssetEntry(long entryId)
Creates a new asset entry with the primary key. Does not add the asset entry to the database.

Specified by:
createAssetEntry in interface AssetEntryLocalService
Parameters:
entryId - the primary key for the new asset entry
Returns:
the new asset entry

deleteAssetEntry

@Indexable(type=DELETE)
public AssetEntry deleteAssetEntry(long entryId)
                            throws PortalException
Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetEntry in interface AssetEntryLocalService
Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry that was removed
Throws:
PortalException - if a asset entry with the primary key could not be found

deleteAssetEntry

@Indexable(type=DELETE)
public AssetEntry deleteAssetEntry(AssetEntry assetEntry)
Deletes the asset entry from the database. Also notifies the appropriate model listeners.

Specified by:
deleteAssetEntry in interface AssetEntryLocalService
Parameters:
assetEntry - the asset entry
Returns:
the asset entry that was removed

dynamicQuery

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

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface AssetEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
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 AssetEntryModelImpl. 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 AssetEntryLocalService
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

dynamicQuery

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

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface AssetEntryLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface AssetEntryLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchAssetEntry

public AssetEntry fetchAssetEntry(long entryId)
Specified by:
fetchAssetEntry in interface AssetEntryLocalService

getAssetEntry

public AssetEntry getAssetEntry(long entryId)
                         throws PortalException
Returns the asset entry with the primary key.

Specified by:
getAssetEntry in interface AssetEntryLocalService
Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry
Throws:
PortalException - if a asset entry with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface AssetEntryLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface AssetEntryLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface AssetEntryLocalService
Throws:
PortalException

getPersistedModel

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

getAssetEntries

public List<AssetEntry> getAssetEntries(int start,
                                        int end)
Returns a range of all the asset 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 AssetEntryModelImpl. 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:
getAssetEntries in interface AssetEntryLocalService
Parameters:
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of asset entries

getAssetEntriesCount

public int getAssetEntriesCount()
Returns the number of asset entries.

Specified by:
getAssetEntriesCount in interface AssetEntryLocalService
Returns:
the number of asset entries

updateAssetEntry

@Indexable(type=REINDEX)
public AssetEntry updateAssetEntry(AssetEntry assetEntry)
Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateAssetEntry in interface AssetEntryLocalService
Parameters:
assetEntry - the asset entry
Returns:
the asset entry that was updated

addAssetCategoryAssetEntry

public void addAssetCategoryAssetEntry(long categoryId,
                                       long entryId)
Specified by:
addAssetCategoryAssetEntry in interface AssetEntryLocalService

addAssetCategoryAssetEntry

public void addAssetCategoryAssetEntry(long categoryId,
                                       AssetEntry assetEntry)
Specified by:
addAssetCategoryAssetEntry in interface AssetEntryLocalService

addAssetCategoryAssetEntries

public void addAssetCategoryAssetEntries(long categoryId,
                                         long[] entryIds)
Specified by:
addAssetCategoryAssetEntries in interface AssetEntryLocalService

addAssetCategoryAssetEntries

public void addAssetCategoryAssetEntries(long categoryId,
                                         List<AssetEntry> AssetEntries)
Specified by:
addAssetCategoryAssetEntries in interface AssetEntryLocalService

clearAssetCategoryAssetEntries

public void clearAssetCategoryAssetEntries(long categoryId)
Specified by:
clearAssetCategoryAssetEntries in interface AssetEntryLocalService

deleteAssetCategoryAssetEntry

public void deleteAssetCategoryAssetEntry(long categoryId,
                                          long entryId)
Specified by:
deleteAssetCategoryAssetEntry in interface AssetEntryLocalService

deleteAssetCategoryAssetEntry

public void deleteAssetCategoryAssetEntry(long categoryId,
                                          AssetEntry assetEntry)
Specified by:
deleteAssetCategoryAssetEntry in interface AssetEntryLocalService

deleteAssetCategoryAssetEntries

public void deleteAssetCategoryAssetEntries(long categoryId,
                                            long[] entryIds)
Specified by:
deleteAssetCategoryAssetEntries in interface AssetEntryLocalService

deleteAssetCategoryAssetEntries

public void deleteAssetCategoryAssetEntries(long categoryId,
                                            List<AssetEntry> AssetEntries)
Specified by:
deleteAssetCategoryAssetEntries in interface AssetEntryLocalService

getAssetCategoryPrimaryKeys

public long[] getAssetCategoryPrimaryKeys(long entryId)
Returns the categoryIds of the asset categories associated with the asset entry.

Specified by:
getAssetCategoryPrimaryKeys in interface AssetEntryLocalService
Parameters:
entryId - the entryId of the asset entry
Returns:
long[] the categoryIds of asset categories associated with the asset entry

getAssetCategoryAssetEntries

public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId)
Specified by:
getAssetCategoryAssetEntries in interface AssetEntryLocalService

getAssetCategoryAssetEntries

public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
                                                     int start,
                                                     int end)
Specified by:
getAssetCategoryAssetEntries in interface AssetEntryLocalService

getAssetCategoryAssetEntries

public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator<AssetEntry> orderByComparator)
Specified by:
getAssetCategoryAssetEntries in interface AssetEntryLocalService

getAssetCategoryAssetEntriesCount

public int getAssetCategoryAssetEntriesCount(long categoryId)
Specified by:
getAssetCategoryAssetEntriesCount in interface AssetEntryLocalService

hasAssetCategoryAssetEntry

public boolean hasAssetCategoryAssetEntry(long categoryId,
                                          long entryId)
Specified by:
hasAssetCategoryAssetEntry in interface AssetEntryLocalService

hasAssetCategoryAssetEntries

public boolean hasAssetCategoryAssetEntries(long categoryId)
Specified by:
hasAssetCategoryAssetEntries in interface AssetEntryLocalService

setAssetCategoryAssetEntries

public void setAssetCategoryAssetEntries(long categoryId,
                                         long[] entryIds)
Specified by:
setAssetCategoryAssetEntries in interface AssetEntryLocalService

addAssetTagAssetEntry

public void addAssetTagAssetEntry(long tagId,
                                  long entryId)
Specified by:
addAssetTagAssetEntry in interface AssetEntryLocalService

addAssetTagAssetEntry

public void addAssetTagAssetEntry(long tagId,
                                  AssetEntry assetEntry)
Specified by:
addAssetTagAssetEntry in interface AssetEntryLocalService

addAssetTagAssetEntries

public void addAssetTagAssetEntries(long tagId,
                                    long[] entryIds)
Specified by:
addAssetTagAssetEntries in interface AssetEntryLocalService

addAssetTagAssetEntries

public void addAssetTagAssetEntries(long tagId,
                                    List<AssetEntry> AssetEntries)
Specified by:
addAssetTagAssetEntries in interface AssetEntryLocalService

clearAssetTagAssetEntries

public void clearAssetTagAssetEntries(long tagId)
Specified by:
clearAssetTagAssetEntries in interface AssetEntryLocalService

deleteAssetTagAssetEntry

public void deleteAssetTagAssetEntry(long tagId,
                                     long entryId)
Specified by:
deleteAssetTagAssetEntry in interface AssetEntryLocalService

deleteAssetTagAssetEntry

public void deleteAssetTagAssetEntry(long tagId,
                                     AssetEntry assetEntry)
Specified by:
deleteAssetTagAssetEntry in interface AssetEntryLocalService

deleteAssetTagAssetEntries

public void deleteAssetTagAssetEntries(long tagId,
                                       long[] entryIds)
Specified by:
deleteAssetTagAssetEntries in interface AssetEntryLocalService

deleteAssetTagAssetEntries

public void deleteAssetTagAssetEntries(long tagId,
                                       List<AssetEntry> AssetEntries)
Specified by:
deleteAssetTagAssetEntries in interface AssetEntryLocalService

getAssetTagPrimaryKeys

public long[] getAssetTagPrimaryKeys(long entryId)
Returns the tagIds of the asset tags associated with the asset entry.

Specified by:
getAssetTagPrimaryKeys in interface AssetEntryLocalService
Parameters:
entryId - the entryId of the asset entry
Returns:
long[] the tagIds of asset tags associated with the asset entry

getAssetTagAssetEntries

public List<AssetEntry> getAssetTagAssetEntries(long tagId)
Specified by:
getAssetTagAssetEntries in interface AssetEntryLocalService

getAssetTagAssetEntries

public List<AssetEntry> getAssetTagAssetEntries(long tagId,
                                                int start,
                                                int end)
Specified by:
getAssetTagAssetEntries in interface AssetEntryLocalService

getAssetTagAssetEntries

public List<AssetEntry> getAssetTagAssetEntries(long tagId,
                                                int start,
                                                int end,
                                                OrderByComparator<AssetEntry> orderByComparator)
Specified by:
getAssetTagAssetEntries in interface AssetEntryLocalService

getAssetTagAssetEntriesCount

public int getAssetTagAssetEntriesCount(long tagId)
Specified by:
getAssetTagAssetEntriesCount in interface AssetEntryLocalService

hasAssetTagAssetEntry

public boolean hasAssetTagAssetEntry(long tagId,
                                     long entryId)
Specified by:
hasAssetTagAssetEntry in interface AssetEntryLocalService

hasAssetTagAssetEntries

public boolean hasAssetTagAssetEntries(long tagId)
Specified by:
hasAssetTagAssetEntries in interface AssetEntryLocalService

setAssetTagAssetEntries

public void setAssetTagAssetEntries(long tagId,
                                    long[] entryIds)
Specified by:
setAssetTagAssetEntries in interface AssetEntryLocalService

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

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

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getCompanyLocalService

public CompanyLocalService getCompanyLocalService()
Returns the company local service.

Returns:
the company local service

setCompanyLocalService

public void setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service.

Parameters:
companyLocalService - the company local service

getCompanyPersistence

public CompanyPersistence getCompanyPersistence()
Returns the company persistence.

Returns:
the company persistence

setCompanyPersistence

public void setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence.

Parameters:
companyPersistence - the company persistence

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

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

getSystemEventLocalService

public SystemEventLocalService getSystemEventLocalService()
Returns the system event local service.

Returns:
the system event local service

setSystemEventLocalService

public void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
Sets the system event local service.

Parameters:
systemEventLocalService - the system event local service

getSystemEventPersistence

public SystemEventPersistence getSystemEventPersistence()
Returns the system event persistence.

Returns:
the system event persistence

setSystemEventPersistence

public void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
Sets the system event persistence.

Parameters:
systemEventPersistence - the system event 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

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

getAssetCategoryLocalService

public AssetCategoryLocalService getAssetCategoryLocalService()
Returns the asset category local service.

Returns:
the asset category local service

setAssetCategoryLocalService

public void setAssetCategoryLocalService(AssetCategoryLocalService assetCategoryLocalService)
Sets the asset category local service.

Parameters:
assetCategoryLocalService - the asset category local service

getAssetCategoryPersistence

public AssetCategoryPersistence getAssetCategoryPersistence()
Returns the asset category persistence.

Returns:
the asset category persistence

setAssetCategoryPersistence

public void setAssetCategoryPersistence(AssetCategoryPersistence assetCategoryPersistence)
Sets the asset category persistence.

Parameters:
assetCategoryPersistence - the asset category persistence

getAssetCategoryFinder

public AssetCategoryFinder getAssetCategoryFinder()
Returns the asset category finder.

Returns:
the asset category finder

setAssetCategoryFinder

public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder)
Sets the asset category finder.

Parameters:
assetCategoryFinder - the asset category finder

getSocialActivityLocalService

public SocialActivityLocalService getSocialActivityLocalService()
Returns the social activity local service.

Returns:
the social activity local service

setSocialActivityLocalService

public void setSocialActivityLocalService(SocialActivityLocalService socialActivityLocalService)
Sets the social activity local service.

Parameters:
socialActivityLocalService - the social activity local service

getSocialActivityPersistence

public SocialActivityPersistence getSocialActivityPersistence()
Returns the social activity persistence.

Returns:
the social activity persistence

setSocialActivityPersistence

public void setSocialActivityPersistence(SocialActivityPersistence socialActivityPersistence)
Sets the social activity persistence.

Parameters:
socialActivityPersistence - the social activity persistence

getSocialActivityFinder

public SocialActivityFinder getSocialActivityFinder()
Returns the social activity finder.

Returns:
the social activity finder

setSocialActivityFinder

public void setSocialActivityFinder(SocialActivityFinder socialActivityFinder)
Sets the social activity finder.

Parameters:
socialActivityFinder - the social activity finder

getSocialActivityCounterLocalService

public SocialActivityCounterLocalService getSocialActivityCounterLocalService()
Returns the social activity counter local service.

Returns:
the social activity counter local service

setSocialActivityCounterLocalService

public void setSocialActivityCounterLocalService(SocialActivityCounterLocalService socialActivityCounterLocalService)
Sets the social activity counter local service.

Parameters:
socialActivityCounterLocalService - the social activity counter local service

getSocialActivityCounterPersistence

public SocialActivityCounterPersistence getSocialActivityCounterPersistence()
Returns the social activity counter persistence.

Returns:
the social activity counter persistence

setSocialActivityCounterPersistence

public void setSocialActivityCounterPersistence(SocialActivityCounterPersistence socialActivityCounterPersistence)
Sets the social activity counter persistence.

Parameters:
socialActivityCounterPersistence - the social activity counter persistence

getSocialActivityCounterFinder

public SocialActivityCounterFinder getSocialActivityCounterFinder()
Returns the social activity counter finder.

Returns:
the social activity counter finder

setSocialActivityCounterFinder

public void setSocialActivityCounterFinder(SocialActivityCounterFinder socialActivityCounterFinder)
Sets the social activity counter finder.

Parameters:
socialActivityCounterFinder - the social activity counter finder

getAssetLinkLocalService

public AssetLinkLocalService getAssetLinkLocalService()
Returns the asset link local service.

Returns:
the asset link local service

setAssetLinkLocalService

public void setAssetLinkLocalService(AssetLinkLocalService assetLinkLocalService)
Sets the asset link local service.

Parameters:
assetLinkLocalService - the asset link local service

getAssetLinkPersistence

public AssetLinkPersistence getAssetLinkPersistence()
Returns the asset link persistence.

Returns:
the asset link persistence

setAssetLinkPersistence

public void setAssetLinkPersistence(AssetLinkPersistence assetLinkPersistence)
Sets the asset link persistence.

Parameters:
assetLinkPersistence - the asset link persistence

getAssetTagLocalService

public AssetTagLocalService getAssetTagLocalService()
Returns the asset tag local service.

Returns:
the asset tag local service

setAssetTagLocalService

public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
Sets the asset tag local service.

Parameters:
assetTagLocalService - the asset tag local service

getAssetTagPersistence

public AssetTagPersistence getAssetTagPersistence()
Returns the asset tag persistence.

Returns:
the asset tag persistence

setAssetTagPersistence

public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
Sets the asset tag persistence.

Parameters:
assetTagPersistence - the asset tag persistence

getAssetTagFinder

public AssetTagFinder getAssetTagFinder()
Returns the asset tag finder.

Returns:
the asset tag finder

setAssetTagFinder

public void setAssetTagFinder(AssetTagFinder assetTagFinder)
Sets the asset tag finder.

Parameters:
assetTagFinder - the asset tag finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface AssetEntryLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4