com.liferay.portal.service
Class RepositoryServiceUtil
java.lang.Object
com.liferay.portal.service.RepositoryServiceUtil
public class RepositoryServiceUtil
- extends java.lang.Object
The utility for the repository remote service. This utility wraps com.liferay.portal.service.impl.RepositoryServiceImpl and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
RepositoryService,
RepositoryServiceBaseImpl,
com.liferay.portal.service.impl.RepositoryServiceImpl- Generated:
|
Method Summary |
static long |
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 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)
|
void |
setService(RepositoryService service)
|
static void |
updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryServiceUtil
public RepositoryServiceUtil()
addRepository
public static long 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
- Throws:
PortalException
SystemException
checkRepository
public static void checkRepository(long repositoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteRepository
public static void deleteRepository(long repositoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLocalRepositoryImpl
public static LocalRepository getLocalRepositoryImpl(long repositoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLocalRepositoryImpl
public static LocalRepository getLocalRepositoryImpl(long folderId,
long fileEntryId,
long fileVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRepository
public static Repository getRepository(long repositoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRepositoryImpl
public static Repository getRepositoryImpl(long repositoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRepositoryImpl
public static Repository getRepositoryImpl(long folderId,
long fileEntryId,
long fileVersionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSupportedConfigurations
public static java.lang.String[] getSupportedConfigurations(long classNameId)
throws SystemException
- Throws:
SystemException
getSupportedParameters
public static java.lang.String[] getSupportedParameters(long classNameId,
java.lang.String configuration)
throws SystemException
- Throws:
SystemException
getTypeSettingsProperties
public static UnicodeProperties getTypeSettingsProperties(long repositoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateRepository
public static void updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static RepositoryService getService()
setService
public void setService(RepositoryService service)