public class RepositoryLocalServiceImpl extends RepositoryLocalServiceBaseImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.repository.RepositoryProvider |
repositoryProvider |
counterLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileVersionLocalService, dlFileVersionPersistence, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, expandoValueLocalService, expandoValuePersistence, groupFinder, groupLocalService, groupPersistence, persistedModelLocalServiceRegistry, repositoryEntryLocalService, repositoryEntryPersistence, repositoryLocalService, repositoryPersistence, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
RepositoryLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.Repository |
addRepository(long userId,
long groupId,
long classNameId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String portletId,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
boolean hidden,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
checkRepository(long repositoryId) |
void |
deleteRepositories(long groupId) |
com.liferay.portal.kernel.model.Repository |
deleteRepository(long repositoryId)
Deletes the repository with the primary key from the database.
|
com.liferay.portal.kernel.model.Repository |
deleteRepository(com.liferay.portal.kernel.model.Repository repository)
Deletes the repository from the database.
|
com.liferay.portal.kernel.model.Repository |
fetchRepository(long groupId,
java.lang.String portletId) |
com.liferay.portal.kernel.model.Repository |
fetchRepository(long groupId,
java.lang.String name,
java.lang.String portletId) |
protected long |
getDLFolderId(com.liferay.portal.kernel.model.User user,
long groupId,
long repositoryId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
boolean hidden,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
java.util.List<com.liferay.portal.kernel.model.Repository> |
getGroupRepositories(long groupId) |
com.liferay.portal.kernel.model.Repository |
getRepository(long groupId,
java.lang.String portletId) |
com.liferay.portal.kernel.model.Repository |
getRepository(long groupId,
java.lang.String name,
java.lang.String portletId) |
com.liferay.portal.kernel.util.UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
void |
updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description) |
void |
updateRepository(long repositoryId,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) |
addRepository, afterPropertiesSet, createPersistedModel, createRepository, deletePersistedModel, destroy, dslQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchRepository, fetchRepositoryByUuidAndGroupId, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getExpandoValueLocalService, getExpandoValuePersistence, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRepositories, getRepositoriesByUuidAndCompanyId, getRepositoriesByUuidAndCompanyId, getRepositoriesCount, getRepository, getRepositoryByUuidAndGroupId, getRepositoryEntryLocalService, getRepositoryEntryPersistence, getRepositoryLocalService, getRepositoryPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setExpandoValueLocalService, setExpandoValuePersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setRepositoryEntryLocalService, setRepositoryEntryPersistence, setRepositoryLocalService, setRepositoryPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateRepository
@BeanReference(type=com.liferay.portal.kernel.repository.RepositoryProvider.class) protected com.liferay.portal.kernel.repository.RepositoryProvider repositoryProvider
public com.liferay.portal.kernel.model.Repository addRepository(long userId, long groupId, long classNameId, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String portletId, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, boolean hidden, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void checkRepository(long repositoryId)
public void deleteRepositories(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Repository deleteRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
RepositoryLocalServiceBaseImpl
Important: Inspect RepositoryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteRepository
in interface com.liferay.portal.kernel.service.RepositoryLocalService
deleteRepository
in class RepositoryLocalServiceBaseImpl
repositoryId
- the primary key of the repositorycom.liferay.portal.kernel.exception.PortalException
- if a repository with the primary key could not be found@SystemEvent(action=1, type=1) public com.liferay.portal.kernel.model.Repository deleteRepository(com.liferay.portal.kernel.model.Repository repository)
RepositoryLocalServiceBaseImpl
Important: Inspect RepositoryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteRepository
in interface com.liferay.portal.kernel.service.RepositoryLocalService
deleteRepository
in class RepositoryLocalServiceBaseImpl
repository
- the repositorypublic com.liferay.portal.kernel.model.Repository fetchRepository(long groupId, java.lang.String portletId)
public com.liferay.portal.kernel.model.Repository fetchRepository(long groupId, java.lang.String name, java.lang.String portletId)
public java.util.List<com.liferay.portal.kernel.model.Repository> getGroupRepositories(long groupId)
public com.liferay.portal.kernel.model.Repository getRepository(long groupId, java.lang.String portletId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.Repository getRepository(long groupId, java.lang.String name, java.lang.String portletId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateRepository(long repositoryId, java.lang.String name, java.lang.String description) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void updateRepository(long repositoryId, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected long getDLFolderId(com.liferay.portal.kernel.model.User user, long groupId, long repositoryId, long parentFolderId, java.lang.String name, java.lang.String description, boolean hidden, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException