Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.documentlibrary.service.base.DLContentLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, DLContentLocalService
Direct Known Subclasses:
DLContentLocalServiceImpl

public abstract class DLContentLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements DLContentLocalService, IdentifiableBean

The base implementation of the document library content 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 DLContentLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  DLAppHelperLocalService dlAppHelperLocalService
           
protected  DLAppLocalService dlAppLocalService
           
protected  DLAppService dlAppService
           
protected  DLContentLocalService dlContentLocalService
           
protected  DLContentPersistence dlContentPersistence
           
protected  DLFileEntryFinder dlFileEntryFinder
           
protected  DLFileEntryLocalService dlFileEntryLocalService
           
protected  DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService
           
protected  DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence
           
protected  DLFileEntryPersistence dlFileEntryPersistence
           
protected  DLFileEntryService dlFileEntryService
           
protected  DLFileEntryTypeFinder dlFileEntryTypeFinder
           
protected  DLFileEntryTypeLocalService dlFileEntryTypeLocalService
           
protected  DLFileEntryTypePersistence dlFileEntryTypePersistence
           
protected  DLFileEntryTypeService dlFileEntryTypeService
           
protected  DLFileRankFinder dlFileRankFinder
           
protected  DLFileRankLocalService dlFileRankLocalService
           
protected  DLFileRankPersistence dlFileRankPersistence
           
protected  DLFileShortcutLocalService dlFileShortcutLocalService
           
protected  DLFileShortcutPersistence dlFileShortcutPersistence
           
protected  DLFileShortcutService dlFileShortcutService
           
protected  DLFileVersionLocalService dlFileVersionLocalService
           
protected  DLFileVersionPersistence dlFileVersionPersistence
           
protected  DLFileVersionService dlFileVersionService
           
protected  DLFolderFinder dlFolderFinder
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  DLFolderService dlFolderService
           
protected  DLSyncFinder dlSyncFinder
           
protected  DLSyncLocalService dlSyncLocalService
           
protected  DLSyncPersistence dlSyncPersistence
           
protected  DLSyncService dlSyncService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
 
Constructor Summary
DLContentLocalServiceBaseImpl()
           
 
Method Summary
 DLContent addDLContent(DLContent dlContent)
          Adds the document library content to the database.
 void afterPropertiesSet()
           
 DLContent createDLContent(long contentId)
          Creates a new document library content with the primary key.
 DLContent deleteDLContent(DLContent dlContent)
          Deletes the document library content from the database.
 DLContent deleteDLContent(long contentId)
          Deletes the document library content with the primary key from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator 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 that match the dynamic query.
 DLContent fetchDLContent(long contentId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 DLContentDataBlobModel getDataBlobModel(Serializable primaryKey)
           
 DLAppHelperLocalService getDLAppHelperLocalService()
          Returns the d l app helper local service.
 DLAppLocalService getDLAppLocalService()
          Returns the d l app local service.
 DLAppService getDLAppService()
          Returns the d l app remote service.
 DLContent getDLContent(long contentId)
          Returns the document library content with the primary key.
 DLContentLocalService getDLContentLocalService()
          Returns the document library content local service.
 DLContentPersistence getDLContentPersistence()
          Returns the document library content persistence.
 List<DLContent> getDLContents(int start, int end)
          Returns a range of all the document library contents.
 int getDLContentsCount()
          Returns the number of document library contents.
 DLFileEntryFinder getDLFileEntryFinder()
          Returns the document library file entry finder.
 DLFileEntryLocalService getDLFileEntryLocalService()
          Returns the document library file entry local service.
 DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService()
          Returns the document library file entry metadata local service.
 DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence()
          Returns the document library file entry metadata persistence.
 DLFileEntryPersistence getDLFileEntryPersistence()
          Returns the document library file entry persistence.
 DLFileEntryService getDLFileEntryService()
          Returns the document library file entry remote service.
 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.
 DLFileEntryTypeService getDLFileEntryTypeService()
          Returns the document library file entry type remote service.
 DLFileRankFinder getDLFileRankFinder()
          Returns the document library file rank finder.
 DLFileRankLocalService getDLFileRankLocalService()
          Returns the document library file rank local service.
 DLFileRankPersistence getDLFileRankPersistence()
          Returns the document library file rank persistence.
 DLFileShortcutLocalService getDLFileShortcutLocalService()
          Returns the document library file shortcut local service.
 DLFileShortcutPersistence getDLFileShortcutPersistence()
          Returns the document library file shortcut persistence.
 DLFileShortcutService getDLFileShortcutService()
          Returns the document library file shortcut remote service.
 DLFileVersionLocalService getDLFileVersionLocalService()
          Returns the document library file version local service.
 DLFileVersionPersistence getDLFileVersionPersistence()
          Returns the document library file version persistence.
 DLFileVersionService getDLFileVersionService()
          Returns the document library file version remote service.
 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.
 DLFolderService getDLFolderService()
          Returns the document library folder remote service.
 DLSyncFinder getDLSyncFinder()
          Returns the d l sync finder.
 DLSyncLocalService getDLSyncLocalService()
          Returns the d l sync local service.
 DLSyncPersistence getDLSyncPersistence()
          Returns the d l sync persistence.
 DLSyncService getDLSyncService()
          Returns the d l sync remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setDLAppHelperLocalService(DLAppHelperLocalService dlAppHelperLocalService)
          Sets the d l app helper local service.
 void setDLAppLocalService(DLAppLocalService dlAppLocalService)
          Sets the d l app local service.
 void setDLAppService(DLAppService dlAppService)
          Sets the d l app remote service.
 void setDLContentLocalService(DLContentLocalService dlContentLocalService)
          Sets the document library content local service.
 void setDLContentPersistence(DLContentPersistence dlContentPersistence)
          Sets the document library content persistence.
 void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder)
          Sets the document library file entry finder.
 void setDLFileEntryLocalService(DLFileEntryLocalService dlFileEntryLocalService)
          Sets the document library file entry local service.
 void setDLFileEntryMetadataLocalService(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService)
          Sets the document library file entry metadata local service.
 void setDLFileEntryMetadataPersistence(DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence)
          Sets the document library file entry metadata persistence.
 void setDLFileEntryPersistence(DLFileEntryPersistence dlFileEntryPersistence)
          Sets the document library file entry persistence.
 void setDLFileEntryService(DLFileEntryService dlFileEntryService)
          Sets the document library file entry remote service.
 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 setDLFileEntryTypeService(DLFileEntryTypeService dlFileEntryTypeService)
          Sets the document library file entry type remote service.
 void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
          Sets the document library file rank finder.
 void setDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
          Sets the document library file rank local service.
 void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
          Sets the document library file rank persistence.
 void setDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
          Sets the document library file shortcut local service.
 void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
          Sets the document library file shortcut persistence.
 void setDLFileShortcutService(DLFileShortcutService dlFileShortcutService)
          Sets the document library file shortcut remote service.
 void setDLFileVersionLocalService(DLFileVersionLocalService dlFileVersionLocalService)
          Sets the document library file version local service.
 void setDLFileVersionPersistence(DLFileVersionPersistence dlFileVersionPersistence)
          Sets the document library file version persistence.
 void setDLFileVersionService(DLFileVersionService dlFileVersionService)
          Sets the document library file version remote service.
 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 setDLFolderService(DLFolderService dlFolderService)
          Sets the document library folder remote service.
 void setDLSyncFinder(DLSyncFinder dlSyncFinder)
          Sets the d l sync finder.
 void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService)
          Sets the d l sync local service.
 void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence)
          Sets the d l sync persistence.
 void setDLSyncService(DLSyncService dlSyncService)
          Sets the d l sync remote service.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote 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 setUserService(UserService userService)
          Sets the user remote service.
 DLContent updateDLContent(DLContent dlContent)
          Updates the document library content in the database or adds it if it does not yet exist.
 DLContent updateDLContent(DLContent dlContent, boolean merge)
          Updates the document library content in the database or adds it if it does not yet exist.
 
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
 
Methods inherited from interface com.liferay.portlet.documentlibrary.service.DLContentLocalService
addContent, addContent, deleteContent, deleteContents, deleteContentsByDirectory, getContent, getContent, getContents, getContents, getContentsByDirectory, hasContent, updateDLContent
 

Field Detail

dlAppLocalService

@BeanReference(type=DLAppLocalService.class)
protected DLAppLocalService dlAppLocalService

dlAppService

@BeanReference(type=DLAppService.class)
protected DLAppService dlAppService

dlAppHelperLocalService

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

dlContentLocalService

@BeanReference(type=DLContentLocalService.class)
protected DLContentLocalService dlContentLocalService

