com.liferay.portlet.documentlibrary.service.impl
Class DLContentLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
com.liferay.portlet.documentlibrary.service.impl.DLContentLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, DLContentLocalService
public class DLContentLocalServiceImpl
- extends DLContentLocalServiceBaseImpl
|
Method Summary |
DLContent |
addContent(long companyId,
long repositoryId,
String path,
String version,
byte[] bytes)
|
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)
|
DLContent |
getContent(long companyId,
long repositoryId,
String path)
|
DLContent |
getContent(long companyId,
long repositoryId,
String path,
String version)
|
List<DLContent> |
getContents(long companyId,
long repositoryId)
|
List<DLContent> |
getContents(long companyId,
long repositoryId,
String path)
|
List<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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DLContentLocalServiceImpl
public DLContentLocalServiceImpl()
addContent
public DLContent addContent(long companyId,
long repositoryId,
String path,
String version,
byte[] bytes)
addContent
public 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 PortalException
- Throws:
PortalException
deleteContents
public void deleteContents(long companyId,
long repositoryId,
String path)
deleteContentsByDirectory
public void deleteContentsByDirectory(long companyId,
long repositoryId,
String dirName)
getContent
public DLContent getContent(long companyId,
long repositoryId,
String path)
throws NoSuchContentException
- Throws:
NoSuchContentException
getContent
public DLContent getContent(long companyId,
long repositoryId,
String path,
String version)
throws NoSuchContentException
- Throws:
NoSuchContentException
getContents
public List<DLContent> getContents(long companyId,
long repositoryId)
getContents
public List<DLContent> getContents(long companyId,
long repositoryId,
String path)
getContentsByDirectory
public List<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)