Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class RepositoryLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.RepositoryLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, RepositoryLocalService
Direct Known Subclasses:
RepositoryLocalServiceImpl

@ProviderType
public abstract class RepositoryLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements RepositoryLocalService, IdentifiableOSGiService

Provides the base implementation for the repository 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 RepositoryLocalServiceImpl.

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

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  CompanyLocalService companyLocalService
           
protected  CompanyPersistence companyPersistence
           
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  DLFileShortcutLocalService dlFileShortcutLocalService
           
protected  DLFileShortcutPersistence dlFileShortcutPersistence
           
protected  DLFileVersionLocalService dlFileVersionLocalService
           
protected  DLFileVersionPersistence dlFileVersionPersistence
           
protected  DLFolderFinder dlFolderFinder
           
protected  DLFolderLocalService dlFolderLocalService
           
protected  DLFolderPersistence dlFolderPersistence
           
protected  ExpandoValueLocalService expandoValueLocalService
           
protected  ExpandoValuePersistence expandoValuePersistence
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  RepositoryEntryLocalService repositoryEntryLocalService
           
protected  RepositoryEntryPersistence repositoryEntryPersistence
           
protected  RepositoryLocalService repositoryLocalService
           
protected  RepositoryPersistence repositoryPersistence
           
protected  ResourceLocalService resourceLocalService
           
protected  SystemEventLocalService systemEventLocalService
           
protected  SystemEventPersistence systemEventPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
 
Constructor Summary
RepositoryLocalServiceBaseImpl()
           
 
Method Summary
 Repository addRepository(Repository repository)
          Adds the repository to the database.
 void afterPropertiesSet()
           
 Repository createRepository(long repositoryId)
          Creates a new repository with the primary key.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 Repository deleteRepository(long repositoryId)
          Deletes the repository with the primary key from the database.
 Repository deleteRepository(Repository repository)
          Deletes the repository from the database.
 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.
 Repository fetchRepository(long repositoryId)
           
 Repository fetchRepositoryByUuidAndGroupId(String uuid, long groupId)
          Returns the repository matching the UUID and group.
 ActionableDynamicQuery getActionableDynamicQuery()
           
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 CompanyLocalService getCompanyLocalService()
          Returns the company local service.
 CompanyPersistence getCompanyPersistence()
          Returns the company 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.
 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.
 DLFileShortcutLocalService getDLFileShortcutLocalService()
          Returns the document library file shortcut local service.
 DLFileShortcutPersistence getDLFileShortcutPersistence()
          Returns the document library file shortcut persistence.
 DLFileVersionLocalService getDLFileVersionLocalService()
          Returns the document library file version local service.
 DLFileVersionPersistence getDLFileVersionPersistence()
          Returns the document library file version persistence.
 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.
 ExpandoValueLocalService getExpandoValueLocalService()
          Returns the expando value local service.
 ExpandoValuePersistence getExpandoValuePersistence()
          Returns the expando value persistence.
 ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
           
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 List<Repository> getRepositories(int start, int end)
          Returns a range of all the repositories.
 List<Repository> getRepositoriesByUuidAndCompanyId(String uuid, long companyId)
          Returns all the repositories matching the UUID and company.
 List<Repository> getRepositoriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<Repository> orderByComparator)
          Returns a range of repositories matching the UUID and company.
 int getRepositoriesCount()
          Returns the number of repositories.
 Repository getRepository(long repositoryId)
          Returns the repository with the primary key.
 Repository getRepositoryByUuidAndGroupId(String uuid, long groupId)
          Returns the repository matching the UUID and group.
 RepositoryEntryLocalService getRepositoryEntryLocalService()
          Returns the repository entry local service.
 RepositoryEntryPersistence getRepositoryEntryPersistence()
          Returns the repository entry persistence.
 RepositoryLocalService getRepositoryLocalService()
          Returns the repository local service.
 RepositoryPersistence getRepositoryPersistence()
          Returns the repository persistence.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 SystemEventLocalService getSystemEventLocalService()
          Returns the system event local service.
 SystemEventPersistence getSystemEventPersistence()
          Returns the system event persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setCompanyLocalService(CompanyLocalService companyLocalService)
          Sets the company local service.
 void setCompanyPersistence(CompanyPersistence companyPersistence)
          Sets the company 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 setDLFileShortcutLocalService(DLFileShortcutLocalService dlFileShortcutLocalService)
          Sets the document library file shortcut local service.
 void setDLFileShortcutPersistence(DLFileShortcutPersistence dlFileShortcutPersistence)
          Sets the document library file shortcut 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 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 setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
          Sets the expando value local service.
 void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
          Sets the expando value persistence.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService)
          Sets the repository entry local service.
 void setRepositoryEntryPersistence(RepositoryEntryPersistence repositoryEntryPersistence)
          Sets the repository entry persistence.
 void setRepositoryLocalService(RepositoryLocalService repositoryLocalService)
          Sets the repository local service.
 void setRepositoryPersistence(RepositoryPersistence repositoryPersistence)
          Sets the repository persistence.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
          Sets the system event local service.
 void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
          Sets the system event persistence.
 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.
 Repository updateRepository(Repository repository)
          Updates the repository 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.portal.service.RepositoryLocalService
addRepository, addRepository, checkRepository, deleteRepositories, fetchRepository, fetchRepository, getGroupRepositories, getRepository, getRepository, getTypeSettingsProperties, updateRepository, updateRepository
 

Field Detail

repositoryLocalService

@BeanReference(type=RepositoryLocalService.class)
protected RepositoryLocalService repositoryLocalService

repositoryPersistence

@BeanReference(type=RepositoryPersistence.class)
protected RepositoryPersistence repositoryPersistence

counterLocalService

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

classNameLocalService

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

classNamePersistence

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

companyLocalService

@BeanReference(type=CompanyLocalService.class)
protected CompanyLocalService companyLocalService

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

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

dlFileEntryTypeLocalService

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

dlFileEntryTypePersistence

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

dlFileEntryTypeFinder

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

dlFileShortcutLocalService

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

dlFileShortcutPersistence

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

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

expandoValueLocalService

@BeanReference(type=ExpandoValueLocalService.class)
protected ExpandoValueLocalService expandoValueLocalService

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

repositoryEntryLocalService

@BeanReference(type=RepositoryEntryLocalService.class)
protected RepositoryEntryLocalService repositoryEntryLocalService

repositoryEntryPersistence

@BeanReference(type=RepositoryEntryPersistence.class)
protected RepositoryEntryPersistence repositoryEntryPersistence

resourceLocalService

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

systemEventLocalService

@BeanReference(type=SystemEventLocalService.class)
protected SystemEventLocalService systemEventLocalService

systemEventPersistence

@BeanReference(type=SystemEventPersistence.class)
protected SystemEventPersistence systemEventPersistence

userLocalService

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

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

RepositoryLocalServiceBaseImpl

public RepositoryLocalServiceBaseImpl()
Method Detail

addRepository

@Indexable(type=REINDEX)
public Repository addRepository(Repository repository)
Adds the repository to the database. Also notifies the appropriate model listeners.

Specified by:
addRepository in interface RepositoryLocalService
Parameters:
repository - the repository
Returns:
the repository that was added

createRepository

public Repository createRepository(long repositoryId)
Creates a new repository with the primary key. Does not add the repository to the database.

Specified by:
createRepository in interface RepositoryLocalService
Parameters:
repositoryId - the primary key for the new repository
Returns:
the new repository

deleteRepository

@Indexable(type=DELETE)
public Repository deleteRepository(long repositoryId)
                            throws PortalException
Deletes the repository with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRepository in interface RepositoryLocalService
Parameters:
repositoryId - the primary key of the repository
Returns:
the repository that was removed
Throws:
PortalException - if a repository with the primary key could not be found

deleteRepository

@Indexable(type=DELETE)
public Repository deleteRepository(Repository repository)
Deletes the repository from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRepository in interface RepositoryLocalService
Parameters:
repository - the repository
Returns:
the repository that was removed

dynamicQuery

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

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 RepositoryLocalService
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 RepositoryModelImpl. 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 RepositoryLocalService
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 RepositoryModelImpl. 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 RepositoryLocalService
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 RepositoryLocalService
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 RepositoryLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchRepository

public Repository fetchRepository(long repositoryId)
Specified by:
fetchRepository in interface RepositoryLocalService

fetchRepositoryByUuidAndGroupId

public Repository fetchRepositoryByUuidAndGroupId(String uuid,
                                                  long groupId)
Returns the repository matching the UUID and group.

Specified by:
fetchRepositoryByUuidAndGroupId in interface RepositoryLocalService
Parameters:
uuid - the repository's UUID
groupId - the primary key of the group
Returns:
the matching repository, or null if a matching repository could not be found

getRepository

public Repository getRepository(long repositoryId)
                         throws PortalException
Returns the repository with the primary key.

Specified by:
getRepository in interface RepositoryLocalService
Parameters:
repositoryId - the primary key of the repository
Returns:
the repository
Throws:
PortalException - if a repository with the primary key could not be found

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

getExportActionableDynamicQuery

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

deletePersistedModel

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

getPersistedModel

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

getRepositoriesByUuidAndCompanyId

public List<Repository> getRepositoriesByUuidAndCompanyId(String uuid,
                                                          long companyId)
Returns all the repositories matching the UUID and company.

