@ProviderType public class RepositoryLocalServiceWrapper extends java.lang.Object implements RepositoryLocalService, ServiceWrapper<RepositoryLocalService>
RepositoryLocalService.RepositoryLocalService| Constructor and Description |
|---|
RepositoryLocalServiceWrapper(RepositoryLocalService repositoryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
addRepository(long userId,
long groupId,
long classNameId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String portletId,
UnicodeProperties typeSettingsProperties,
boolean hidden,
ServiceContext serviceContext) |
Repository |
addRepository(long userId,
long groupId,
long classNameId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String portletId,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
Deprecated.
|
Repository |
addRepository(Repository repository)
Adds the repository to the database.
|
void |
checkRepository(long repositoryId) |
Repository |
createRepository(long repositoryId)
Creates a new repository with the primary key.
|
void |
deleteRepositories(long groupId) |
Repository |
deleteRepository(long repositoryId)
Deletes the repository with the primary key from the database.
|
Repository |
deleteRepository(Repository repository)
Deletes the repository from the database.
|
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.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.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
Repository |
fetchRepository(long repositoryId) |
Repository |
fetchRepository(long groupId,
java.lang.String portletId) |
Repository |
fetchRepository(long groupId,
java.lang.String name,
java.lang.String portletId) |
Repository |
fetchRepositoryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the repository with the matching UUID and company.
|
Repository |
fetchRepositoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the repository matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
LocalRepository |
getLocalRepositoryImpl(long repositoryId) |
LocalRepository |
getLocalRepositoryImpl(long folderId,
long fileEntryId,
long fileVersionId) |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<Repository> |
getRepositories(int start,
int end)
Returns a range of all the repositories.
|
int |
getRepositoriesCount()
Returns the number of repositories.
|
Repository |
getRepository(long repositoryId)
Returns the repository with the primary key.
|
Repository |
getRepository(long groupId,
java.lang.String portletId) |
Repository |
getRepository(long groupId,
java.lang.String name,
java.lang.String portletId) |
Repository |
getRepositoryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the repository with the matching UUID and company.
|
Repository |
getRepositoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the repository matching the UUID and group.
|
Repository |
getRepositoryImpl(long repositoryId) |
Repository |
getRepositoryImpl(long folderId,
long fileEntryId,
long fileVersionId) |
UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
RepositoryLocalService |
getWrappedRepositoryLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
RepositoryLocalService |
getWrappedService() |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedRepositoryLocalService(RepositoryLocalService repositoryLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portal.service.RepositoryLocalService) |
void |
setWrappedService(RepositoryLocalService repositoryLocalService) |
void |
updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description) |
Repository |
updateRepository(Repository repository)
Updates the repository in the database or adds it if it does not yet exist.
|
public RepositoryLocalServiceWrapper(RepositoryLocalService repositoryLocalService)
public Repository addRepository(Repository repository) throws SystemException
addRepository in interface RepositoryLocalServicerepository - the repositorySystemException - if a system exception occurredpublic Repository createRepository(long repositoryId)
createRepository in interface RepositoryLocalServicerepositoryId - the primary key for the new repositorypublic Repository deleteRepository(long repositoryId) throws PortalException, SystemException
deleteRepository in interface RepositoryLocalServicerepositoryId - the primary key of the repositoryPortalException - if a repository with the primary key could not be foundSystemException - if a system exception occurredpublic Repository deleteRepository(Repository repository) throws SystemException
deleteRepository in interface RepositoryLocalServicerepository - the repositorySystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface RepositoryLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface RepositoryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery in interface RepositoryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
dynamicQuery in interface RepositoryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface RepositoryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface RepositoryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic Repository fetchRepository(long repositoryId) throws SystemException
fetchRepository in interface RepositoryLocalServiceSystemExceptionpublic Repository fetchRepositoryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchRepositoryByUuidAndCompanyId in interface RepositoryLocalServiceuuid - the repository's UUIDcompanyId - the primary key of the companynull if a matching repository could not be foundSystemException - if a system exception occurredpublic Repository fetchRepositoryByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchRepositoryByUuidAndGroupId in interface RepositoryLocalServiceuuid - the repository's UUIDgroupId - the primary key of the groupnull if a matching repository could not be foundSystemException - if a system exception occurredpublic Repository getRepository(long repositoryId) throws PortalException, SystemException
getRepository in interface RepositoryLocalServicerepositoryId - the primary key of the repositoryPortalException - if a repository with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository getRepositoryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getRepositoryByUuidAndCompanyId in interface RepositoryLocalServiceuuid - the repository's UUIDcompanyId - the primary key of the companyPortalException - if a matching repository could not be foundSystemException - if a system exception occurredpublic Repository getRepositoryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getRepositoryByUuidAndGroupId in interface RepositoryLocalServiceuuid - the repository's UUIDgroupId - the primary key of the groupPortalException - if a matching repository could not be foundSystemException - if a system exception occurredpublic java.util.List<Repository> getRepositories(int start, int end) throws SystemException
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.
getRepositories in interface RepositoryLocalServicestart - the lower bound of the range of repositoriesend - the upper bound of the range of repositories (not inclusive)SystemException - if a system exception occurredpublic int getRepositoriesCount()
throws SystemException
getRepositoriesCount in interface RepositoryLocalServiceSystemException - if a system exception occurredpublic Repository updateRepository(Repository repository) throws SystemException
updateRepository in interface RepositoryLocalServicerepository - the repositorySystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface RepositoryLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface RepositoryLocalServicebeanIdentifier - the Spring bean ID for this beanpublic Repository addRepository(long userId, long groupId, long classNameId, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String portletId, UnicodeProperties typeSettingsProperties, boolean hidden, ServiceContext serviceContext) throws PortalException, SystemException
addRepository in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository addRepository(long userId, long groupId, long classNameId, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String portletId, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext) throws PortalException, SystemException
addRepository(long, long,
long, long, String, String, String, UnicodeProperties,
boolean, ServiceContext)addRepository in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic void checkRepository(long repositoryId)
throws SystemException
checkRepository in interface RepositoryLocalServiceSystemExceptionpublic void deleteRepositories(long groupId)
throws PortalException,
SystemException
deleteRepositories in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository fetchRepository(long groupId, java.lang.String portletId) throws SystemException
fetchRepository in interface RepositoryLocalServiceSystemExceptionpublic Repository fetchRepository(long groupId, java.lang.String name, java.lang.String portletId) throws SystemException
fetchRepository in interface RepositoryLocalServiceSystemExceptionpublic LocalRepository getLocalRepositoryImpl(long repositoryId) throws PortalException, SystemException
getLocalRepositoryImpl in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic LocalRepository getLocalRepositoryImpl(long folderId, long fileEntryId, long fileVersionId) throws PortalException, SystemException
getLocalRepositoryImpl in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository getRepository(long groupId, java.lang.String portletId) throws PortalException, SystemException
getRepository in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository getRepository(long groupId, java.lang.String name, java.lang.String portletId) throws PortalException, SystemException
getRepository in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository getRepositoryImpl(long repositoryId) throws PortalException, SystemException
getRepositoryImpl in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic Repository getRepositoryImpl(long folderId, long fileEntryId, long fileVersionId) throws PortalException, SystemException
getRepositoryImpl in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException, SystemException
getTypeSettingsProperties in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic void updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
updateRepository in interface RepositoryLocalServicePortalExceptionSystemExceptionpublic RepositoryLocalService getWrappedRepositoryLocalService()
getWrappedService()public void setWrappedRepositoryLocalService(RepositoryLocalService repositoryLocalService)
setWrappedService(com.liferay.portal.service.RepositoryLocalService)public RepositoryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<RepositoryLocalService>public void setWrappedService(RepositoryLocalService repositoryLocalService)
setWrappedService in interface ServiceWrapper<RepositoryLocalService>