@ProviderType
public class SyncDeviceServiceUtil
extends java.lang.Object
com.liferay.sync.service.impl.SyncDeviceServiceImpl
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.SyncDeviceService
,
com.liferay.sync.service.base.SyncDeviceServiceBaseImpl
,
com.liferay.sync.service.impl.SyncDeviceServiceImpl
Constructor and Description |
---|
SyncDeviceServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static SyncDeviceService |
getService() |
static SyncDevice |
registerSyncDevice(java.lang.String type,
long buildNumber,
int featureSet,
java.lang.String uuid) |
static void |
unregisterSyncDevice(java.lang.String uuid) |
public static java.lang.String getOSGiServiceIdentifier()
public static SyncDevice registerSyncDevice(java.lang.String type, long buildNumber, int featureSet, java.lang.String uuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void unregisterSyncDevice(java.lang.String uuid) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static SyncDeviceService getService()