Specified by:
getRepositoriesByUuidAndCompanyId in interface RepositoryLocalService
Parameters:
uuid - the UUID of the repositories
companyId - the primary key of the company
Returns:
the matching repositories, or an empty list if no matches were found

getRepositoriesByUuidAndCompanyId

public List<Repository> getRepositoriesByUuidAndCompanyId(String uuid,
                                                          long companyId,
                                                          int start,
                                                          int end,
                                                          OrderByComparator<Repository> orderByComparator)
Returns a range of repositories matching the UUID and company.

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

getRepositoryByUuidAndGroupId

public Repository getRepositoryByUuidAndGroupId(String uuid,
                                                long groupId)
                                         throws PortalException
Returns the repository matching the UUID and group.

Specified by:
getRepositoryByUuidAndGroupId in interface RepositoryLocalService
Parameters:
uuid - the repository's UUID
groupId - the primary key of the group
Returns:
the matching repository
Throws:
PortalException - if a matching repository could not be found

getRepositories

public List<Repository> getRepositories(int start,
                                        int end)
Returns a range of all the repositories.

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 RepositoryModelImpl. 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:
getRepositories in interface RepositoryLocalService
Parameters:
start - the lower bound of the range of repositories
end - the upper bound of the range of repositories (not inclusive)
Returns:
the range of repositories

getRepositoriesCount

public int getRepositoriesCount()
Returns the number of repositories.

Specified by:
getRepositoriesCount in interface RepositoryLocalService
Returns:
the number of repositories

updateRepository

@Indexable(type=REINDEX)
public Repository updateRepository(Repository repository)
Updates the repository in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateRepository in interface RepositoryLocalService
Parameters:
repository - the repository
Returns:
the repository that was updated

getRepositoryLocalService

public RepositoryLocalService getRepositoryLocalService()
Returns the repository local service.

Returns:
the repository local service

setRepositoryLocalService

public void setRepositoryLocalService(RepositoryLocalService repositoryLocalService)
Sets the repository local service.

Parameters:
repositoryLocalService - the repository local service

getRepositoryPersistence

public RepositoryPersistence getRepositoryPersistence()
Returns the repository persistence.

Returns:
the repository persistence

setRepositoryPersistence

public void setRepositoryPersistence(RepositoryPersistence repositoryPersistence)
Sets the repository persistence.

Parameters:
repositoryPersistence - the repository persistence

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

getCompanyLocalService

public CompanyLocalService getCompanyLocalService()
Returns the company local service.

Returns:
the company local service

setCompanyLocalService

public void setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service.

Parameters:
companyLocalService - the company local service

getCompanyPersistence

public CompanyPersistence getCompanyPersistence()
Returns the company persistence.

Returns:
the company persistence

setCompanyPersistence

public void setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence.

Parameters:
companyPersistence - the company persistence

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

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

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

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

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

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

getExpandoValueLocalService

public ExpandoValueLocalService getExpandoValueLocalService()
Returns the expando value local service.

Returns:
the expando value local service

setExpandoValueLocalService

public void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
Sets the expando value local service.

Parameters:
expandoValueLocalService - the expando value local service

getExpandoValuePersistence

public ExpandoValuePersistence getExpandoValuePersistence()
Returns the expando value persistence.

Returns:
the expando value persistence

setExpandoValuePersistence

public void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
Sets the expando value persistence.

Parameters:
expandoValuePersistence - the expando value persistence

getRepositoryEntryLocalService

public RepositoryEntryLocalService getRepositoryEntryLocalService()
Returns the repository entry local service.

Returns:
the repository entry local service

setRepositoryEntryLocalService

public void setRepositoryEntryLocalService(RepositoryEntryLocalService repositoryEntryLocalService)
Sets the repository entry local service.

Parameters:
repositoryEntryLocalService - the repository entry local service

getRepositoryEntryPersistence

public RepositoryEntryPersistence getRepositoryEntryPersistence()
Returns the repository entry persistence.

Returns:
the repository entry persistence

setRepositoryEntryPersistence

public void setRepositoryEntryPersistence(RepositoryEntryPersistence repositoryEntryPersistence)
Sets the repository entry persistence.

Parameters:
repositoryEntryPersistence - the repository entry 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

getSystemEventLocalService

public SystemEventLocalService getSystemEventLocalService()
Returns the system event local service.

Returns:
the system event local service

setSystemEventLocalService

public void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
Sets the system event local service.

Parameters:
systemEventLocalService - the system event local service

getSystemEventPersistence

public SystemEventPersistence getSystemEventPersistence()
Returns the system event persistence.

Returns:
the system event persistence

setSystemEventPersistence

public void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
Sets the system event persistence.

Parameters:
systemEventPersistence - the system event persistence

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

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 RepositoryLocalService
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