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

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
      extended by com.liferay.portlet.documentlibrary.service.impl.DLContentLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.documentlibrary.service.DLContentLocalService

public class DLContentLocalServiceImpl
extends DLContentLocalServiceBaseImpl

Author:
Brian Wing Shun Chan, Shuyang Zhou

Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
counterLocalService, dlAppHelperLocalService, dlAppLocalService, dlAppService, dlContentLocalService, dlContentPersistence, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryMetadataLocalService, dlFileEntryMetadataPersistence, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileRankFinder, dlFileRankLocalService, dlFileRankPersistence, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, dlSyncLocalService, dlSyncPersistence, dlSyncService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
DLContentLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.documentlibrary.model.DLContent addContent(long companyId, long repositoryId, java.lang.String path, java.lang.String version, byte[] bytes)
           
 com.liferay.portlet.documentlibrary.model.DLContent addContent(long companyId, long repositoryId, java.lang.String path, java.lang.String version, java.io.InputStream inputStream, long size)
           
 void deleteContent(long companyId, long repositoryId, java.lang.String path, java.lang.String version)
           
 void deleteContents(long companyId, long repositoryId, java.lang.String path)
           
 void deleteContentsByDirectory(long companyId, long repositoryId, java.lang.String dirName)
           
 com.liferay.portlet.documentlibrary.model.DLContent getContent(long companyId, long repositoryId, java.lang.String path)
           
 com.liferay.portlet.documentlibrary.model.DLContent getContent(long companyId, long repositoryId, java.lang.String path, java.lang.String version)
           
 java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(long companyId, long repositoryId)
           
 java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(long companyId, long repositoryId, java.lang.String path)
           
 java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContentsByDirectory(long companyId, long repositoryId, java.lang.String dirName)
           
 boolean hasContent(long companyId, long repositoryId, java.lang.String path, java.lang.String version)
           
 void updateDLContent(long companyId, long oldRepositoryId, long newRepositoryId, java.lang.String oldPath, java.lang.String newPath)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
addDLContent, afterPropertiesSet, createDLContent, deleteDLContent, deleteDLContent, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDLContent, getBeanIdentifier, getCounterLocalService, getDataBlobModel, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContent, getDLContentLocalService, getDLContentPersistence, getDLContents, getDLContentsCount, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncLocalService, getDLSyncPersistence, getDLSyncService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setCounterLocalService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncLocalService, setDLSyncPersistence, setDLSyncService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateDLContent, updateDLContent
 
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 com.liferay.portlet.documentlibrary.model.DLContent addContent(long companyId,
                                                                      long repositoryId,
                                                                      java.lang.String path,
                                                                      java.lang.String version,
                                                                      byte[] bytes)
                                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addContent

public com.liferay.portlet.documentlibrary.model.DLContent addContent(long companyId,
                                                                      long repositoryId,
                                                                      java.lang.String path,
                                                                      java.lang.String version,
                                                                      java.io.InputStream inputStream,
                                                                      long size)
                                                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteContent

public void deleteContent(long companyId,
                          long repositoryId,
                          java.lang.String path,
                          java.lang.String version)
                   throws com.liferay.portal.kernel.exception.PortalException,
                          com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteContents

public void deleteContents(long companyId,
                           long repositoryId,
                           java.lang.String path)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

deleteContentsByDirectory

public void deleteContentsByDirectory(long companyId,
                                      long repositoryId,
                                      java.lang.String dirName)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContent

public com.liferay.portlet.documentlibrary.model.DLContent getContent(long companyId,
                                                                      long repositoryId,
                                                                      java.lang.String path)
                                                               throws com.liferay.portlet.documentlibrary.NoSuchContentException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portlet.documentlibrary.NoSuchContentException
com.liferay.portal.kernel.exception.SystemException

getContent

public com.liferay.portlet.documentlibrary.model.DLContent getContent(long companyId,
                                                                      long repositoryId,
                                                                      java.lang.String path,
                                                                      java.lang.String version)
                                                               throws com.liferay.portlet.documentlibrary.NoSuchContentException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portlet.documentlibrary.NoSuchContentException
com.liferay.portal.kernel.exception.SystemException

getContents

public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(long companyId,
                                                                                       long repositoryId)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContents

public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(long companyId,
                                                                                       long repositoryId,
                                                                                       java.lang.String path)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getContentsByDirectory

public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContentsByDirectory(long companyId,
                                                                                                  long repositoryId,
                                                                                                  java.lang.String dirName)
                                                                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

hasContent

public boolean hasContent(long companyId,
                          long repositoryId,
                          java.lang.String path,
                          java.lang.String version)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

updateDLContent

public void updateDLContent(long companyId,
                            long oldRepositoryId,
                            long newRepositoryId,
                            java.lang.String oldPath,
                            java.lang.String newPath)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException