Example usage for com.liferay.portal.kernel.jsonwebservice JSONWebServiceMode IGNORE

List of usage examples for com.liferay.portal.kernel.jsonwebservice JSONWebServiceMode IGNORE

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.jsonwebservice JSONWebServiceMode IGNORE.

Prototype

JSONWebServiceMode IGNORE

To view the source code for com.liferay.portal.kernel.jsonwebservice JSONWebServiceMode IGNORE.

Click Source Link

Usage

From source file:com.appuntivari.mylibrary.service.impl.MyLibraryServiceImpl.java

License:Open Source License

@JSONWebService(mode = JSONWebServiceMode.IGNORE)
public MyLibrary addBook_Fake(MyLibrary newBook) throws PortalException, SystemException {
    newBook.setId_book(999);/*from  w w w.  ja v a2 s .co  m*/
    return newBook;
    //return MyLibraryLocalServiceUtil.addBook(newBook);
}

From source file:com.liferay.mobile.device.rules.service.impl.MDRRuleServiceImpl.java

License:Open Source License

@JSONWebService(mode = JSONWebServiceMode.IGNORE)
@Override// w w w .java2 s  .co m
public MDRRule addRule(long ruleGroupId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap,
        String type, UnicodeProperties typeSettings, ServiceContext serviceContext) throws PortalException {

    _mdrRuleGroupModelResourcePermission.check(getPermissionChecker(), ruleGroupId, ActionKeys.UPDATE);

    return mdrRuleLocalService.addRule(ruleGroupId, nameMap, descriptionMap, type, typeSettings,
            serviceContext);
}

From source file:com.liferay.mobile.device.rules.service.MDRRuleService.java

License:Open Source License

@JSONWebService(mode = JSONWebServiceMode.IGNORE)
public MDRRule addRule(long ruleGroupId, Map<Locale, java.lang.String> nameMap,
        Map<Locale, java.lang.String> descriptionMap, java.lang.String type, UnicodeProperties typeSettings,
        ServiceContext serviceContext) throws PortalException;