Example usage for com.liferay.portal.kernel.util IntegerWrapper IntegerWrapper

List of usage examples for com.liferay.portal.kernel.util IntegerWrapper IntegerWrapper

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util IntegerWrapper IntegerWrapper.

Prototype

public IntegerWrapper(int value) 

Source Link

Usage

From source file:com.liferay.ruon.service.NetworkLocalServiceClp.java

License:Open Source License

public java.util.List<Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
        int start, int end) throws com.liferay.portal.SystemException {
    Object paramObj0 = ClpSerializer.translateInput(dynamicQuery);

    if (dynamicQuery == null) {
        paramObj0 = new NullWrapper("com.liferay.portal.kernel.dao.orm.DynamicQuery");
    }/*from w  ww .  j  ava  2  s  .  c o  m*/

    Object paramObj1 = new IntegerWrapper(start);

    Object paramObj2 = new IntegerWrapper(end);

    Object returnObj = null;

    try {
        returnObj = _classLoaderProxy.invoke("dynamicQuery", new Object[] { paramObj0, paramObj1, paramObj2 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<Object>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.ruon.service.NetworkLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.ruon.model.Network> getNetworks(int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new IntegerWrapper(start);

    Object paramObj1 = new IntegerWrapper(end);

    Object returnObj = null;/*from  w  w w . j  a  v a2  s .  c  o m*/

    try {
        returnObj = _classLoaderProxy.invoke("getNetworks", new Object[] { paramObj0, paramObj1 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.ruon.model.Network>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.ruon.service.PresenceLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.ruon.model.Presence> getPresences(int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new IntegerWrapper(start);

    Object paramObj1 = new IntegerWrapper(end);

    Object returnObj = null;/* w ww.  ja v a2  s.  c om*/

    try {
        returnObj = _classLoaderProxy.invoke("getPresences", new Object[] { paramObj0, paramObj1 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.ruon.model.Presence>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAActionLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAAction> getJIRAActions(int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new IntegerWrapper(start);

    Object paramObj1 = new IntegerWrapper(end);

    Object returnObj = null;//ww w.ja  va 2  s .c  o m

    try {
        returnObj = _classLoaderProxy.invoke("getJIRAActions", new Object[] { paramObj0, paramObj1 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAAction>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAChangeGroupLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAChangeGroup> getJIRAChangeGroups(int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new IntegerWrapper(start);

    Object paramObj1 = new IntegerWrapper(end);

    Object returnObj = null;/*from   ww w .  j a v a2 s.c om*/

    try {
        returnObj = _classLoaderProxy.invoke("getJIRAChangeGroups", new Object[] { paramObj0, paramObj1 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAChangeGroup>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAChangeItemLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAChangeItem> getJIRAChangeItems(int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new IntegerWrapper(start);

    Object paramObj1 = new IntegerWrapper(end);

    Object returnObj = null;//from   w w w.j  a  v  a2s .  c  om

    try {
        returnObj = _classLoaderProxy.invoke("getJIRAChangeItems", new Object[] { paramObj0, paramObj1 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAChangeItem>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAIssueLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAIssue> getJIRAIssues(int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new IntegerWrapper(start);

    Object paramObj1 = new IntegerWrapper(end);

    Object returnObj = null;/*  w  w  w.j a v  a  2 s  . c  o m*/

    try {
        returnObj = _classLoaderProxy.invoke("getJIRAIssues", new Object[] { paramObj0, paramObj1 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAIssue>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAIssueLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAIssue> getAssigneeJIRAIssues(long projectId,
        java.lang.String assigneeJiraUserId, int start, int end) throws com.liferay.portal.SystemException {
    Object paramObj0 = new LongWrapper(projectId);

    Object paramObj1 = ClpSerializer.translateInput(assigneeJiraUserId);

    if (assigneeJiraUserId == null) {
        paramObj1 = new NullWrapper("java.lang.String");
    }//  w  w w.j a v  a  2 s. c o  m

    Object paramObj2 = new IntegerWrapper(start);

    Object paramObj3 = new IntegerWrapper(end);

    Object returnObj = null;

    try {
        returnObj = _classLoaderProxy.invoke("getAssigneeJIRAIssues",
                new Object[] { paramObj0, paramObj1, paramObj2, paramObj3 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAIssue>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAIssueLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAIssue> getAssigneeJIRAIssues(java.util.Date modifiedDate,
        long projectId, java.lang.String assigneeJiraUserId, int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = ClpSerializer.translateInput(modifiedDate);

    if (modifiedDate == null) {
        paramObj0 = new NullWrapper("java.util.Date");
    }/*w ww . j a  v  a2 s  .c o  m*/

    Object paramObj1 = new LongWrapper(projectId);

    Object paramObj2 = ClpSerializer.translateInput(assigneeJiraUserId);

    if (assigneeJiraUserId == null) {
        paramObj2 = new NullWrapper("java.lang.String");
    }

    Object paramObj3 = new IntegerWrapper(start);

    Object paramObj4 = new IntegerWrapper(end);

    Object returnObj = null;

    try {
        returnObj = _classLoaderProxy.invoke("getAssigneeJIRAIssues",
                new Object[] { paramObj0, paramObj1, paramObj2, paramObj3, paramObj4 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAIssue>) ClpSerializer.translateOutput(returnObj);
}

From source file:com.liferay.wol.service.JIRAIssueLocalServiceClp.java

License:Open Source License

public java.util.List<com.liferay.wol.model.JIRAIssue> getAssigneeJIRAIssues(long projectId,
        java.lang.String assigneeJiraUserId, java.lang.String status, int start, int end)
        throws com.liferay.portal.SystemException {
    Object paramObj0 = new LongWrapper(projectId);

    Object paramObj1 = ClpSerializer.translateInput(assigneeJiraUserId);

    if (assigneeJiraUserId == null) {
        paramObj1 = new NullWrapper("java.lang.String");
    }/*from   w w w . ja v a  2s  . c  om*/

    Object paramObj2 = ClpSerializer.translateInput(status);

    if (status == null) {
        paramObj2 = new NullWrapper("java.lang.String");
    }

    Object paramObj3 = new IntegerWrapper(start);

    Object paramObj4 = new IntegerWrapper(end);

    Object returnObj = null;

    try {
        returnObj = _classLoaderProxy.invoke("getAssigneeJIRAIssues",
                new Object[] { paramObj0, paramObj1, paramObj2, paramObj3, paramObj4 });
    } catch (Throwable t) {
        if (t instanceof com.liferay.portal.SystemException) {
            throw (com.liferay.portal.SystemException) t;
        }

        if (t instanceof RuntimeException) {
            throw (RuntimeException) t;
        } else {
            throw new RuntimeException(t.getClass().getName() + " is not a valid exception");
        }
    }

    return (java.util.List<com.liferay.wol.model.JIRAIssue>) ClpSerializer.translateOutput(returnObj);
}