@ProviderType
public abstract class DLFileRankLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.document.library.kernel.service.DLFileRankLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
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
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.document.library.kernel.service.persistence.DLFileRankFinder |
dlFileRankFinder |
protected com.liferay.document.library.kernel.service.DLFileRankLocalService |
dlFileRankLocalService |
protected com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence |
dlFileRankPersistence |
protected com.liferay.document.library.kernel.service.persistence.DLFolderFinder |
dlFolderFinder |
protected com.liferay.document.library.kernel.service.DLFolderLocalService |
dlFolderLocalService |
protected com.liferay.document.library.kernel.service.persistence.DLFolderPersistence |
dlFolderPersistence |
protected com.liferay.portal.kernel.service.persistence.LayoutFinder |
layoutFinder |
protected com.liferay.portal.kernel.service.LayoutLocalService |
layoutLocalService |
protected com.liferay.portal.kernel.service.persistence.LayoutPersistence |
layoutPersistence |
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
Constructor and Description |
---|
DLFileRankLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.document.library.kernel.model.DLFileRank |
addDLFileRank(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
Adds the document library file rank to the database.
|
void |
afterPropertiesSet() |
com.liferay.document.library.kernel.model.DLFileRank |
createDLFileRank(long fileRankId)
Creates a new document library file rank with the primary key.
|
com.liferay.document.library.kernel.model.DLFileRank |
deleteDLFileRank(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
Deletes the document library file rank from the database.
|
com.liferay.document.library.kernel.model.DLFileRank |
deleteDLFileRank(long fileRankId)
Deletes the document library file rank with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
destroy() |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
com.liferay.document.library.kernel.model.DLFileRank |
fetchDLFileRank(long fileRankId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.document.library.kernel.model.DLFileRank |
getDLFileRank(long fileRankId)
Returns the document library file rank with the primary key.
|
com.liferay.document.library.kernel.service.persistence.DLFileRankFinder |
getDLFileRankFinder()
Returns the document library file rank finder.
|
com.liferay.document.library.kernel.service.DLFileRankLocalService |
getDLFileRankLocalService()
Returns the document library file rank local service.
|
com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence |
getDLFileRankPersistence()
Returns the document library file rank persistence.
|
List<com.liferay.document.library.kernel.model.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.
|
com.liferay.document.library.kernel.service.persistence.DLFolderFinder |
getDLFolderFinder()
Returns the document library folder finder.
|
com.liferay.document.library.kernel.service.DLFolderLocalService |
getDLFolderLocalService()
Returns the document library folder local service.
|
com.liferay.document.library.kernel.service.persistence.DLFolderPersistence |
getDLFolderPersistence()
Returns the document library folder persistence.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.LayoutFinder |
getLayoutFinder()
Returns the layout finder.
|
com.liferay.portal.kernel.service.LayoutLocalService |
getLayoutLocalService()
Returns the layout local service.
|
com.liferay.portal.kernel.service.persistence.LayoutPersistence |
getLayoutPersistence()
Returns the layout persistence.
|
protected Class<?> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) |
protected void |
runSQL(String sql)
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Sets the counter local service.
|
void |
setDLFileRankFinder(com.liferay.document.library.kernel.service.persistence.DLFileRankFinder dlFileRankFinder)
Sets the document library file rank finder.
|
void |
setDLFileRankLocalService(com.liferay.document.library.kernel.service.DLFileRankLocalService dlFileRankLocalService)
Sets the document library file rank local service.
|
void |
setDLFileRankPersistence(com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence dlFileRankPersistence)
Sets the document library file rank persistence.
|
void |
setDLFolderFinder(com.liferay.document.library.kernel.service.persistence.DLFolderFinder dlFolderFinder)
Sets the document library folder finder.
|
void |
setDLFolderLocalService(com.liferay.document.library.kernel.service.DLFolderLocalService dlFolderLocalService)
Sets the document library folder local service.
|
void |
setDLFolderPersistence(com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence)
Sets the document library folder persistence.
|
void |
setLayoutFinder(com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder)
Sets the layout finder.
|
void |
setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
Sets the layout local service.
|
void |
setLayoutPersistence(com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence)
Sets the layout persistence.
|
com.liferay.document.library.kernel.model.DLFileRank |
updateDLFileRank(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
Updates the document library file rank in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFileRank, checkFileRanks, deleteFileRank, deleteFileRank, deleteFileRanksByFileEntryId, deleteFileRanksByUserId, disableFileRanks, disableFileRanksByFolderId, enableFileRanks, enableFileRanksByFolderId, getFileRanks, updateFileRank
@BeanReference(type=com.liferay.document.library.kernel.service.DLFileRankLocalService.class) protected com.liferay.document.library.kernel.service.DLFileRankLocalService dlFileRankLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence.class) protected com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence dlFileRankPersistence
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFileRankFinder.class) protected com.liferay.document.library.kernel.service.persistence.DLFileRankFinder dlFileRankFinder
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.portal.kernel.service.LayoutLocalService.class) protected com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.LayoutPersistence.class) protected com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.LayoutFinder.class) protected com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder
@BeanReference(type=com.liferay.document.library.kernel.service.DLFolderLocalService.class) protected com.liferay.document.library.kernel.service.DLFolderLocalService dlFolderLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFolderPersistence.class) protected com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFolderFinder.class) protected com.liferay.document.library.kernel.service.persistence.DLFolderFinder dlFolderFinder
@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
@Indexable(type=REINDEX) public com.liferay.document.library.kernel.model.DLFileRank addDLFileRank(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
addDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
dlFileRank
- the document library file rank@Transactional(enabled=false) public com.liferay.document.library.kernel.model.DLFileRank createDLFileRank(long fileRankId)
createDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
fileRankId
- the primary key for the new document library file rank@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFileRank deleteDLFileRank(long fileRankId) throws com.liferay.portal.kernel.exception.PortalException
deleteDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
fileRankId
- the primary key of the document library file rankcom.liferay.portal.kernel.exception.PortalException
- if a document library file rank with the primary key could not be found@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFileRank deleteDLFileRank(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
deleteDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
dlFileRank
- the document library file rankpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 com.liferay.document.library.kernel.service.DLFileRankLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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 com.liferay.document.library.kernel.service.DLFileRankLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic com.liferay.document.library.kernel.model.DLFileRank fetchDLFileRank(long fileRankId)
fetchDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
public com.liferay.document.library.kernel.model.DLFileRank getDLFileRank(long fileRankId) throws com.liferay.portal.kernel.exception.PortalException
getDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
fileRankId
- the primary key of the document library file rankcom.liferay.portal.kernel.exception.PortalException
- if a document library file rank with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.document.library.kernel.model.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 com.liferay.document.library.kernel.service.DLFileRankLocalService
start
- 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 com.liferay.document.library.kernel.service.DLFileRankLocalService
@Indexable(type=REINDEX) public com.liferay.document.library.kernel.model.DLFileRank updateDLFileRank(com.liferay.document.library.kernel.model.DLFileRank dlFileRank)
updateDLFileRank
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
dlFileRank
- the document library file rankpublic com.liferay.document.library.kernel.service.DLFileRankLocalService getDLFileRankLocalService()
public void setDLFileRankLocalService(com.liferay.document.library.kernel.service.DLFileRankLocalService dlFileRankLocalService)
dlFileRankLocalService
- the document library file rank local servicepublic com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence getDLFileRankPersistence()
public void setDLFileRankPersistence(com.liferay.document.library.kernel.service.persistence.DLFileRankPersistence dlFileRankPersistence)
dlFileRankPersistence
- the document library file rank persistencepublic com.liferay.document.library.kernel.service.persistence.DLFileRankFinder getDLFileRankFinder()
public void setDLFileRankFinder(com.liferay.document.library.kernel.service.persistence.DLFileRankFinder dlFileRankFinder)
dlFileRankFinder
- the document library file rank finderpublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic com.liferay.portal.kernel.service.LayoutLocalService getLayoutLocalService()
public void setLayoutLocalService(com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService)
layoutLocalService
- the layout local servicepublic com.liferay.portal.kernel.service.persistence.LayoutPersistence getLayoutPersistence()
public void setLayoutPersistence(com.liferay.portal.kernel.service.persistence.LayoutPersistence layoutPersistence)
layoutPersistence
- the layout persistencepublic com.liferay.portal.kernel.service.persistence.LayoutFinder getLayoutFinder()
public void setLayoutFinder(com.liferay.portal.kernel.service.persistence.LayoutFinder layoutFinder)
layoutFinder
- the layout finderpublic com.liferay.document.library.kernel.service.DLFolderLocalService getDLFolderLocalService()
public void setDLFolderLocalService(com.liferay.document.library.kernel.service.DLFolderLocalService dlFolderLocalService)
dlFolderLocalService
- the document library folder local servicepublic com.liferay.document.library.kernel.service.persistence.DLFolderPersistence getDLFolderPersistence()
public void setDLFolderPersistence(com.liferay.document.library.kernel.service.persistence.DLFolderPersistence dlFolderPersistence)
dlFolderPersistence
- the document library folder persistencepublic com.liferay.document.library.kernel.service.persistence.DLFolderFinder getDLFolderFinder()
public void setDLFolderFinder(com.liferay.document.library.kernel.service.persistence.DLFolderFinder dlFolderFinder)
dlFolderFinder
- the document library folder finderpublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.document.library.kernel.service.DLFileRankLocalService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query