dlContentPersistence

@BeanReference(type=DLContentPersistence.class)
protected DLContentPersistence dlContentPersistence

dlFileEntryLocalService

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

dlFileEntryService

@BeanReference(type=DLFileEntryService.class)
protected DLFileEntryService dlFileEntryService

dlFileEntryPersistence

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

dlFileEntryFinder

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

dlFileEntryMetadataLocalService

@BeanReference(type=DLFileEntryMetadataLocalService.class)
protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService

dlFileEntryMetadataPersistence

@BeanReference(type=DLFileEntryMetadataPersistence.class)
protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence

dlFileEntryTypeLocalService

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

dlFileEntryTypeService

@BeanReference(type=DLFileEntryTypeService.class)
protected DLFileEntryTypeService dlFileEntryTypeService

dlFileEntryTypePersistence

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

dlFileEntryTypeFinder

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

dlFileRankLocalService

@BeanReference(type=DLFileRankLocalService.class)
protected DLFileRankLocalService dlFileRankLocalService

dlFileRankPersistence

@BeanReference(type=DLFileRankPersistence.class)
protected DLFileRankPersistence dlFileRankPersistence

dlFileRankFinder

@BeanReference(type=DLFileRankFinder.class)
protected DLFileRankFinder dlFileRankFinder

dlFileShortcutLocalService

@BeanReference(type=DLFileShortcutLocalService.class)
protected DLFileShortcutLocalService dlFileShortcutLocalService

dlFileShortcutService

@BeanReference(type=DLFileShortcutService.class)
protected DLFileShortcutService dlFileShortcutService

dlFileShortcutPersistence

@BeanReference(type=DLFileShortcutPersistence.class)
protected DLFileShortcutPersistence dlFileShortcutPersistence

dlFileVersionLocalService

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

dlFileVersionService

@BeanReference(type=DLFileVersionService.class)
protected DLFileVersionService dlFileVersionService

dlFileVersionPersistence

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

dlFolderLocalService

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

dlFolderService

@BeanReference(type=DLFolderService.class)
protected DLFolderService dlFolderService

dlFolderPersistence

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

dlFolderFinder

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

dlSyncLocalService

@BeanReference(type=DLSyncLocalService.class)
protected DLSyncLocalService dlSyncLocalService

dlSyncService

@BeanReference(type=DLSyncService.class)
protected DLSyncService dlSyncService

dlSyncPersistence

@BeanReference(type=DLSyncPersistence.class)
protected DLSyncPersistence dlSyncPersistence

dlSyncFinder

@BeanReference(type=DLSyncFinder.class)
protected DLSyncFinder dlSyncFinder

counterLocalService

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

resourceLocalService

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

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

userLocalService

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

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

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

userFinder

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

persistedModelLocalServiceRegistry

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

DLContentLocalServiceBaseImpl

public DLContentLocalServiceBaseImpl()
Method Detail

addDLContent

@Indexable(type=REINDEX)
public DLContent addDLContent(DLContent dlContent)
                       throws SystemException
Adds the document library content to the database. Also notifies the appropriate model listeners.

Specified by:
addDLContent in interface DLContentLocalService
Parameters:
dlContent - the document library content
Returns:
the document library content that was added
Throws:
SystemException - if a system exception occurred

createDLContent

public DLContent createDLContent(long contentId)
Creates a new document library content with the primary key. Does not add the document library content to the database.

Specified by:
createDLContent in interface DLContentLocalService
Parameters:
contentId - the primary key for the new document library content
Returns:
the new document library content

deleteDLContent

@Indexable(type=DELETE)
public DLContent deleteDLContent(long contentId)
                          throws PortalException,
                                 SystemException
Deletes the document library content with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLContent in interface DLContentLocalService
Parameters:
contentId - the primary key of the document library content
Returns:
the document library content that was removed
Throws:
PortalException - if a document library content with the primary key could not be found
SystemException - if a system exception occurred

deleteDLContent

@Indexable(type=DELETE)
public DLContent deleteDLContent(DLContent dlContent)
                          throws SystemException
Deletes the document library content from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLContent in interface DLContentLocalService
Parameters:
dlContent - the document library content
Returns:
the document library content that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DLContentLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
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.

Specified by:
dynamicQuery in interface DLContentLocalService
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
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.

Specified by:
dynamicQuery in interface DLContentLocalService
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
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface DLContentLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDLContent

