Liferay 7.0-ce-a2

com.liferay.portlet.documentlibrary.service.base
Class DLFileShortcutLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DLFileShortcutLocalService
Direct Known Subclasses:
DLFileShortcutLocalServiceImpl

@ProviderType
public abstract class DLFileShortcutLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements DLFileShortcutLocalService, IdentifiableBean

Provides the base implementation for the document library file shortcut 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 DLFileShortcutLocalServiceImpl.

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

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetEntryService assetEntryService
           
protected  AssetTagFinder assetTagFinder
           
protected  AssetTagLocalService assetTagLocalService
           
protected  AssetTagPersistence assetTagPersistence
           
protected  AssetTagService assetTagService
           
protected  CounterLocalService counterLocalService
           
protected  DLAppLocalService dlAppLocalService
           
protected  DLAppService dlAppService
           
protected  DLFileShortcutLocalService dlFileShortcutLocalService
           
protected  DLFileShortcutPersistence dlFileShortcutPersistence
           
protected  DLFileShortcutService dlFileShortcutService
           
protected  DLFolderFinder dlFolderFinder
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  DLFolderService dlFolderService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  TrashEntryLocalService trashEntryLocalService
           
protected  TrashEntryPersistence trashEntryPersistence
           
protected  TrashEntryService trashEntryService
           
protected  TrashVersionLocalService trashVersionLocalService
           
