Liferay 6.2-ce-ga5

com.liferay.portlet.mobiledevicerules.service
Class MDRRuleServiceUtil

java.lang.Object
  extended by com.liferay.portlet.mobiledevicerules.service.MDRRuleServiceUtil

@ProviderType
public class MDRRuleServiceUtil
extends Object

Provides the remote service utility for MDRRule. This utility wraps com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleServiceImpl 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.

See Also:
MDRRuleService, com.liferay.portlet.mobiledevicerules.service.base.MDRRuleServiceBaseImpl, com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleServiceImpl

Constructor Summary
MDRRuleServiceUtil()
           
 
Method Summary
static MDRRule addRule(long ruleGroupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String typeSettings, ServiceContext serviceContext)
           
static MDRRule addRule(long ruleGroupId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, UnicodeProperties typeSettings, ServiceContext serviceContext)
           
static void deleteRule(long ruleId)
           
static MDRRule fetchRule(long ruleId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static MDRRule getRule(long ruleId)
           
static MDRRuleService getService()
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(MDRRuleService service)
          Deprecated. As of 6.2.0
static MDRRule updateRule(long ruleId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, String typeSettings, ServiceContext serviceContext)
           
static MDRRule updateRule(long ruleId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String type, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDRRuleServiceUtil

public MDRRuleServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addRule

public static MDRRule addRule(long ruleGroupId,
                              Map<Locale,String> nameMap,
                              Map<Locale,String> descriptionMap,
                              String type,
                              String typeSettings,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

addRule

public static MDRRule addRule(long ruleGroupId,
                              Map<Locale,String> nameMap,
                              Map<Locale,String> descriptionMap,
                              String type,
                              UnicodeProperties typeSettings,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

deleteRule

public static void deleteRule(long ruleId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

fetchRule

public static MDRRule fetchRule(long ruleId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getRule

public static MDRRule getRule(long ruleId)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateRule

public static MDRRule updateRule(long ruleId,
                                 Map<Locale,String> nameMap,
                                 Map<Locale,String> descriptionMap,
                                 String type,
                                 String typeSettings,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

updateRule

public static MDRRule updateRule(long ruleId,
                                 Map<Locale,String> nameMap,
                                 Map<Locale,String> descriptionMap,
                                 String type,
                                 UnicodeProperties typeSettingsProperties,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getService

public static MDRRuleService getService()

setService

public void setService(MDRRuleService service)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5