Package com.liferay.portal.service.impl
Class RepositoryServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.RepositoryServiceBaseImpl
com.liferay.portal.service.impl.RepositoryServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.RepositoryService
- Author:
- Alexander Chow, Mika Koivisto
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.RepositoryServiceBaseImpl
counterLocalService, repositoryLocalService, repositoryPersistence, repositoryService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.Repository
addRepository
(String externalReferenceCode, long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) protected void
checkModelPermissions
(long folderId, long fileEntryId, long fileVersionId) void
checkRepository
(long repositoryId) protected void
checkRepository
(long repositoryId, long folderId, long fileEntryId, long fileVersionId) void
deleteRepository
(long repositoryId) com.liferay.portal.kernel.model.Repository
getRepository
(long repositoryId) com.liferay.portal.kernel.model.Repository
getRepository
(long groupId, String portletId) com.liferay.portal.kernel.util.UnicodeProperties
getTypeSettingsProperties
(long repositoryId) void
updateRepository
(long repositoryId, String name, String description) Methods inherited from class com.liferay.portal.service.base.RepositoryServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRepositoryLocalService, getRepositoryPersistence, getRepositoryService, runSQL, setCounterLocalService, setRepositoryLocalService, setRepositoryPersistence, setRepositoryService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
RepositoryServiceImpl
public RepositoryServiceImpl()
-
-
Method Details
-
addRepository
public com.liferay.portal.kernel.model.Repository addRepository(String externalReferenceCode, long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkRepository
public void checkRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteRepository
public void deleteRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRepository
public com.liferay.portal.kernel.model.Repository getRepository(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRepository
public com.liferay.portal.kernel.model.Repository getRepository(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTypeSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(long repositoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRepository
public void updateRepository(long repositoryId, String name, String description) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkModelPermissions
protected void checkModelPermissions(long folderId, long fileEntryId, long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
checkRepository
protected void checkRepository(long repositoryId, long folderId, long fileEntryId, long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-