protected  TrashVersionPersistence trashVersionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
DLFileShortcutLocalServiceBaseImpl()
           
 
Method Summary
 DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
          Adds the document library file shortcut to the database.
 void afterPropertiesSet()
           
 DLFileShortcut createDLFileShortcut(long fileShortcutId)
          Creates a new document library file shortcut with the primary key.
 DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
          Deletes the document library file shortcut from the database.
 DLFileShortcut deleteDLFileShortcut(long fileShortcutId)
          Deletes the document library file shortcut with the primary key from the database.
 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.
 DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
           
 DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid, long groupId)
          Returns the document library file shortcut matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetEntryService getAssetEntryService()
          Returns the asset entry remote service.
 AssetTagFinder getAssetTagFinder()
          Returns the asset tag finder.
 AssetTagLocalService getAssetTagLocalService()
          Returns the asset tag local service.
 AssetTagPersistence getAssetTagPersistence()
          Returns the asset tag persistence.
 AssetTagService getAssetTagService()
          Returns the asset tag remote service.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 DLAppLocalService getDLAppLocalService()
          Returns the d l app local service.
 DLAppService getDLAppService()
          Returns the d l app remote service.
 DLFileShortcut getDLFileShortcut(long fileShortcutId)
          Returns the document library file shortcut with the primary key.
 DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid, long groupId)
          Returns the document library file shortcut matching the UUID and group.
 DLFileShortcutLocalService getDLFileShortcutLocalService()
          Returns the document library file shortcut local service.
 DLFileShortcutPersistence getDLFileShortcutPersistence()
          Returns the document library file shortcut persistence.
 List<DLFileShortcut> getDLFileShortcuts(int start, int end)
          Returns a range of all the document library file shortcuts.
 List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid, long companyId)
          Returns all the document library file shortcuts matching the UUID and company.
 List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFileShortcut> orderByComparator)
          Returns a range of document library file shortcuts matching the UUID and company.
 int getDLFileShortcutsCount()
          Returns the number of document library file shortcuts.
 DLFileShortcutService getDLFileShortcutService()
          Returns the document library file shortcut remote service.
 DLFolderFinder getDLFolderFinder()
          Returns the document library folder finder.
 DLFolderLocalService getDLFolderLocalService()
          Returns the document library folder local service.
 DLFolderPersistence getDLFolderPersistence()
          Returns the document library folder persistence.
 DLFolderService getDLFolderService()
          Returns the document library folder remote service.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 TrashEntryLocalService getTrashEntryLocalService()
          Returns the trash entry local service.
 TrashEntryPersistence getTrashEntryPersistence()
          Returns the trash entry persistence.
 TrashEntryService getTrashEntryService()
          Returns the trash entry remote service.
 TrashVersionLocalService getTrashVersionLocalService()
          Returns the trash version local service.
 TrashVersionPersistence getTrashVersionPersistence()
          Returns the trash version 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.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 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 setAssetEntryService(AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 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 setAssetTagService(AssetTagService assetTagService)
          Sets the asset tag remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setDLAppLocalService(DLAppLocalService dlAppLocalService)
          Sets the d l app local service.
 void setDLAppService(DLAppService dlAppService)
          Sets the d l app remote service.
 void setDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
          Sets the document library file shortcut local service.
 void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
          Sets the document library file shortcut persistence.
 void setDLFileShortcutService(DLFileShortcutService dlFileShortcutService)
          Sets the document library file shortcut remote service.
 void setDLFolderFinder(DLFolderFinder dlFolderFinder)
          Sets the document library folder finder.
 void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
          Sets the document library folder local service.
 void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
          Sets the document library folder persistence.
 void setDLFolderService(DLFolderService dlFolderService)
          Sets the document library folder remote service.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
          Sets the trash entry local service.
 void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
          Sets the trash entry persistence.
 void setTrashEntryService(TrashEntryService trashEntryService)
          Sets the trash entry remote service.
 void setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
          Sets the trash version local service.
 void setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
          Sets the trash version 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.
 DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
          Updates the document library file shortcut 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.documentlibrary.service.DLFileShortcutLocalService
addFileShortcut, addFileShortcutResources, addFileShortcutResources, addFileShortcutResources, addFileShortcutResources, deleteFileShortcut, deleteFileShortcut, deleteFileShortcuts, deleteFileShortcuts, deleteFileShortcuts, disableFileShortcuts, enableFileShortcuts, getFileShortcut, getFileShortcuts, getFileShortcuts, getFileShortcutsCount, rebuildTree, setTreePaths, updateAsset, updateFileShortcut, updateFileShortcuts, updateFileShortcutsActive, updateStatus
 

Field Detail

dlFileShortcutLocalService

@BeanReference(type=DLFileShortcutLocalService.class)
protected DLFileShortcutLocalService dlFileShortcutLocalService

dlFileShortcutService

@BeanReference(type=DLFileShortcutService.class)
protected DLFileShortcutService dlFileShortcutService

dlFileShortcutPersistence

@BeanReference(type=DLFileShortcutPersistence.class)
protected DLFileShortcutPersistence dlFileShortcutPersistence

counterLocalService

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

resourceLocalService

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

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

assetEntryLocalService

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

assetEntryService

@BeanReference(type=AssetEntryService.class)
protected AssetEntryService assetEntryService

assetEntryPersistence

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

assetEntryFinder

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

assetTagLocalService

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

assetTagService

@BeanReference(type=AssetTagService.class)
protected AssetTagService assetTagService

assetTagPersistence

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

assetTagFinder

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

dlAppLocalService

@BeanReference(type=DLAppLocalService.class)
protected DLAppLocalService dlAppLocalService

dlAppService

@BeanReference(type=DLAppService.class)
protected DLAppService dlAppService

trashEntryLocalService

@BeanReference(type=TrashEntryLocalService.class)
protected TrashEntryLocalService trashEntryLocalService

trashEntryService

@BeanReference(type=TrashEntryService.class)
protected TrashEntryService trashEntryService

trashEntryPersistence

@BeanReference(type=TrashEntryPersistence.class)
protected TrashEntryPersistence trashEntryPersistence

trashVersionLocalService

@BeanReference(type=TrashVersionLocalService.class)
protected TrashVersionLocalService trashVersionLocalService

trashVersionPersistence

@BeanReference(type=TrashVersionPersistence.class)
protected TrashVersionPersistence trashVersionPersistence

dlFolderLocalService

@BeanReference(type=DLFolderLocalService.class)
protected DLFolderLocalService dlFolderLocalService

dlFolderService

@BeanReference(type=DLFolderService.class)
protected DLFolderService dlFolderService

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

dlFolderFinder

@BeanReference(type=DLFolderFinder.class)
protected DLFolderFinder dlFolderFinder

persistedModelLocalServiceRegistry

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

DLFileShortcutLocalServiceBaseImpl

public DLFileShortcutLocalServiceBaseImpl()
Method Detail

addDLFileShortcut

@Indexable(type=REINDEX)
public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
Adds the document library file shortcut to the database. Also notifies the appropriate model listeners.

Specified by:
addDLFileShortcut in interface DLFileShortcutLocalService
Parameters:
dlFileShortcut - the document library file shortcut
Returns:
the document library file shortcut that was added

createDLFileShortcut

public DLFileShortcut createDLFileShortcut(long fileShortcutId)
Creates a new document library file shortcut with the primary key. Does not add the document library file shortcut to the database.

Specified by:
createDLFileShortcut in interface DLFileShortcutLocalService
Parameters:
fileShortcutId - the primary key for the new document library file shortcut
Returns:
the new document library file shortcut

deleteDLFileShortcut

@Indexable(type=DELETE)
public DLFileShortcut deleteDLFileShortcut(long fileShortcutId)
                                    throws PortalException
Deletes the document library file shortcut with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileShortcut in interface DLFileShortcutLocalService
Parameters:
fileShortcutId - the primary key of the document library file shortcut
Returns:
the document library file shortcut that was removed
Throws:
PortalException - if a document library file shortcut with the primary key could not be found

deleteDLFileShortcut

@Indexable(type=DELETE)
public DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
Deletes the document library file shortcut from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileShortcut in interface DLFileShortcutLocalService
Parameters:
dlFileShortcut - the document library file shortcut
Returns:
the document library file shortcut that was removed

dynamicQuery

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

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 DLFileShortcutLocalService
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 DLFileShortcutModelImpl. 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 DLFileShortcutLocalService
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 DLFileShortcutModelImpl. 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 DLFileShortcutLocalService
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 DLFileShortcutLocalService
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 DLFileShortcutLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDLFileShortcut

public DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
Specified by:
fetchDLFileShortcut in interface DLFileShortcutLocalService

fetchDLFileShortcutByUuidAndGroupId

public DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid,
                                                          long groupId)
