Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service.base
Class DLFileEntryTypeLocalServiceBaseImpl

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

@ProviderType
public abstract class DLFileEntryTypeLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements DLFileEntryTypeLocalService, IdentifiableOSGiService

Provides the base implementation for the document library file entry type local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in DLFileEntryTypeLocalServiceImpl.

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

Field Summary
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  CounterLocalService counterLocalService
           
protected  DLAppHelperLocalService dlAppHelperLocalService
           
protected  DLFileEntryFinder dlFileEntryFinder
           
protected  DLFileEntryLocalService dlFileEntryLocalService
           
protected  DLFileEntryPersistence dlFileEntryPersistence
           
protected  DLFileEntryTypeFinder dlFileEntryTypeFinder
           
protected  DLFileEntryTypeLocalService dlFileEntryTypeLocalService
           
protected  DLFileEntryTypePersistence dlFileEntryTypePersistence
           
protected  DLFileVersionLocalService dlFileVersionLocalService
           
protected  DLFileVersionPersistence dlFileVersionPersistence
           
protected  DLFolderFinder dlFolderFinder
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService
           
protected  WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
           
protected  WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Constructor Summary
DLFileEntryTypeLocalServiceBaseImpl()
           
 
Method Summary
 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)
           
 void afterPropertiesSet()
           
 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)
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 void destroy()
           
 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.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 DLAppHelperLocalService getDLAppHelperLocalService()
          Returns the d l app helper local service.
 DLFileEntryFinder getDLFileEntryFinder()
          Returns the document library file entry finder.
 DLFileEntryLocalService getDLFileEntryLocalService()
          Returns the document library file entry local service.
 DLFileEntryPersistence getDLFileEntryPersistence()
          Returns the document library file entry persistence.
 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.
 DLFileEntryTypeFinder getDLFileEntryTypeFinder()
          Returns the document library file entry type finder.
 DLFileEntryTypeLocalService getDLFileEntryTypeLocalService()
          Returns the document library file entry type local service.
 DLFileEntryTypePersistence getDLFileEntryTypePersistence()
          Returns the document library file entry type persistence.
 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.
 DLFileVersionLocalService getDLFileVersionLocalService()
          Returns the document library file version local service.
 DLFileVersionPersistence getDLFileVersionPersistence()
          Returns the document library file version persistence.
 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)
           
 DLFolderFinder getDLFolderFinder()
          Returns the document library folder finder.
 DLFolderLocalService getDLFolderLocalService()
          Returns the document library folder local service.
 DLFolderPersistence getDLFolderPersistence()
          Returns the document library folder persistence.
 long[] getDLFolderPrimaryKeys(long fileEntryTypeId)
          Returns the folderIds of the document library folders associated with the document library file entry type.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService()
          Returns the workflow definition link local service.
 WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence()
          Returns the workflow definition link persistence.
 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
          Returns the workflow instance link local service.
 WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
          Returns the workflow instance link persistence.
 boolean hasDLFolderDLFileEntryType(long folderId, long fileEntryTypeId)
           
 boolean hasDLFolderDLFileEntryTypes(long folderId)
           
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
          Sets the d l app helper local service.
 void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
          Sets the document library file entry finder.
 void setDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
          Sets the document library file entry local service.
 void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
          Sets the document library file entry persistence.
 void setDLFileEntryTypeFinder(DLFileEntryTypeFinder dlFileEntryTypeFinder)
          Sets the document library file entry type finder.
 void setDLFileEntryTypeLocalService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
          Sets the document library file entry type local service.
 void setDLFileEntryTypePersistence(DLFileEntryTypePersistence dlFileEntryTypePersistence)
          Sets the document library file entry type persistence.
 void setDLFileVersionLocalService(DLFileVersionLocalService dlFileVersionLocalService)
          Sets the document library file version local service.
 void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
          Sets the document library file version persistence.
 void setDLFolderDLFileEntryTypes(long folderId, long[] fileEntryTypeIds)
           
 void setDLFolderFinder(DLFolderFinder dlFolderFinder)
          Sets the document library folder finder.
 void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
          Sets the document library folder local service.
 void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
          Sets the document library folder persistence.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setWorkflowDefinitionLinkLocalService(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService)
          Sets the workflow definition link local service.
 void setWorkflowDefinitionLinkPersistence(WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence)
          Sets the workflow definition link persistence.
 void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
          Sets the workflow instance link local service.
 void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
          Sets the workflow instance link persistence.
 DLFileEntryType updateDLFileEntryType(DLFileEntryType dlFileEntryType)
          Updates the document library file entry type in the database or adds it if it does not yet exist.
 
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
 
