public abstract class DLFolderLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.document.library.kernel.service.DLFolderLocalService, 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 DLFolderLocalServiceImpl
.
DLFolderLocalServiceImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService |
protected com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence |
dlFileEntryTypePersistence |
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.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry |
Constructor and Description |
---|
DLFolderLocalServiceBaseImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDLFileEntryTypeDLFolder(long fileEntryTypeId,
com.liferay.document.library.kernel.model.DLFolder dlFolder) |
void |
addDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId) |
void |
addDLFileEntryTypeDLFolders(long fileEntryTypeId,
List<com.liferay.document.library.kernel.model.DLFolder> dlFolders) |
void |
addDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds) |
com.liferay.document.library.kernel.model.DLFolder |
addDLFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder)
Adds the document library folder to the database.
|
void |
afterPropertiesSet() |
void |
clearDLFileEntryTypeDLFolders(long fileEntryTypeId) |
com.liferay.document.library.kernel.model.DLFolder |
createDLFolder(long folderId)
Creates a new document library folder with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
void |
deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
com.liferay.document.library.kernel.model.DLFolder dlFolder) |
void |
deleteDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId) |
void |
deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
List<com.liferay.document.library.kernel.model.DLFolder> dlFolders) |
void |
deleteDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds) |
com.liferay.document.library.kernel.model.DLFolder |
deleteDLFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder)
Deletes the document library folder from the database.
|
com.liferay.document.library.kernel.model.DLFolder |
deleteDLFolder(long folderId)
Deletes the document library folder with the primary key from the database.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
destroy() |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
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.DLFolder |
fetchDLFolder(long folderId) |
com.liferay.document.library.kernel.model.DLFolder |
fetchDLFolderByUuidAndGroupId(String uuid,
long groupId)
Returns the document library folder matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFolder> |
getBasePersistence() |
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Returns the counter local service.
|
com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFolder> |
getCTPersistence() |
List<com.liferay.document.library.kernel.model.DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId) |
List<com.liferay.document.library.kernel.model.DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId,
int start,
int end) |
List<com.liferay.document.library.kernel.model.DLFolder> |
getDLFileEntryTypeDLFolders(long fileEntryTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator) |
int |
getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId) |
long[] |
getDLFileEntryTypePrimaryKeys(long folderId)
Returns the fileEntryTypeIds of the document library file entry types associated with the document library folder.
|
com.liferay.document.library.kernel.model.DLFolder |
getDLFolder(long folderId)
Returns the document library folder with the primary key.
|
com.liferay.document.library.kernel.model.DLFolder |
getDLFolderByUuidAndGroupId(String uuid,
long groupId)
Returns the document library folder matching the UUID and group.
|
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.
|
List<com.liferay.document.library.kernel.model.DLFolder> |
getDLFolders(int start,
int end)
Returns a range of all the document library folders.
|
List<com.liferay.document.library.kernel.model.DLFolder> |
getDLFoldersByUuidAndCompanyId(String uuid,
long companyId)
Returns all the document library folders matching the UUID and company.
|
List<com.liferay.document.library.kernel.model.DLFolder> |
getDLFoldersByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator)
Returns a range of document library folders matching the UUID and company.
|
int |
getDLFoldersCount()
Returns the number of document library folders.
|
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
Class<com.liferay.document.library.kernel.model.DLFolder> |
getModelClass() |
protected String |
getModelClassName() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
boolean |
hasDLFileEntryTypeDLFolder(long fileEntryTypeId,
long folderId) |
boolean |
hasDLFileEntryTypeDLFolders(long fileEntryTypeId) |
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 |
setDLFileEntryTypeDLFolders(long fileEntryTypeId,
long[] folderIds) |
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.
|
com.liferay.document.library.kernel.model.DLFolder |
updateDLFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder)
Updates the document library folder in the database or adds it if it does not yet exist.
|
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFolder>,R,E> updateUnsafeFunction) |
getClassLoader, getLocalizationMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFolder, deleteAllByGroup, deleteAllByRepository, deleteFolder, deleteFolder, deleteFolder, deleteFolder, deleteFolder, fetchFolder, fetchFolder, fetchFolder, getCompanyFolders, getCompanyFoldersCount, getFileEntriesAndFileShortcuts, getFileEntriesAndFileShortcutsCount, getFolder, getFolder, getFolderId, getFolders, getFolders, getFolders, getFolders, getFolders, getFoldersAndFileEntriesAndFileShortcuts, getFoldersAndFileEntriesAndFileShortcutsCount, getFoldersCount, getFoldersCount, getFoldersCount, getFoldersCount, getGroupFolderIds, getGroupSubfolderIds, getMountFolder, getMountFolders, getMountFoldersCount, getNoAssetFolders, getRepositoryFolderIds, getRepositoryFolders, getRepositoryFoldersCount, getRepositorySubfolderIds, getUniqueFolderName, hasFolderLock, hasInheritableLock, lockFolder, lockFolder, moveFolder, rebuildTree, rebuildTree, unlockFolder, unlockFolder, updateFolder, updateFolder, updateFolderAndFileEntryTypes, updateLastPostDate, updateStatus, verifyInheritableLock
@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.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence.class) protected com.liferay.document.library.kernel.service.persistence.DLFileEntryTypePersistence dlFileEntryTypePersistence
@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.DLFolder addDLFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder)
Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
dlFolder
- the document library folder@Transactional(enabled=false) public com.liferay.document.library.kernel.model.DLFolder createDLFolder(long folderId)
createDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
folderId
- the primary key for the new document library folder@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteDLFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
folderId
- the primary key of the document library foldercom.liferay.portal.kernel.exception.PortalException
- if a document library folder with the primary key could not be found@Indexable(type=DELETE) public com.liferay.document.library.kernel.model.DLFolder deleteDLFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder)
Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
dlFolder
- the document library folderpublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
.
dynamicQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
.
dynamicQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
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.DLFolderLocalService
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.DLFolderLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic com.liferay.document.library.kernel.model.DLFolder fetchDLFolder(long folderId)
fetchDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public com.liferay.document.library.kernel.model.DLFolder fetchDLFolderByUuidAndGroupId(String uuid, long groupId)
fetchDLFolderByUuidAndGroupId
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
uuid
- the document library folder's UUIDgroupId
- the primary key of the groupnull
if a matching document library folder could not be foundpublic com.liferay.document.library.kernel.model.DLFolder getDLFolder(long folderId) throws com.liferay.portal.kernel.exception.PortalException
getDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
folderId
- the primary key of the document library foldercom.liferay.portal.kernel.exception.PortalException
- if a document library folder 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.DLFolderLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
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.DLFolderLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.document.library.kernel.model.DLFolder> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
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.DLFolderLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.document.library.kernel.model.DLFolder> getDLFoldersByUuidAndCompanyId(String uuid, long companyId)
getDLFoldersByUuidAndCompanyId
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
uuid
- the UUID of the document library folderscompanyId
- the primary key of the companypublic List<com.liferay.document.library.kernel.model.DLFolder> getDLFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator)
getDLFoldersByUuidAndCompanyId
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
uuid
- the UUID of the document library folderscompanyId
- the primary key of the companystart
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.document.library.kernel.model.DLFolder getDLFolderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getDLFolderByUuidAndGroupId
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
uuid
- the document library folder's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching document library folder could not be foundpublic List<com.liferay.document.library.kernel.model.DLFolder> getDLFolders(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portlet.documentlibrary.model.impl.DLFolderModelImpl
.
getDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
start
- the lower bound of the range of document library foldersend
- the upper bound of the range of document library folders (not inclusive)public int getDLFoldersCount()
getDLFoldersCount
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
@Indexable(type=REINDEX) public com.liferay.document.library.kernel.model.DLFolder updateDLFolder(com.liferay.document.library.kernel.model.DLFolder dlFolder)
Important: Inspect DLFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
dlFolder
- the document library folderpublic void addDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
addDLFileEntryTypeDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void addDLFileEntryTypeDLFolder(long fileEntryTypeId, com.liferay.document.library.kernel.model.DLFolder dlFolder)
addDLFileEntryTypeDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void addDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds)
addDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void addDLFileEntryTypeDLFolders(long fileEntryTypeId, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
addDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void clearDLFileEntryTypeDLFolders(long fileEntryTypeId)
clearDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
deleteDLFileEntryTypeDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void deleteDLFileEntryTypeDLFolder(long fileEntryTypeId, com.liferay.document.library.kernel.model.DLFolder dlFolder)
deleteDLFileEntryTypeDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds)
deleteDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void deleteDLFileEntryTypeDLFolders(long fileEntryTypeId, List<com.liferay.document.library.kernel.model.DLFolder> dlFolders)
deleteDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public long[] getDLFileEntryTypePrimaryKeys(long folderId)
getDLFileEntryTypePrimaryKeys
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
folderId
- the folderId of the document library folderpublic List<com.liferay.document.library.kernel.model.DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId)
getDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public List<com.liferay.document.library.kernel.model.DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end)
getDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public List<com.liferay.document.library.kernel.model.DLFolder> getDLFileEntryTypeDLFolders(long fileEntryTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.document.library.kernel.model.DLFolder> orderByComparator)
getDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public int getDLFileEntryTypeDLFoldersCount(long fileEntryTypeId)
getDLFileEntryTypeDLFoldersCount
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public boolean hasDLFileEntryTypeDLFolder(long fileEntryTypeId, long folderId)
hasDLFileEntryTypeDLFolder
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public boolean hasDLFileEntryTypeDLFolders(long fileEntryTypeId)
hasDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public void setDLFileEntryTypeDLFolders(long fileEntryTypeId, long[] folderIds)
setDLFileEntryTypeDLFolders
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
public 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 com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFolder> getCTPersistence()
getCTPersistence
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
getCTPersistence
in interface com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFolder>
public Class<com.liferay.document.library.kernel.model.DLFolder> getModelClass()
getModelClass
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
getModelClass
in interface com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFolder>
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.document.library.kernel.model.DLFolder>,R,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction
in interface com.liferay.document.library.kernel.service.DLFolderLocalService
updateWithUnsafeFunction
in interface com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.document.library.kernel.model.DLFolder>
E extends Throwable
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query