Returns the document library file shortcut matching the UUID and group.

Specified by:
fetchDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalService
Parameters:
uuid - the document library file shortcut's UUID
groupId - the primary key of the group
Returns:
the matching document library file shortcut, or null if a matching document library file shortcut could not be found

getDLFileShortcut

public DLFileShortcut getDLFileShortcut(long fileShortcutId)
                                 throws PortalException
Returns the document library file shortcut with the primary key.

Specified by:
getDLFileShortcut in interface DLFileShortcutLocalService
Parameters:
fileShortcutId - the primary key of the document library file shortcut
Returns:
the document library file shortcut
Throws:
PortalException - if a document library file shortcut with the primary key could not be found

getActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface DLFileShortcutLocalService

deletePersistedModel

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

getPersistedModel

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

getDLFileShortcutsByUuidAndCompanyId

public List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid,
                                                                 long companyId)
Returns all the document library file shortcuts matching the UUID and company.

Specified by:
getDLFileShortcutsByUuidAndCompanyId in interface DLFileShortcutLocalService
Parameters:
uuid - the UUID of the document library file shortcuts
companyId - the primary key of the company
Returns:
the matching document library file shortcuts, or an empty list if no matches were found

getDLFileShortcutsByUuidAndCompanyId

public List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid,
                                                                 long companyId,
                                                                 int start,
                                                                 int end,
                                                                 OrderByComparator<DLFileShortcut> orderByComparator)
Returns a range of document library file shortcuts matching the UUID and company.

Specified by:
getDLFileShortcutsByUuidAndCompanyId in interface DLFileShortcutLocalService
Parameters:
uuid - the UUID of the document library file shortcuts
companyId - the primary key of the company
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching document library file shortcuts, or an empty list if no matches were found

getDLFileShortcutByUuidAndGroupId

public DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid,
                                                        long groupId)
                                                 throws PortalException
Returns the document library file shortcut matching the UUID and group.

Specified by:
getDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalService
Parameters:
uuid - the document library file shortcut's UUID
groupId - the primary key of the group
Returns:
the matching document library file shortcut
Throws:
PortalException - if a matching document library file shortcut could not be found

getDLFileShortcuts

public List<DLFileShortcut> getDLFileShortcuts(int start,
                                               int end)
Returns a range of all the document library file shortcuts.

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 DLFileShortcutModelImpl. 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:
getDLFileShortcuts in interface DLFileShortcutLocalService
Parameters:
start - the lower bound of the range of document library file shortcuts
end - the upper bound of the range of document library file shortcuts (not inclusive)
Returns:
the range of document library file shortcuts

getDLFileShortcutsCount

public int getDLFileShortcutsCount()
Returns the number of document library file shortcuts.

Specified by:
getDLFileShortcutsCount in interface DLFileShortcutLocalService
Returns:
the number of document library file shortcuts

updateDLFileShortcut

@Indexable(type=REINDEX)
public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
Updates the document library file shortcut in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLFileShortcut in interface DLFileShortcutLocalService
Parameters:
dlFileShortcut - the document library file shortcut
Returns:
the document library file shortcut that was updated

getDLFileShortcutLocalService

public DLFileShortcutLocalService getDLFileShortcutLocalService()
Returns the document library file shortcut local service.

Returns:
the document library file shortcut local service

setDLFileShortcutLocalService