public DLContent fetchDLContent(long contentId)
                         throws SystemException
Specified by:
fetchDLContent in interface DLContentLocalService
Throws:
SystemException

getDLContent

public DLContent getDLContent(long contentId)
                       throws PortalException,
                              SystemException
Returns the document library content with the primary key.

Specified by:
getDLContent in interface DLContentLocalService
Parameters:
contentId - the primary key of the document library content
Returns:
the document library content
Throws:
PortalException - if a document library content with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

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

getDLContents

public List<DLContent> getDLContents(int start,
                                     int end)
                              throws SystemException
Returns a range of all the document library contents.

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.

Specified by:
getDLContents in interface DLContentLocalService
Parameters:
start - the lower bound of the range of document library contents
end - the upper bound of the range of document library contents (not inclusive)
Returns:
the range of document library contents
Throws:
SystemException - if a system exception occurred

getDLContentsCount

public int getDLContentsCount()
                       throws SystemException
Returns the number of document library contents.

Specified by:
getDLContentsCount in interface DLContentLocalService
Returns:
the number of document library contents
Throws:
SystemException - if a system exception occurred

updateDLContent

@Indexable(type=REINDEX)
public DLContent updateDLContent(DLContent dlContent)
                          throws SystemException
Updates the document library content in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLContent in interface DLContentLocalService
Parameters:
dlContent - the document library content
Returns:
the document library content that was updated
Throws:
SystemException - if a system exception occurred

updateDLContent

@Indexable(type=REINDEX)
public DLContent updateDLContent(DLContent dlContent,
                                                      boolean merge)
                          throws SystemException
Updates the document library content in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLContent in interface DLContentLocalService
Parameters:
dlContent - the document library content
merge - whether to merge the document library content with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the document library content that was updated
Throws:
SystemException - if a system exception occurred

getDataBlobModel

public DLContentDataBlobModel getDataBlobModel(Serializable primaryKey)
                                        throws SystemException
Specified by:
getDataBlobModel in interface DLContentLocalService
Throws:
SystemException

getDLAppLocalService

public DLAppLocalService getDLAppLocalService()
Returns the d l app local service.

Returns:
the d l app local service

setDLAppLocalService

public void setDLAppLocalService(DLAppLocalService dlAppLocalService)
Sets the d l app local service.

Parameters:
dlAppLocalService - the d l app local service

getDLAppService

public DLAppService getDLAppService()
Returns the d l app remote service.

Returns:
the d l app remote service

setDLAppService

public void setDLAppService(DLAppService dlAppService)
Sets the d l app remote service.

Parameters:
dlAppService - the d l app remote service

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

getDLContentLocalService

public DLContentLocalService getDLContentLocalService()
Returns the document library content local service.

Returns:
the document library content local service

setDLContentLocalService

public void setDLContentLocalService(DLContentLocalService dlContentLocalService)
Sets the document library content local service.

Parameters:
dlContentLocalService - the document library content local service

getDLContentPersistence

public DLContentPersistence getDLContentPersistence()
Returns the document library content persistence.

Returns:
the document library content persistence

setDLContentPersistence

public void setDLContentPersistence(DLContentPersistence dlContentPersistence)
Sets the document library content persistence.

Parameters:
dlContentPersistence - the document library content persistence

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

getDLFileEntryService

public DLFileEntryService getDLFileEntryService()
Returns the document library file entry remote service.

Returns:
the document library file entry remote service

setDLFileEntryService

public void setDLFileEntryService(DLFileEntryService dlFileEntryService)
Sets the document library file entry remote service.

Parameters:
dlFileEntryService - the document library file entry remote 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

getDLFileEntryMetadataLocalService

public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService()
Returns the document library file entry metadata local service.

Returns:
the document library file entry metadata local service

setDLFileEntryMetadataLocalService

public void setDLFileEntryMetadataLocalService(DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService)
Sets the document library file entry metadata local service.

Parameters:
dlFileEntryMetadataLocalService - the document library file entry metadata local service

getDLFileEntryMetadataPersistence

public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence()
Returns the document library file entry metadata persistence.

Returns:
the document library file entry metadata persistence

setDLFileEntryMetadataPersistence

public void setDLFileEntryMetadataPersistence(DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence)
Sets the document library file entry metadata persistence.

Parameters:
dlFileEntryMetadataPersistence - the document library file entry metadata persistence

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

getDLFileEntryTypeService

