Liferay 6.1.2-ce-ga3

com.liferay.portlet.mobiledevicerules.service
Class MDRRuleServiceUtil

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

public class MDRRuleServiceUtil
extends Object

The utility for the m d r rule remote service. This utility wraps MDRRuleServiceImpl 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.

See Also:
MDRRuleService, MDRRuleServiceBaseImpl, MDRRuleServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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.  
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. 


Liferay 6.1.2-ce-ga3