public void setDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
Sets the document library file shortcut local service.

Parameters:
dlFileShortcutLocalService - the document library file shortcut local service

getDLFileShortcutService

public DLFileShortcutService getDLFileShortcutService()
Returns the document library file shortcut remote service.

Returns:
the document library file shortcut remote service

setDLFileShortcutService

public void setDLFileShortcutService(DLFileShortcutService dlFileShortcutService)
Sets the document library file shortcut remote service.

Parameters:
dlFileShortcutService - the document library file shortcut remote service

getDLFileShortcutPersistence

public DLFileShortcutPersistence getDLFileShortcutPersistence()
Returns the document library file shortcut persistence.

Returns:
the document library file shortcut persistence

setDLFileShortcutPersistence

public void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
Sets the document library file shortcut persistence.

Parameters:
dlFileShortcutPersistence - the document library file shortcut 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

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

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

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

getAssetEntryService

public AssetEntryService getAssetEntryService()
Returns the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote 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

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

getAssetTagService

public AssetTagService getAssetTagService()
Returns the asset tag remote service.

Returns:
the asset tag remote service

setAssetTagService

public void setAssetTagService(AssetTagService assetTagService)
Sets the asset tag remote service.

Parameters:
assetTagService - the asset tag remote 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

getDLAppLocalService

public DLAppLocalService getDLAppLocalService()
Returns the d l app local service.

Returns:
the d l app local service

setDLAppLocalService

public void setDLAppLocalService(DLAppLocalService dlAppLocalService)
Sets the d l app local service.

Parameters:
dlAppLocalService - the d l app local service

getDLAppService

public DLAppService getDLAppService()
Returns the d l app remote service.

Returns:
the d l app remote service

setDLAppService

public void setDLAppService(DLAppService dlAppService)
Sets the d l app remote service.

Parameters:
dlAppService - the d l app remote service

getTrashEntryLocalService

public TrashEntryLocalService getTrashEntryLocalService()
Returns the trash entry local service.

Returns:
the trash entry local service

setTrashEntryLocalService

public void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
Sets the trash entry local service.

Parameters:
trashEntryLocalService - the trash entry local service

getTrashEntryService

public TrashEntryService getTrashEntryService()
Returns the trash entry remote service.

Returns:
the trash entry remote service

setTrashEntryService

public void setTrashEntryService(TrashEntryService trashEntryService)
Sets the trash entry remote service.

Parameters:
trashEntryService - the trash entry remote service

getTrashEntryPersistence

public TrashEntryPersistence getTrashEntryPersistence()
Returns the trash entry persistence.

Returns:
the trash entry persistence

setTrashEntryPersistence

public void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
Sets the trash entry persistence.

Parameters:
trashEntryPersistence - the trash entry persistence

getTrashVersionLocalService

public TrashVersionLocalService getTrashVersionLocalService()
Returns the trash version local service.

Returns:
the trash version local service

setTrashVersionLocalService

public void setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
Sets the trash version local service.

Parameters:
trashVersionLocalService - the trash version local service

getTrashVersionPersistence

public TrashVersionPersistence getTrashVersionPersistence()
Returns the trash version persistence.

Returns:
the trash version persistence

setTrashVersionPersistence

public void setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
Sets the trash version persistence.

Parameters:
trashVersionPersistence - the trash version persistence

getDLFolderLocalService

public DLFolderLocalService getDLFolderLocalService()
Returns the document library folder local service.

Returns:
the document library folder local service

setDLFolderLocalService

public void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
Sets the document library folder local service.

Parameters:
dlFolderLocalService - the document library folder local service

getDLFolderService

public DLFolderService getDLFolderService()
Returns the document library folder remote service.

Returns:
the document library folder remote service

setDLFolderService

public void setDLFolderService(DLFolderService dlFolderService)
Sets the document library folder remote service.

Parameters:
dlFolderService - the document library folder remote service

getDLFolderPersistence

public DLFolderPersistence getDLFolderPersistence()
Returns the document library folder persistence.

Returns:
the document library folder persistence

setDLFolderPersistence

public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
Sets the document library folder persistence.

Parameters:
dlFolderPersistence - the document library folder persistence

getDLFolderFinder

public DLFolderFinder getDLFolderFinder()
Returns the document library folder finder.

Returns:
the document library folder finder

setDLFolderFinder

public void setDLFolderFinder(DLFolderFinder dlFolderFinder)
Sets the document library folder finder.

Parameters:
dlFolderFinder - the document library folder 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 DLFileShortcutLocalService
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 DLFileShortcutLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

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-a2