Methods inherited from interface com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService
addDDMStructureLinks, addFileEntryType, addFileEntryType, cascadeFileEntryTypes, deleteFileEntryType, deleteFileEntryType, deleteFileEntryTypes, fetchFileEntryType, fetchFileEntryType, getDefaultFileEntryTypeId, getFileEntryType, getFileEntryType, getFileEntryTypes, getFileEntryTypes, getFolderFileEntryTypes, search, searchCount, unsetFolderFileEntryTypes, updateDDMStructureLinks, updateFileEntryFileEntryType, updateFileEntryType, updateFileEntryType, updateFolderFileEntryTypes
 

Field Detail

dlFileEntryTypeLocalService

@BeanReference(type=DLFileEntryTypeLocalService.class)
protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService

dlFileEntryTypePersistence

@BeanReference(type=DLFileEntryTypePersistence.class)
protected DLFileEntryTypePersistence dlFileEntryTypePersistence

dlFileEntryTypeFinder

@BeanReference(type=DLFileEntryTypeFinder.class)
protected DLFileEntryTypeFinder dlFileEntryTypeFinder

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

workflowDefinitionLinkLocalService

@BeanReference(type=WorkflowDefinitionLinkLocalService.class)
protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService

workflowDefinitionLinkPersistence

@BeanReference(type=WorkflowDefinitionLinkPersistence.class)
protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence

workflowInstanceLinkLocalService

@BeanReference(type=WorkflowInstanceLinkLocalService.class)
protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

dlAppHelperLocalService

@BeanReference(type=DLAppHelperLocalService.class)
protected DLAppHelperLocalService dlAppHelperLocalService

dlFileEntryLocalService

@BeanReference(type=DLFileEntryLocalService.class)
protected DLFileEntryLocalService dlFileEntryLocalService

dlFileEntryPersistence

@BeanReference(type=DLFileEntryPersistence.class)
protected DLFileEntryPersistence dlFileEntryPersistence

dlFileEntryFinder

@BeanReference(type=DLFileEntryFinder.class)
protected DLFileEntryFinder dlFileEntryFinder

dlFileVersionLocalService

@BeanReference(type=DLFileVersionLocalService.class)
protected DLFileVersionLocalService dlFileVersionLocalService

dlFileVersionPersistence

@BeanReference(type=DLFileVersionPersistence.class)
protected DLFileVersionPersistence dlFileVersionPersistence

dlFolderLocalService

@BeanReference(type=DLFolderLocalService.class)
protected DLFolderLocalService dlFolderLocalService

dlFolderPersistence

@BeanReference(type=DLFolderPersistence.class)
protected DLFolderPersistence dlFolderPersistence

dlFolderFinder

@BeanReference(type=DLFolderFinder.class)
protected DLFolderFinder dlFolderFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

DLFileEntryTypeLocalServiceBaseImpl

public DLFileEntryTypeLocalServiceBaseImpl()
Method Detail

addDLFileEntryType

@Indexable(type=REINDEX)
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

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

@Indexable(type=DELETE)
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

deleteDLFileEntryType

@Indexable(type=DELETE)
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

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

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

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

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

deletePersistedModel

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

getPersistedModel

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

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

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

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

updateDLFileEntryType

@Indexable(type=REINDEX)
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

addDLFolderDLFileEntryType

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

addDLFolderDLFileEntryType

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

addDLFolderDLFileEntryTypes

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

addDLFolderDLFileEntryTypes

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

clearDLFolderDLFileEntryTypes

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

deleteDLFolderDLFileEntryType

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

deleteDLFolderDLFileEntryType

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

deleteDLFolderDLFileEntryTypes

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

deleteDLFolderDLFileEntryTypes

public void deleteDLFolderDLFileEntryTypes(long folderId,
                                           List<DLFileEntryType> DLFileEntryTypes)
Specified by:
deleteDLFolderDLFileEntryTypes 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

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

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

setDLFolderDLFileEntryTypes

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

getDLFileEntryTypeLocalService

public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService()
Returns the document library file entry type local service.

Returns:
the document library file entry type local service

setDLFileEntryTypeLocalService

public void setDLFileEntryTypeLocalService(DLFileEntryTypeLocalService dlFileEntryTypeLocalService)
Sets the document library file entry type local service.

Parameters:
dlFileEntryTypeLocalService - the document library file entry type local service

getDLFileEntryTypePersistence

public DLFileEntryTypePersistence getDLFileEntryTypePersistence()
Returns the document library file entry type persistence.

Returns:
the document library file entry type persistence

setDLFileEntryTypePersistence

public void setDLFileEntryTypePersistence(DLFileEntryTypePersistence dlFileEntryTypePersistence)
Sets the document library file entry type persistence.

Parameters:
dlFileEntryTypePersistence - the document library file entry type persistence

getDLFileEntryTypeFinder

public DLFileEntryTypeFinder getDLFileEntryTypeFinder()
Returns the document library file entry type finder.

Returns:
the document library file entry type finder

setDLFileEntryTypeFinder

public void setDLFileEntryTypeFinder(DLFileEntryTypeFinder dlFileEntryTypeFinder)
Sets the document library file entry type finder.

Parameters:
dlFileEntryTypeFinder - the document library file entry type finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getWorkflowDefinitionLinkLocalService

public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService()
Returns the workflow definition link local service.

Returns:
the workflow definition link local service

setWorkflowDefinitionLinkLocalService

public void setWorkflowDefinitionLinkLocalService(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService)
Sets the workflow definition link local service.

Parameters:
workflowDefinitionLinkLocalService - the workflow definition link local service

getWorkflowDefinitionLinkPersistence

public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence()
Returns the workflow definition link persistence.

Returns:
the workflow definition link persistence

setWorkflowDefinitionLinkPersistence

public void setWorkflowDefinitionLinkPersistence(WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence)
Sets the workflow definition link persistence.

Parameters:
workflowDefinitionLinkPersistence - the workflow definition link persistence

getWorkflowInstanceLinkLocalService

public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service.

Returns:
the workflow instance link local service

setWorkflowInstanceLinkLocalService

public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service.

Parameters:
workflowInstanceLinkLocalService - the workflow instance link local service

getWorkflowInstanceLinkPersistence

public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence.

Returns:
the workflow instance link persistence

setWorkflowInstanceLinkPersistence

public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence.

Parameters:
workflowInstanceLinkPersistence - the workflow instance link persistence

getDLAppHelperLocalService

public DLAppHelperLocalService getDLAppHelperLocalService()
Returns the d l app helper local service.

Returns:
the d l app helper local service

setDLAppHelperLocalService

public void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
Sets the d l app helper local service.

Parameters:
dlAppHelperLocalService - the d l app helper local service

getDLFileEntryLocalService

public DLFileEntryLocalService getDLFileEntryLocalService()
Returns the document library file entry local service.

Returns:
the document library file entry local service

setDLFileEntryLocalService

public void setDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
Sets the document library file entry local service.

Parameters:
dlFileEntryLocalService - the document library file entry local service

getDLFileEntryPersistence

public DLFileEntryPersistence getDLFileEntryPersistence()
Returns the document library file entry persistence.

Returns:
the document library file entry persistence

setDLFileEntryPersistence

public void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
Sets the document library file entry persistence.

Parameters:
dlFileEntryPersistence - the document library file entry persistence

getDLFileEntryFinder

public DLFileEntryFinder getDLFileEntryFinder()
Returns the document library file entry finder.

Returns:
the document library file entry finder

setDLFileEntryFinder

public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
Sets the document library file entry finder.

Parameters:
dlFileEntryFinder - the document library file entry finder

getDLFileVersionLocalService

public DLFileVersionLocalService getDLFileVersionLocalService()
Returns the document library file version local service.

Returns:
the document library file version local service

setDLFileVersionLocalService

public void setDLFileVersionLocalService(DLFileVersionLocalService dlFileVersionLocalService)
Sets the document library file version local service.

Parameters:
dlFileVersionLocalService - the document library file version local service

getDLFileVersionPersistence

public DLFileVersionPersistence getDLFileVersionPersistence()
Returns the document library file version persistence.

Returns:
the document library file version persistence

setDLFileVersionPersistence

public void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
Sets the document library file version persistence.

Parameters:
dlFileVersionPersistence - the document library file version persistence

getDLFolderLocalService

public DLFolderLocalService getDLFolderLocalService()
Returns the document library folder local service.

Returns:
the document library folder local service

setDLFolderLocalService

public void setDLFolderLocalService(DLFolderLocalService dlFolderLocalService)
Sets the document library folder local service.

Parameters:
dlFolderLocalService - the document library folder local service

getDLFolderPersistence

public DLFolderPersistence getDLFolderPersistence()
Returns the document library folder persistence.

Returns:
the document library folder persistence

setDLFolderPersistence

public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence)
Sets the document library folder persistence.

Parameters:
dlFolderPersistence - the document library folder persistence

getDLFolderFinder

public DLFolderFinder getDLFolderFinder()
Returns the document library folder finder.

Returns:
the document library folder finder

setDLFolderFinder

public void setDLFolderFinder(DLFolderFinder dlFolderFinder)
Sets the document library folder finder.

Parameters:
dlFolderFinder - the document library folder finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

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

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4