public DLFileEntryTypeService getDLFileEntryTypeService()
Returns the document library file entry type remote service.

Returns:
the document library file entry type remote service

setDLFileEntryTypeService

public void setDLFileEntryTypeService(DLFileEntryTypeService dlFileEntryTypeService)
Sets the document library file entry type remote service.

Parameters:
dlFileEntryTypeService - the document library file entry type remote 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

getDLFileRankLocalService

public DLFileRankLocalService getDLFileRankLocalService()
Returns the document library file rank local service.

Returns:
the document library file rank local service

setDLFileRankLocalService

public void setDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
Sets the document library file rank local service.

Parameters:
dlFileRankLocalService - the document library file rank local service

getDLFileRankPersistence

public DLFileRankPersistence getDLFileRankPersistence()
Returns the document library file rank persistence.

Returns:
the document library file rank persistence

setDLFileRankPersistence

public void setDLFileRankPersistence(DLFileRankPersistence dlFileRankPersistence)
Sets the document library file rank persistence.

Parameters:
dlFileRankPersistence - the document library file rank persistence

getDLFileRankFinder

public DLFileRankFinder getDLFileRankFinder()
Returns the document library file rank finder.

Returns:
the document library file rank finder

setDLFileRankFinder

public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder)
Sets the document library file rank finder.

Parameters:
dlFileRankFinder - the document library file rank finder

getDLFileShortcutLocalService

public DLFileShortcutLocalService getDLFileShortcutLocalService()
Returns the document library file shortcut local service.

Returns:
the document library file shortcut local service

setDLFileShortcutLocalService

public void setDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
Sets the document library file shortcut local service.

Parameters:
dlFileShortcutLocalService - the document library file shortcut local service

getDLFileShortcutService

public DLFileShortcutService getDLFileShortcutService()
Returns the document library file shortcut remote service.

Returns:
the document library file shortcut remote service

setDLFileShortcutService

public void setDLFileShortcutService(DLFileShortcutService dlFileShortcutService)
Sets the document library file shortcut remote service.

Parameters:
dlFileShortcutService - the document library file shortcut remote service

getDLFileShortcutPersistence

public DLFileShortcutPersistence getDLFileShortcutPersistence()
Returns the document library file shortcut persistence.

Returns:
the document library file shortcut persistence

setDLFileShortcutPersistence

public void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
Sets the document library file shortcut persistence.

Parameters:
dlFileShortcutPersistence - the document library file shortcut persistence

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

getDLFileVersionService

public DLFileVersionService getDLFileVersionService()
Returns the document library file version remote service.

Returns:
the document library file version remote service

setDLFileVersionService

public void setDLFileVersionService(DLFileVersionService dlFileVersionService)
Sets the document library file version remote service.

Parameters:
dlFileVersionService - the document library file version remote 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

getDLFolderService

public DLFolderService getDLFolderService()
Returns the document library folder remote service.

Returns:
the document library folder remote service

setDLFolderService

public void setDLFolderService(DLFolderService dlFolderService)
Sets the document library folder remote service.

Parameters:
dlFolderService - the document library folder remote 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

getDLSyncLocalService

public DLSyncLocalService getDLSyncLocalService()
Returns the d l sync local service.

Returns:
the d l sync local service

setDLSyncLocalService

public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService)
Sets the d l sync local service.

Parameters:
dlSyncLocalService - the d l sync local service

getDLSyncService

public DLSyncService getDLSyncService()
Returns the d l sync remote service.

Returns:
the d l sync remote service

setDLSyncService

public void setDLSyncService(DLSyncService dlSyncService)
Sets the d l sync remote service.

Parameters:
dlSyncService - the d l sync remote service

getDLSyncPersistence

public DLSyncPersistence getDLSyncPersistence()
Returns the d l sync persistence.

Returns:
the d l sync persistence

setDLSyncPersistence

public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence)
Sets the d l sync persistence.

Parameters:
dlSyncPersistence - the d l sync persistence

getDLSyncFinder

public DLSyncFinder getDLSyncFinder()
Returns the d l sync finder.

Returns:
the d l sync finder

setDLSyncFinder

public void setDLSyncFinder(DLSyncFinder dlSyncFinder)
Sets the d l sync finder.

Parameters:
dlSyncFinder - the d l sync 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

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

getResourceService

public ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

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

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote 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

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface DLContentLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface DLContentLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.1.2-ce-ga3