|
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.DLFileRankLocalServiceBaseImpl
@ProviderType public abstract class DLFileRankLocalServiceBaseImpl
Provides the base implementation for the document library file rank 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 DLFileRankLocalServiceImpl.
DLFileRankLocalServiceImpl,
DLFileRankLocalServiceUtil| Field Summary | |
|---|---|
protected CounterLocalService |
counterLocalService
|
protected DLFileRankFinder |
dlFileRankFinder
|
protected DLFileRankLocalService |
dlFileRankLocalService
|
protected DLFileRankPersistence |
dlFileRankPersistence
|
protected DLFolderFinder |
dlFolderFinder
|
protected DLFolderLocalService |
dlFolderLocalService
|
protected DLFolderPersistence |
dlFolderPersistence
|
protected LayoutFinder |
layoutFinder
|
protected LayoutLocalService |
layoutLocalService
|
protected LayoutPersistence |
layoutPersistence
|
protected PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
|
| Constructor Summary | |
|---|---|
DLFileRankLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
DLFileRank |
addDLFileRank(DLFileRank dlFileRank)
Adds the document library file rank to the database. |
|
void |
afterPropertiesSet()
|
|
DLFileRank |
createDLFileRank(long fileRankId)
Creates a new document library file rank with the primary key. |
|
DLFileRank |
deleteDLFileRank(DLFileRank dlFileRank)
Deletes the document library file rank from the database. |
|
DLFileRank |
deleteDLFileRank(long fileRankId)
Deletes the document library file rank 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. |
|
DLFileRank |
fetchDLFileRank(long fileRankId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
DLFileRank |
getDLFileRank(long fileRankId)
Returns the document library file rank with the primary key. |
|
DLFileRankFinder |
getDLFileRankFinder()
Returns the document library file rank finder. |
|
DLFileRankLocalService |
getDLFileRankLocalService()
Returns the document library file rank local service. |
|
DLFileRankPersistence |
getDLFileRankPersistence()
Returns the document library file rank persistence. |
|
List<DLFileRank> |
getDLFileRanks(int start,
int end)
Returns a range of all the document library file ranks. |
|
int |
getDLFileRanksCount()
Returns the number of document library file ranks. |
|
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. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
LayoutFinder |
getLayoutFinder()
Returns the layout finder. |
|
LayoutLocalService |
getLayoutLocalService()
Returns the layout local service. |
|
LayoutPersistence |
getLayoutPersistence()
Returns the layout persistence. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
Sets the document library file rank finder. |
|
void |
setDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
Sets the document library file rank local service. |
|
void |
setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
Sets the document library file rank 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 |
setLayoutFinder(LayoutFinder layoutFinder)
Sets the layout finder. |
|
void |
setLayoutLocalService(LayoutLocalService layoutLocalService)
Sets the layout local service. |
|
void |
setLayoutPersistence(LayoutPersistence layoutPersistence)
Sets the layout persistence. |
|
DLFileRank |
updateDLFileRank(DLFileRank dlFileRank)
Updates the document library file rank 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.DLFileRankLocalService |
|---|
addFileRank, checkFileRanks, deleteFileRank, deleteFileRank, deleteFileRanksByFileEntryId, deleteFileRanksByUserId, disableFileRanks, disableFileRanksByFolderId, enableFileRanks, enableFileRanksByFolderId, getFileRanks, updateFileRank |
| Field Detail |
|---|
@BeanReference(type=DLFileRankLocalService.class) protected DLFileRankLocalService dlFileRankLocalService
@BeanReference(type=DLFileRankPersistence.class) protected DLFileRankPersistence dlFileRankPersistence
@BeanReference(type=DLFileRankFinder.class) protected DLFileRankFinder dlFileRankFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=LayoutLocalService.class) protected LayoutLocalService layoutLocalService
@BeanReference(type=LayoutPersistence.class) protected LayoutPersistence layoutPersistence
@BeanReference(type=LayoutFinder.class) protected LayoutFinder layoutFinder
@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 DLFileRankLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public DLFileRank addDLFileRank(DLFileRank dlFileRank)
addDLFileRank in interface DLFileRankLocalServicedlFileRank - the document library file rank
public DLFileRank createDLFileRank(long fileRankId)
createDLFileRank in interface DLFileRankLocalServicefileRankId - the primary key for the new document library file rank
@Indexable(type=DELETE)
public DLFileRank deleteDLFileRank(long fileRankId)
throws PortalException
deleteDLFileRank in interface DLFileRankLocalServicefileRankId - the primary key of the document library file rank
PortalException - if a document library file rank with the primary key could not be found@Indexable(type=DELETE) public DLFileRank deleteDLFileRank(DLFileRank dlFileRank)
deleteDLFileRank in interface DLFileRankLocalServicedlFileRank - the document library file rank
public DynamicQuery dynamicQuery()
dynamicQuery in interface DLFileRankLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface DLFileRankLocalServicedynamicQuery - 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 DLFileRankModelImpl. 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 DLFileRankLocalServicedynamicQuery - 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 DLFileRankModelImpl. 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 DLFileRankLocalServicedynamicQuery - 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 DLFileRankLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface DLFileRankLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public DLFileRank fetchDLFileRank(long fileRankId)
fetchDLFileRank in interface DLFileRankLocalService
public DLFileRank getDLFileRank(long fileRankId)
throws PortalException
getDLFileRank in interface DLFileRankLocalServicefileRankId - the primary key of the document library file rank
PortalException - if a document library file rank with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface DLFileRankLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface DLFileRankLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface DLFileRankLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface DLFileRankLocalServicePortalException
public List<DLFileRank> getDLFileRanks(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 DLFileRankModelImpl. 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.
getDLFileRanks in interface DLFileRankLocalServicestart - the lower bound of the range of document library file ranksend - the upper bound of the range of document library file ranks (not inclusive)
public int getDLFileRanksCount()
getDLFileRanksCount in interface DLFileRankLocalService@Indexable(type=REINDEX) public DLFileRank updateDLFileRank(DLFileRank dlFileRank)
updateDLFileRank in interface DLFileRankLocalServicedlFileRank - the document library file rank
public DLFileRankLocalService getDLFileRankLocalService()
public void setDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
dlFileRankLocalService - the document library file rank local servicepublic DLFileRankPersistence getDLFileRankPersistence()
public void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
dlFileRankPersistence - the document library file rank persistencepublic DLFileRankFinder getDLFileRankFinder()
public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
dlFileRankFinder - the document library file rank finderpublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic LayoutLocalService getLayoutLocalService()
public void setLayoutLocalService(LayoutLocalService layoutLocalService)
layoutLocalService - the layout local servicepublic LayoutPersistence getLayoutPersistence()
public void setLayoutPersistence(LayoutPersistence layoutPersistence)
layoutPersistence - the layout persistencepublic LayoutFinder getLayoutFinder()
public void setLayoutFinder(LayoutFinder layoutFinder)
layoutFinder - the layout finderpublic 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 DLFileRankLocalServiceprotected 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 | |||||||||