Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service.impl
Class DLContentLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLContentLocalServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, DLContentLocalService

public class DLContentLocalServiceImpl
extends DLContentLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
counterLocalService, dlContentLocalService, dlContentPersistence, persistedModelLocalServiceRegistry
 
Constructor Summary
DLContentLocalServiceImpl()
           
 
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 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
 

Constructor Detail

DLContentLocalServiceImpl

public DLContentLocalServiceImpl()
Method Detail

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)

Liferay 7.0-ce-b4