Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeLocalServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DLFileEntryTypeLocalService

public class DLFileEntryTypeLocalServiceImpl
extends DLFileEntryTypeLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeLocalServiceBaseImpl
counterLocalService, ddmStructureFinder, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, 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, dlSyncFinder, dlSyncLocalService, dlSyncPersistence, dlSyncService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Constructor Summary
DLFileEntryTypeLocalServiceImpl()
           
 
Method Summary
 DLFileEntryType addFileEntryType(long userId, long groupId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
protected  void addFileEntryTypeResources(DLFileEntryType dlFileEntryType, boolean addGroupPermissions, boolean addGuestPermissions)
           
protected  void addFileEntryTypeResources(DLFileEntryType dlFileEntryType, String[] groupPermissions, String[] guestPermissions)
           
 void cascadeFileEntryTypes(long userId, DLFolder dlFolder)
           
protected  void cascadeFileEntryTypes(long groupId, long folderId, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, ServiceContext serviceContext)
           
 void deleteFileEntryType(DLFileEntryType dlFileEntryType)
           
 void deleteFileEntryType(long fileEntryTypeId)
           
 void deleteFileEntryTypes(long groupId)
           
 DLFileEntryType fetchFileEntryType(long fileEntryTypeId)
           
protected  void fixDDMStructureKey(String fileEntryTypeUuid, long fileEntryTypeId, long groupId)
           
 long getDefaultFileEntryTypeId(long folderId)
           
 DLFileEntryType getFileEntryType(long fileEntryTypeId)
           
 DLFileEntryType getFileEntryType(long groupId, String name)
           
protected  List<Long> getFileEntryTypeIds(List<DLFileEntryType> dlFileEntryTypes)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
           
protected  long getFileEntryTypesPrimaryFolderId(long folderId)
           
 List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited)
           
 List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator orderByComparator)
           
 int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
           
 void unsetFolderFileEntryTypes(long folderId)
           
