Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl
          extended by com.liferay.portlet.documentlibrary.service.impl.DLFileEntryTypeServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseService, DLFileEntryTypeService

public class DLFileEntryTypeServiceImpl
extends DLFileEntryTypeServiceBaseImpl

Provides the remote service for accessing, adding, deleting, and updating file and folder file entry types. Its methods include permission checks.


Field Summary
 
Fields inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl
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, dlSyncEventLocalService, dlSyncEventPersistence, resourceLocalService, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
DLFileEntryTypeServiceImpl()
           
 
Method Summary
 DLFileEntryType addFileEntryType(long groupId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
 DLFileEntryType addFileEntryType(long groupId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void deleteFileEntryType(long fileEntryTypeId)
           
protected  List<DLFileEntryType> filterFileEntryTypes(List<DLFileEntryType> fileEntryTypes)
           
 DLFileEntryType getFileEntryType(long fileEntryTypeId)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds, int start, int end)
           
 int getFileEntryTypesCount(long[] groupIds)
           
 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 updateFileEntryType(long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void updateFileEntryType(long fileEntryTypeId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.documentlibrary.service.base.DLFileEntryTypeServiceBaseImpl
afterPropertiesSet, destroy, getBeanIdentifier, getCounterLocalService, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getDLAppHelperLocalService, getDLAppLocalService, getDLAppService, getDLContentLocalService, getDLContentPersistence, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryMetadataLocalService, getDLFileEntryMetadataPersistence, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileRankFinder, getDLFileRankLocalService, getDLFileRankPersistence, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getDLSyncEventLocalService, getDLSyncEventPersistence, getModelClass, getModelClassName, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setBeanIdentifier, setCounterLocalService, 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, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setDLSyncEventLocalService, setDLSyncEventPersistence, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryTypeServiceImpl

public DLFileEntryTypeServiceImpl()
Method Detail

addFileEntryType

public DLFileEntryType addFileEntryType(long groupId,
                                        String fileEntryTypeKey,
                                        Map<Locale,String> nameMap,
                                        Map<Locale,String> descriptionMap,
                                        long[] ddmStructureIds,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

addFileEntryType

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

deleteFileEntryType

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

getFileEntryType

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

getFileEntryTypes

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

getFileEntryTypes

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

getFileEntryTypesCount

public int getFileEntryTypesCount(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

updateFileEntryType

public void updateFileEntryType(long fileEntryTypeId,
                                Map<Locale,String> nameMap,
                                Map<Locale,String> descriptionMap,
                                long[] ddmStructureIds,
                                ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

updateFileEntryType

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

filterFileEntryTypes

protected List<DLFileEntryType> filterFileEntryTypes(List<DLFileEntryType> fileEntryTypes)
                                              throws PortalException
Throws:
PortalException

Liferay 6.2-ce-ga5