com.liferay.portlet.documentlibrary.service.impl
Class DLContentLocalServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLContentLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.document.library.kernel.service.DLContentLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService
public class DLContentLocalServiceImpl
- extends DLContentLocalServiceBaseImpl
|
Method Summary |
com.liferay.document.library.kernel.model.DLContent |
addContent(long companyId,
long repositoryId,
String path,
String version,
byte[] bytes)
|
com.liferay.document.library.kernel.model.DLContent |
addContent(long companyId,
long repositoryId,
String path,
String version,
InputStream inputStream,
long size)
|
void |
deleteContent(long companyId,
long repositoryId,
String path,
String version)
|
void |
deleteContents(long companyId,
long repositoryId,
String path)
|
void |
deleteContentsByDirectory(long companyId,
long repositoryId,
String dirName)
|
com.liferay.document.library.kernel.model.DLContent |
getContent(long companyId,
long repositoryId,
String path)
|
com.liferay.document.library.kernel.model.DLContent |
getContent(long companyId,
long repositoryId,
String path,
String version)
|
List<com.liferay.document.library.kernel.model.DLContent> |
getContents(long companyId,
long repositoryId)
|
List<com.liferay.document.library.kernel.model.DLContent> |
getContents(long companyId,
long repositoryId,
String path)
|
List<com.liferay.document.library.kernel.model.DLContent> |
getContentsByDirectory(long companyId,
long repositoryId,
String dirName)
|
boolean |
hasContent(long companyId,
long repositoryId,
String path,
String version)
|
void |
updateDLContent(long companyId,
long oldRepositoryId,
long newRepositoryId,
String oldPath,
String newPath)
|
| Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl |
addDLContent, afterPropertiesSet, createDLContent, deleteDLContent, deleteDLContent, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchDLContent, getActionableDynamicQuery, getCounterLocalService, getDataBlobModel, getDLContent, getDLContentLocalService, getDLContentPersistence, getDLContents, getDLContentsCount, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setDLContentLocalService, setDLContentPersistence, updateDLContent |
| Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl |
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLContentLocalServiceImpl
public DLContentLocalServiceImpl()
addContent
public com.liferay.document.library.kernel.model.DLContent addContent(long companyId,
long repositoryId,
String path,
String version,
byte[] bytes)
addContent
public com.liferay.document.library.kernel.model.DLContent addContent(long companyId,
long repositoryId,
String path,
String version,
InputStream inputStream,
long size)
deleteContent
public void deleteContent(long companyId,
long repositoryId,
String path,
String version)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteContents
public void deleteContents(long companyId,
long repositoryId,
String path)
deleteContentsByDirectory
public void deleteContentsByDirectory(long companyId,
long repositoryId,
String dirName)
getContent
public com.liferay.document.library.kernel.model.DLContent getContent(long companyId,
long repositoryId,
String path)
throws com.liferay.document.library.kernel.exception.NoSuchContentException
- Throws:
com.liferay.document.library.kernel.exception.NoSuchContentException
getContent
public com.liferay.document.library.kernel.model.DLContent getContent(long companyId,
long repositoryId,
String path,
String version)
throws com.liferay.document.library.kernel.exception.NoSuchContentException
- Throws:
com.liferay.document.library.kernel.exception.NoSuchContentException
getContents
public List<com.liferay.document.library.kernel.model.DLContent> getContents(long companyId,
long repositoryId)
getContents
public List<com.liferay.document.library.kernel.model.DLContent> getContents(long companyId,
long repositoryId,
String path)
getContentsByDirectory
public List<com.liferay.document.library.kernel.model.DLContent> getContentsByDirectory(long companyId,
long repositoryId,
String dirName)
hasContent
public boolean hasContent(long companyId,
long repositoryId,
String path,
String version)
updateDLContent
public void updateDLContent(long companyId,
long oldRepositoryId,
long newRepositoryId,
String oldPath,
String newPath)