@ProviderType
public class RepositoryServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.RepositoryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.RepositoryService,
RepositoryServiceBaseImpl,
com.liferay.portal.service.impl.RepositoryServiceImpl| Constructor and Description |
|---|
RepositoryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Repository |
addRepository(long groupId,
long classNameId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String portletId,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext) |
static void |
checkRepository(long repositoryId) |
static void |
deleteRepository(long repositoryId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static LocalRepository |
getLocalRepositoryImpl(long repositoryId) |
static LocalRepository |
getLocalRepositoryImpl(long folderId,
long fileEntryId,
long fileVersionId) |
static Repository |
getRepository(long repositoryId) |
static Repository |
getRepositoryImpl(long repositoryId) |
static Repository |
getRepositoryImpl(long folderId,
long fileEntryId,
long fileVersionId) |
static RepositoryService |
getService() |
static java.lang.String[] |
getSupportedConfigurations(long classNameId) |
static java.lang.String[] |
getSupportedParameters(long classNameId,
java.lang.String configuration) |
static UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(RepositoryService service)
Deprecated.
As of 6.2.0
|
static void |
updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static Repository addRepository(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
PortalExceptionSystemExceptionpublic static void checkRepository(long repositoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteRepository(long repositoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static LocalRepository getLocalRepositoryImpl(long repositoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static LocalRepository getLocalRepositoryImpl(long folderId, long fileEntryId, long fileVersionId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Repository getRepository(long repositoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Repository getRepositoryImpl(long repositoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Repository getRepositoryImpl(long folderId, long fileEntryId, long fileVersionId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.lang.String[] getSupportedConfigurations(long classNameId)
throws SystemException
SystemExceptionpublic static java.lang.String[] getSupportedParameters(long classNameId,
java.lang.String configuration)
throws SystemException
SystemExceptionpublic static UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static RepositoryService getService()
public void setService(RepositoryService service)