protected  long updateDDMStructure(long userId, String fileEntryTypeUuid, long fileEntryTypeId, long groupId, String name, String description, ServiceContext serviceContext)
           
 DLFileEntry updateFileEntryFileEntryType(DLFileEntry dlFileEntry, ServiceContext serviceContext)
           
 void updateFileEntryType(long userId, long fileEntryTypeId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void updateFolderFileEntryTypes(DLFolder dlFolder, List<Long> fileEntryTypeIds, long defaultFileEntryTypeId, ServiceContext serviceContext)
           
protected  void validate(long fileEntryTypeId, long groupId, String fileEntryTypeName, long[] ddmStructureIds)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeLocalServiceBaseImpl
addDDMStructureDLFileEntryType, addDDMStructureDLFileEntryType, addDDMStructureDLFileEntryTypes, addDDMStructureDLFileEntryTypes, addDLFileEntryType, addDLFolderDLFileEntryType, addDLFolderDLFileEntryType, addDLFolderDLFileEntryTypes, addDLFolderDLFileEntryTypes, afterPropertiesSet, clearDDMStructureDLFileEntryTypes, clearDLFolderDLFileEntryTypes, createDLFileEntryType, deleteDDMStructureDLFileEntryType, deleteDDMStructureDLFileEntryType, deleteDDMStructureDLFileEntryTypes, deleteDDMStructureDLFileEntryTypes, deleteDLFileEntryType, deleteDLFileEntryType, deleteDLFolderDLFileEntryType, deleteDLFolderDLFileEntryType, deleteDLFolderDLFileEntryTypes, deleteDLFolderDLFileEntryTypes, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchDLFileEntryType, getBeanIdentifier, getCounterLocalService, getDDMStructureDLFileEntryTypes, getDDMStructureDLFileEntryTypes, getDDMStructureDLFileEntryTypes, getDDMStructureDLFileEntryTypesCount, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryType, getDLFileEntryTypeByUuidAndGroupId, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypes, getDLFileEntryTypesCount, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderDLFileEntryTypes, getDLFolderDLFileEntryTypes, getDLFolderDLFileEntryTypes, getDLFolderDLFileEntryTypesCount, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncFinder, getDLSyncLocalService, getDLSyncPersistence, getDLSyncService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, hasDDMStructureDLFileEntryType, hasDDMStructureDLFileEntryTypes, hasDLFolderDLFileEntryType, hasDLFolderDLFileEntryTypes, runSQL, setBeanIdentifier, setCounterLocalService, setDDMStructureDLFileEntryTypes, setDDMStructureFinder, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setDLAppHelperLocalService, setDLAppLocalService, setDLAppService, setDLContentLocalService, setDLContentPersistence, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryMetadataLocalService, setDLFileEntryMetadataPersistence, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileRankFinder, setDLFileRankLocalService, setDLFileRankPersistence, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderDLFileEntryTypes, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncFinder, setDLSyncLocalService, setDLSyncPersistence, setDLSyncService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateDLFileEntryType, updateDLFileEntryType
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryTypeLocalServiceImpl

public DLFileEntryTypeLocalServiceImpl()
Method Detail

addFileEntryType

public DLFileEntryType addFileEntryType(long userId,
                                        long groupId,
                                        String name,
                                        String description,
                                        long[] ddmStructureIds,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

cascadeFileEntryTypes

public void cascadeFileEntryTypes(long userId,
                                  DLFolder dlFolder)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteFileEntryType

public void deleteFileEntryType(DLFileEntryType dlFileEntryType)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteFileEntryType

public void deleteFileEntryType(long fileEntryTypeId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteFileEntryTypes

public void deleteFileEntryTypes(long groupId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

fetchFileEntryType

public DLFileEntryType fetchFileEntryType(long fileEntryTypeId)
                                   throws SystemException
Throws:
SystemException

getDefaultFileEntryTypeId

public long getDefaultFileEntryTypeId(long folderId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getFileEntryType

public DLFileEntryType getFileEntryType(long fileEntryTypeId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFileEntryType

public DLFileEntryType getFileEntryType(long groupId,
                                        String name)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getFileEntryTypes

public List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
                                        throws SystemException
Throws:
SystemException

getFolderFileEntryTypes

public List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds,
                                                     long folderId,
                                                     boolean inherited)
                                              throws PortalException,
                                                     SystemException
Throws:
PortalException
SystemException

search

public List<DLFileEntryType> search(long companyId,
                                    long[] groupIds,
                                    String keywords,
                                    boolean includeBasicFileEntryType,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       String keywords,
                       boolean includeBasicFileEntryType)
                throws SystemException
Throws:
SystemException

unsetFolderFileEntryTypes

public void unsetFolderFileEntryTypes(long folderId)
                               throws SystemException
Throws:
SystemException

updateFileEntryFileEntryType

public DLFileEntry updateFileEntryFileEntryType(DLFileEntry dlFileEntry,
                                                ServiceContext serviceContext)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

updateFileEntryType

public void updateFileEntryType(long userId,
                                long fileEntryTypeId,
                                String name,
                                String description,
                                long[] ddmStructureIds,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateFolderFileEntryTypes

public void updateFolderFileEntryTypes(DLFolder dlFolder,
                                       List<Long> fileEntryTypeIds,
                                       long defaultFileEntryTypeId,
                                       ServiceContext serviceContext)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

addFileEntryTypeResources

protected void addFileEntryTypeResources(DLFileEntryType dlFileEntryType,
                                         boolean addGroupPermissions,
                                         boolean addGuestPermissions)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

addFileEntryTypeResources

protected void addFileEntryTypeResources(DLFileEntryType dlFileEntryType,
                                         String[] groupPermissions,
                                         String[] guestPermissions)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

cascadeFileEntryTypes

protected void cascadeFileEntryTypes(long groupId,
                                     long folderId,
                                     long defaultFileEntryTypeId,
                                     List<Long> fileEntryTypeIds,
                                     ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

fixDDMStructureKey

protected void fixDDMStructureKey(String fileEntryTypeUuid,
                                  long fileEntryTypeId,
                                  long groupId)
                           throws SystemException
Throws:
SystemException

getFileEntryTypeIds

protected List<Long> getFileEntryTypeIds(List<DLFileEntryType> dlFileEntryTypes)

getFileEntryTypesPrimaryFolderId

protected long getFileEntryTypesPrimaryFolderId(long folderId)
                                         throws NoSuchFolderException,
                                                SystemException
Throws:
NoSuchFolderException
SystemException

updateDDMStructure

protected long updateDDMStructure(long userId,
                                  String fileEntryTypeUuid,
                                  long fileEntryTypeId,
                                  long groupId,
                                  String name,
                                  String description,
                                  ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long fileEntryTypeId,
                        long groupId,
                        String fileEntryTypeName,
                        long[] ddmStructureIds)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3