Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Class DLFileEntryTypeLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DLFileEntryTypeLocalService>, DLFileEntryTypeLocalService

@ProviderType
public class DLFileEntryTypeLocalServiceWrapper
extends Object
implements DLFileEntryTypeLocalService, ServiceWrapper<DLFileEntryTypeLocalService>

Provides a wrapper for DLFileEntryTypeLocalService.

See Also:
DLFileEntryTypeLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DLFileEntryTypeLocalServiceWrapper(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
           
 
Method Summary
 void addDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds)
           
 DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
          Adds the document library file entry type to the database.
 void addDLFolderDLFileEntryType(long folderId, DLFileEntryType dlFileEntryType)
           
 void addDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
           
 void addDLFolderDLFileEntryTypes(long folderId, List<DLFileEntryType> DLFileEntryTypes)
           
 void addDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds)
           
 DLFileEntryType addFileEntryType(long userId, long groupId, String fileEntryTypeKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, ServiceContext serviceContext)
           
 DLFileEntryType addFileEntryType(long userId, long groupId, String name, String description, long[] ddmStructureIds, ServiceContext serviceContext)
           
 void cascadeFileEntryTypes(long userId, DLFolder dlFolder)
           
 void clearDLFolderDLFileEntryTypes(long folderId)
           
 DLFileEntryType createDLFileEntryType(long fileEntryTypeId)
          Creates a new document library file entry type with the primary key.
 DLFileEntryType deleteDLFileEntryType(DLFileEntryType dlFileEntryType)
          Deletes the document library file entry type from the database.
 DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId)
          Deletes the document library file entry type with the primary key from the database.
 void deleteDLFolderDLFileEntryType(long folderId, DLFileEntryType dlFileEntryType)
           
 void deleteDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
           
 void deleteDLFolderDLFileEntryTypes(long folderId, List<DLFileEntryType> DLFileEntryTypes)
           
 void deleteDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds)
           
 void deleteFileEntryType(DLFileEntryType dlFileEntryType)
           
 void deleteFileEntryType(long fileEntryTypeId)
           
 void deleteFileEntryTypes(long groupId)
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
           
 DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId)
          Returns the document library file entry type matching the UUID and group.
 DLFileEntryType fetchFileEntryType(long fileEntryTypeId)
           
 DLFileEntryType fetchFileEntryType(long groupId, String fileEntryTypeKey)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 long getDefaultFileEntryTypeId(long folderId)
           
 DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
          Returns the document library file entry type with the primary key.
 DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid, long groupId)
          Returns the document library file entry type matching the UUID and group.
 List<DLFileEntryType> getDLFileEntryTypes(int start, int end)
          Returns a range of all the document library file entry types.
 List<DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(String uuid, long companyId)
          Returns all the document library file entry types matching the UUID and company.
 List<DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
          Returns a range of document library file entry types matching the UUID and company.
 int getDLFileEntryTypesCount()
          Returns the number of document library file entry types.
 List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId)
           
 List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId, int start, int end)
           
 List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
           
 int getDLFolderDLFileEntryTypesCount(long folderId)
           
 long[] getDLFolderPrimaryKeys(long fileEntryTypeId)
          Returns the folderIds of the document library folders associated with the document library file entry type.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 DLFileEntryType getFileEntryType(long fileEntryTypeId)
           
 DLFileEntryType getFileEntryType(long groupId, String fileEntryTypeKey)
           
 List<DLFileEntryType> getFileEntryTypes(long ddmStructureId)
           
 List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
           
 List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds, long folderId, boolean inherited)
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DLFileEntryTypeLocalService getWrappedService()
           
 boolean hasDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
           
 boolean hasDLFolderDLFileEntryTypes(long folderId)
           
 List<DLFileEntryType> search(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType, int start, int end, OrderByComparator<DLFileEntryType> orderByComparator)
           
 int searchCount(long companyId, long[] groupIds, String keywords, boolean includeBasicFileEntryType)
           
 void setDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds)
           
 void setWrappedService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
           
 void unsetFolderFileEntryTypes(long folderId)
           
 void updateDDMStructureLinks(long fileEntryTypeId, Set<Long> ddmStructureIds)
           
 DLFileEntryType updateDLFileEntryType(DLFileEntryType dlFileEntryType)
          Updates the document library file entry type in the database or adds it if it does not yet exist.
 DLFileEntry updateFileEntryFileEntryType(DLFileEntry dlFileEntry, ServiceContext serviceContext)
           
 void updateFileEntryType(long userId, long fileEntryTypeId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, long[] ddmStructureIds, 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileEntryTypeLocalServiceWrapper

public DLFileEntryTypeLocalServiceWrapper(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
Method Detail

addDDMStructureLinks

public void addDDMStructureLinks(long fileEntryTypeId,
                                 Set<Long> ddmStructureIds)
Specified by:
addDDMStructureLinks in interface DLFileEntryTypeLocalService

addDLFileEntryType

public DLFileEntryType addDLFileEntryType(DLFileEntryType dlFileEntryType)
Adds the document library file entry type to the database. Also notifies the appropriate model listeners.

Specified by:
addDLFileEntryType in interface DLFileEntryTypeLocalService
Parameters:
dlFileEntryType - the document library file entry type
Returns:
the document library file entry type that was added

addDLFolderDLFileEntryType

public void addDLFolderDLFileEntryType(long folderId,
                                       DLFileEntryType dlFileEntryType)
Specified by:
addDLFolderDLFileEntryType in interface DLFileEntryTypeLocalService

addDLFolderDLFileEntryType

public void addDLFolderDLFileEntryType(long folderId,
                                       long fileEntryTypeId)
Specified by:
addDLFolderDLFileEntryType in interface DLFileEntryTypeLocalService

addDLFolderDLFileEntryTypes

public void addDLFolderDLFileEntryTypes(long folderId,
                                        List<DLFileEntryType> DLFileEntryTypes)
Specified by:
addDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

addDLFolderDLFileEntryTypes

public void addDLFolderDLFileEntryTypes(long folderId,
                                        long[] fileEntryTypeIds)
Specified by:
addDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

addFileEntryType

public DLFileEntryType addFileEntryType(long userId,
                                        long groupId,
                                        String fileEntryTypeKey,
                                        Map<Locale,String> nameMap,
                                        Map<Locale,String> descriptionMap,
                                        long[] ddmStructureIds,
                                        ServiceContext serviceContext)
                                 throws PortalException
Specified by:
addFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

addFileEntryType

public DLFileEntryType addFileEntryType(long userId,
                                        long groupId,
                                        String name,
                                        String description,
                                        long[] ddmStructureIds,
                                        ServiceContext serviceContext)
                                 throws PortalException
Specified by:
addFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

cascadeFileEntryTypes

public void cascadeFileEntryTypes(long userId,
                                  DLFolder dlFolder)
                           throws PortalException
Specified by:
cascadeFileEntryTypes in interface DLFileEntryTypeLocalService
Throws:
PortalException

clearDLFolderDLFileEntryTypes

public void clearDLFolderDLFileEntryTypes(long folderId)
Specified by:
clearDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

createDLFileEntryType

public DLFileEntryType createDLFileEntryType(long fileEntryTypeId)
Creates a new document library file entry type with the primary key. Does not add the document library file entry type to the database.

Specified by:
createDLFileEntryType in interface DLFileEntryTypeLocalService
Parameters:
fileEntryTypeId - the primary key for the new document library file entry type
Returns:
the new document library file entry type

deleteDLFileEntryType

public DLFileEntryType deleteDLFileEntryType(DLFileEntryType dlFileEntryType)
Deletes the document library file entry type from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileEntryType in interface DLFileEntryTypeLocalService
Parameters:
dlFileEntryType - the document library file entry type
Returns:
the document library file entry type that was removed

deleteDLFileEntryType

public DLFileEntryType deleteDLFileEntryType(long fileEntryTypeId)
                                      throws PortalException
Deletes the document library file entry type with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileEntryType in interface DLFileEntryTypeLocalService
Parameters:
fileEntryTypeId - the primary key of the document library file entry type
Returns:
the document library file entry type that was removed
Throws:
PortalException - if a document library file entry type with the primary key could not be found

deleteDLFolderDLFileEntryType

public void deleteDLFolderDLFileEntryType(long folderId,
                                          DLFileEntryType dlFileEntryType)
Specified by:
deleteDLFolderDLFileEntryType in interface DLFileEntryTypeLocalService

deleteDLFolderDLFileEntryType

public void deleteDLFolderDLFileEntryType(long folderId,
                                          long fileEntryTypeId)
Specified by:
deleteDLFolderDLFileEntryType in interface DLFileEntryTypeLocalService

deleteDLFolderDLFileEntryTypes

public void deleteDLFolderDLFileEntryTypes(long folderId,
                                           List<DLFileEntryType> DLFileEntryTypes)
Specified by:
deleteDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

deleteDLFolderDLFileEntryTypes

public void deleteDLFolderDLFileEntryTypes(long folderId,
                                           long[] fileEntryTypeIds)
Specified by:
deleteDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

deleteFileEntryType

public void deleteFileEntryType(DLFileEntryType dlFileEntryType)
                         throws PortalException
Specified by:
deleteFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

deleteFileEntryType

public void deleteFileEntryType(long fileEntryTypeId)
                         throws PortalException
Specified by:
deleteFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

deleteFileEntryTypes

public void deleteFileEntryTypes(long groupId)
                          throws PortalException
Specified by:
deleteFileEntryTypes in interface DLFileEntryTypeLocalService
Throws:
PortalException

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface DLFileEntryTypeLocalService
Throws:
PortalException

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DLFileEntryTypeLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DLFileEntryTypeLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface DLFileEntryTypeLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
dynamicQuery in interface DLFileEntryTypeLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DLFileEntryTypeLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface DLFileEntryTypeLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDLFileEntryType

public DLFileEntryType fetchDLFileEntryType(long fileEntryTypeId)
Specified by:
fetchDLFileEntryType in interface DLFileEntryTypeLocalService

fetchDLFileEntryTypeByUuidAndGroupId

public DLFileEntryType fetchDLFileEntryTypeByUuidAndGroupId(String uuid,
                                                            long groupId)
Returns the document library file entry type matching the UUID and group.

Specified by:
fetchDLFileEntryTypeByUuidAndGroupId in interface DLFileEntryTypeLocalService
Parameters:
uuid - the document library file entry type's UUID
groupId - the primary key of the group
Returns:
the matching document library file entry type, or null if a matching document library file entry type could not be found

fetchFileEntryType

public DLFileEntryType fetchFileEntryType(long fileEntryTypeId)
Specified by:
fetchFileEntryType in interface DLFileEntryTypeLocalService

fetchFileEntryType

public DLFileEntryType fetchFileEntryType(long groupId,
                                          String fileEntryTypeKey)
Specified by:
fetchFileEntryType in interface DLFileEntryTypeLocalService

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface DLFileEntryTypeLocalService

getDLFileEntryType

public DLFileEntryType getDLFileEntryType(long fileEntryTypeId)
                                   throws PortalException
Returns the document library file entry type with the primary key.

Specified by:
getDLFileEntryType in interface DLFileEntryTypeLocalService
Parameters:
fileEntryTypeId - the primary key of the document library file entry type
Returns:
the document library file entry type
Throws:
PortalException - if a document library file entry type with the primary key could not be found

getDLFileEntryTypeByUuidAndGroupId

public DLFileEntryType getDLFileEntryTypeByUuidAndGroupId(String uuid,
                                                          long groupId)
                                                   throws PortalException
Returns the document library file entry type matching the UUID and group.

Specified by:
getDLFileEntryTypeByUuidAndGroupId in interface DLFileEntryTypeLocalService
Parameters:
uuid - the document library file entry type's UUID
groupId - the primary key of the group
Returns:
the matching document library file entry type
Throws:
PortalException - if a matching document library file entry type could not be found

getDLFileEntryTypes

public List<DLFileEntryType> getDLFileEntryTypes(int start,
                                                 int end)
Returns a range of all the document library file entry types.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from DLFileEntryTypeModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
getDLFileEntryTypes in interface DLFileEntryTypeLocalService
Parameters:
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
Returns:
the range of document library file entry types

getDLFileEntryTypesByUuidAndCompanyId

public List<DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(String uuid,
                                                                   long companyId)
Returns all the document library file entry types matching the UUID and company.

Specified by:
getDLFileEntryTypesByUuidAndCompanyId in interface DLFileEntryTypeLocalService
Parameters:
uuid - the UUID of the document library file entry types
companyId - the primary key of the company
Returns:
the matching document library file entry types, or an empty list if no matches were found

getDLFileEntryTypesByUuidAndCompanyId

public List<DLFileEntryType> getDLFileEntryTypesByUuidAndCompanyId(String uuid,
                                                                   long companyId,
                                                                   int start,
                                                                   int end,
                                                                   OrderByComparator<DLFileEntryType> orderByComparator)
Returns a range of document library file entry types matching the UUID and company.

Specified by:
getDLFileEntryTypesByUuidAndCompanyId in interface DLFileEntryTypeLocalService
Parameters:
uuid - the UUID of the document library file entry types
companyId - the primary key of the company
start - the lower bound of the range of document library file entry types
end - the upper bound of the range of document library file entry types (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the range of matching document library file entry types, or an empty list if no matches were found

getDLFileEntryTypesCount

public int getDLFileEntryTypesCount()
Returns the number of document library file entry types.

Specified by:
getDLFileEntryTypesCount in interface DLFileEntryTypeLocalService
Returns:
the number of document library file entry types

getDLFolderDLFileEntryTypes

public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId)
Specified by:
getDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

getDLFolderDLFileEntryTypes

public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
                                                         int start,
                                                         int end)
Specified by:
getDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

getDLFolderDLFileEntryTypes

public List<DLFileEntryType> getDLFolderDLFileEntryTypes(long folderId,
                                                         int start,
                                                         int end,
                                                         OrderByComparator<DLFileEntryType> orderByComparator)
Specified by:
getDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

getDLFolderDLFileEntryTypesCount

public int getDLFolderDLFileEntryTypesCount(long folderId)
Specified by:
getDLFolderDLFileEntryTypesCount in interface DLFileEntryTypeLocalService

getDLFolderPrimaryKeys

public long[] getDLFolderPrimaryKeys(long fileEntryTypeId)
Returns the folderIds of the document library folders associated with the document library file entry type.

Specified by:
getDLFolderPrimaryKeys in interface DLFileEntryTypeLocalService
Parameters:
fileEntryTypeId - the fileEntryTypeId of the document library file entry type
Returns:
long[] the folderIds of document library folders associated with the document library file entry type

getDefaultFileEntryTypeId

public long getDefaultFileEntryTypeId(long folderId)
                               throws PortalException
Specified by:
getDefaultFileEntryTypeId in interface DLFileEntryTypeLocalService
Throws:
PortalException

getExportActionableDynamicQuery

public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
Specified by:
getExportActionableDynamicQuery in interface DLFileEntryTypeLocalService

getFileEntryType

public DLFileEntryType getFileEntryType(long fileEntryTypeId)
                                 throws PortalException
Specified by:
getFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

getFileEntryType

public DLFileEntryType getFileEntryType(long groupId,
                                        String fileEntryTypeKey)
                                 throws PortalException
Specified by:
getFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

getFileEntryTypes

public List<DLFileEntryType> getFileEntryTypes(long ddmStructureId)
                                        throws PortalException
Specified by:
getFileEntryTypes in interface DLFileEntryTypeLocalService
Throws:
PortalException

getFileEntryTypes

public List<DLFileEntryType> getFileEntryTypes(long[] groupIds)
Specified by:
getFileEntryTypes in interface DLFileEntryTypeLocalService

getFolderFileEntryTypes

public List<DLFileEntryType> getFolderFileEntryTypes(long[] groupIds,
                                                     long folderId,
                                                     boolean inherited)
                                              throws PortalException
Specified by:
getFolderFileEntryTypes in interface DLFileEntryTypeLocalService
Throws:
PortalException

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface DLFileEntryTypeLocalService

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface DLFileEntryTypeLocalService
Returns:
the OSGi service identifier

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DLFileEntryTypeLocalService
Throws:
PortalException

hasDLFolderDLFileEntryType

public boolean hasDLFolderDLFileEntryType(long folderId,
                                          long fileEntryTypeId)
Specified by:
hasDLFolderDLFileEntryType in interface DLFileEntryTypeLocalService

hasDLFolderDLFileEntryTypes

public boolean hasDLFolderDLFileEntryTypes(long folderId)
Specified by:
hasDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

search

public List<DLFileEntryType> search(long companyId,
                                    long[] groupIds,
                                    String keywords,
                                    boolean includeBasicFileEntryType,
                                    int start,
                                    int end,
                                    OrderByComparator<DLFileEntryType> orderByComparator)
Specified by:
search in interface DLFileEntryTypeLocalService

searchCount

public int searchCount(long companyId,
                       long[] groupIds,
                       String keywords,
                       boolean includeBasicFileEntryType)
Specified by:
searchCount in interface DLFileEntryTypeLocalService

setDLFolderDLFileEntryTypes

public void setDLFolderDLFileEntryTypes(long folderId,
                                        long[] fileEntryTypeIds)
Specified by:
setDLFolderDLFileEntryTypes in interface DLFileEntryTypeLocalService

unsetFolderFileEntryTypes

public void unsetFolderFileEntryTypes(long folderId)
Specified by:
unsetFolderFileEntryTypes in interface DLFileEntryTypeLocalService

updateDDMStructureLinks

public void updateDDMStructureLinks(long fileEntryTypeId,
                                    Set<Long> ddmStructureIds)
                             throws PortalException
Specified by:
updateDDMStructureLinks in interface DLFileEntryTypeLocalService
Throws:
PortalException

updateDLFileEntryType

public DLFileEntryType updateDLFileEntryType(DLFileEntryType dlFileEntryType)
Updates the document library file entry type in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLFileEntryType in interface DLFileEntryTypeLocalService
Parameters:
dlFileEntryType - the document library file entry type
Returns:
the document library file entry type that was updated

updateFileEntryFileEntryType

public DLFileEntry updateFileEntryFileEntryType(DLFileEntry dlFileEntry,
                                                ServiceContext serviceContext)
                                         throws PortalException
Specified by:
updateFileEntryFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

updateFileEntryType

public void updateFileEntryType(long userId,
                                long fileEntryTypeId,
                                String name,
                                String description,
                                long[] ddmStructureIds,
                                ServiceContext serviceContext)
                         throws PortalException
Specified by:
updateFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

updateFileEntryType

public void updateFileEntryType(long userId,
                                long fileEntryTypeId,
                                Map<Locale,String> nameMap,
                                Map<Locale,String> descriptionMap,
                                long[] ddmStructureIds,
                                ServiceContext serviceContext)
                         throws PortalException
Specified by:
updateFileEntryType in interface DLFileEntryTypeLocalService
Throws:
PortalException

updateFolderFileEntryTypes

public void updateFolderFileEntryTypes(DLFolder dlFolder,
                                       List<Long> fileEntryTypeIds,
                                       long defaultFileEntryTypeId,
                                       ServiceContext serviceContext)
Specified by:
updateFolderFileEntryTypes in interface DLFileEntryTypeLocalService

getWrappedService

public DLFileEntryTypeLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DLFileEntryTypeLocalService>

setWrappedService

public void setWrappedService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DLFileEntryTypeLocalService>

Liferay 7.0-ce-b4