|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLFileShortcutLocalServiceBaseImpl
@ProviderType public abstract class DLFileShortcutLocalServiceBaseImpl
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.
DLFileShortcutLocalServiceImpl,
DLFileShortcutLocalServiceUtil| 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()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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. |
|
AssetTagFinder |
getAssetTagFinder()
Returns the asset tag finder. |
|
AssetTagLocalService |
getAssetTagLocalService()
Returns the asset tag local service. |
|
AssetTagPersistence |
getAssetTagPersistence()
Returns the asset tag persistence. |
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
DLAppLocalService |
getDLAppLocalService()
Returns the d l app local 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. |
|
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. |
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
|
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
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. |
|
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. |
|
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 |
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 |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setDLAppLocalService(DLAppLocalService dlAppLocalService)
Sets the d l app local 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 |
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 |
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 |
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. |
|
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 |
|---|
@BeanReference(type=DLFileShortcutLocalService.class) protected DLFileShortcutLocalService dlFileShortcutLocalService
@BeanReference(type=DLFileShortcutPersistence.class) protected DLFileShortcutPersistence dlFileShortcutPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=AssetEntryLocalService.class) protected AssetEntryLocalService assetEntryLocalService
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetEntryFinder.class) protected AssetEntryFinder assetEntryFinder
@BeanReference(type=AssetTagLocalService.class) protected AssetTagLocalService assetTagLocalService
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=AssetTagFinder.class) protected AssetTagFinder assetTagFinder
@BeanReference(type=DLAppLocalService.class) protected DLAppLocalService dlAppLocalService
@BeanReference(type=TrashEntryLocalService.class) protected TrashEntryLocalService trashEntryLocalService
@BeanReference(type=TrashEntryPersistence.class) protected TrashEntryPersistence trashEntryPersistence
@BeanReference(type=TrashVersionLocalService.class) protected TrashVersionLocalService trashVersionLocalService
@BeanReference(type=TrashVersionPersistence.class) protected TrashVersionPersistence trashVersionPersistence
@BeanReference(type=DLFolderLocalService.class) protected DLFolderLocalService dlFolderLocalService
@BeanReference(type=DLFolderPersistence.class) protected DLFolderPersistence dlFolderPersistence
@BeanReference(type=DLFolderFinder.class) protected DLFolderFinder dlFolderFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public DLFileShortcutLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
addDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcut
public DLFileShortcut createDLFileShortcut(long fileShortcutId)
createDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key for the new document library file shortcut
@Indexable(type=DELETE)
public DLFileShortcut deleteDLFileShortcut(long fileShortcutId)
throws PortalException
deleteDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key of the document library file shortcut
PortalException - if a document library file shortcut with the primary key could not be found@Indexable(type=DELETE) public DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
deleteDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcut
public DynamicQuery dynamicQuery()
dynamicQuery in interface DLFileShortcutLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DLFileShortcutLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
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.
dynamicQuery in interface DLFileShortcutLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
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.
dynamicQuery in interface DLFileShortcutLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface DLFileShortcutLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface DLFileShortcutLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
fetchDLFileShortcut in interface DLFileShortcutLocalService
public DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
fetchDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalServiceuuid - the document library file shortcut's UUIDgroupId - the primary key of the group
null if a matching document library file shortcut could not be found
public DLFileShortcut getDLFileShortcut(long fileShortcutId)
throws PortalException
getDLFileShortcut in interface DLFileShortcutLocalServicefileShortcutId - the primary key of the document library file shortcut
PortalException - if a document library file shortcut with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DLFileShortcutLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DLFileShortcutLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface DLFileShortcutLocalService
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface DLFileShortcutLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DLFileShortcutLocalServicePortalException
public List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid,
long companyId)
getDLFileShortcutsByUuidAndCompanyId in interface DLFileShortcutLocalServiceuuid - the UUID of the document library file shortcutscompanyId - the primary key of the company
public List<DLFileShortcut> getDLFileShortcutsByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<DLFileShortcut> orderByComparator)
getDLFileShortcutsByUuidAndCompanyId in interface DLFileShortcutLocalServiceuuid - the UUID of the document library file shortcutscompanyId - the primary key of the companystart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getDLFileShortcutByUuidAndGroupId in interface DLFileShortcutLocalServiceuuid - the document library file shortcut's UUIDgroupId - the primary key of the group
PortalException - if a matching document library file shortcut could not be found
public List<DLFileShortcut> getDLFileShortcuts(int start,
int end)
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.
getDLFileShortcuts in interface DLFileShortcutLocalServicestart - the lower bound of the range of document library file shortcutsend - the upper bound of the range of document library file shortcuts (not inclusive)
public int getDLFileShortcutsCount()
getDLFileShortcutsCount in interface DLFileShortcutLocalService@Indexable(type=REINDEX) public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
updateDLFileShortcut in interface DLFileShortcutLocalServicedlFileShortcut - the document library file shortcut
public DLFileShortcutLocalService getDLFileShortcutLocalService()
public void setDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
dlFileShortcutLocalService - the document library file shortcut local servicepublic DLFileShortcutPersistence getDLFileShortcutPersistence()
public void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
dlFileShortcutPersistence - the document library file shortcut persistencepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService - the resource local servicepublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService - the user local servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence - the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder - the user finderpublic AssetEntryLocalService getAssetEntryLocalService()
public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
assetEntryLocalService - the asset entry local servicepublic AssetEntryPersistence getAssetEntryPersistence()
public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
assetEntryPersistence - the asset entry persistencepublic AssetEntryFinder getAssetEntryFinder()
public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
assetEntryFinder - the asset entry finderpublic AssetTagLocalService getAssetTagLocalService()
public void setAssetTagLocalService(AssetTagLocalService assetTagLocalService)
assetTagLocalService - the asset tag local servicepublic AssetTagPersistence getAssetTagPersistence()
public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence)
assetTagPersistence - the asset tag persistencepublic AssetTagFinder getAssetTagFinder()
public void setAssetTagFinder(AssetTagFinder assetTagFinder)
assetTagFinder - the asset tag finderpublic DLAppLocalService getDLAppLocalService()
public void setDLAppLocalService(DLAppLocalService dlAppLocalService)
dlAppLocalService - the d l app local servicepublic TrashEntryLocalService getTrashEntryLocalService()
public void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
trashEntryLocalService - the trash entry local servicepublic TrashEntryPersistence getTrashEntryPersistence()
public void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
trashEntryPersistence - the trash entry persistencepublic TrashVersionLocalService getTrashVersionLocalService()
public void setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
trashVersionLocalService - the trash version local servicepublic TrashVersionPersistence getTrashVersionPersistence()
public void setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
trashVersionPersistence - the trash version persistencepublic DLFolderLocalService getDLFolderLocalService()
public void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
dlFolderLocalService - the document library folder local servicepublic DLFolderPersistence getDLFolderPersistence()
public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
dlFolderPersistence - the document library folder persistencepublic DLFolderFinder getDLFolderFinder()
public void setDLFolderFinder(DLFolderFinder dlFolderFinder)
dlFolderFinder - the document library folder finderpublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface DLFileShortcutLocalServiceprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||