List of usage examples for com.liferay.portal.kernel.util LongWrapper LongWrapper
public LongWrapper(long value)
From source file:com.liferay.ruon.service.NetworkLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Network createNetwork(long networkId) { Object paramObj0 = new LongWrapper(networkId); Object returnObj = null;/*from w ww. j a v a2s . c o m*/ try { returnObj = _classLoaderProxy.invoke("createNetwork", new Object[] { paramObj0 }); } catch (Throwable t) { if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.ruon.model.Network) ClpSerializer.translateOutput(returnObj); }
From source file:com.liferay.ruon.service.NetworkLocalServiceClp.java
License:Open Source License
public void deleteNetwork(long networkId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(networkId); try {//from w w w . j a va 2s . c om _classLoaderProxy.invoke("deleteNetwork", new Object[] { paramObj0 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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"); } } }
From source file:com.liferay.ruon.service.NetworkLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Network getNetwork(long networkId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(networkId); Object returnObj = null;/*from ww w . j a v a2 s . c om*/ try { returnObj = _classLoaderProxy.invoke("getNetwork", new Object[] { paramObj0 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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 (com.liferay.ruon.model.Network) ClpSerializer.translateOutput(returnObj); }
From source file:com.liferay.ruon.service.NetworkLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Network updateNetwork(java.lang.String name, long ttl) throws com.liferay.portal.SystemException { Object paramObj0 = ClpSerializer.translateInput(name); if (name == null) { paramObj0 = new NullWrapper("java.lang.String"); }/*from w ww. j a va 2 s . c o m*/ Object paramObj1 = new LongWrapper(ttl); Object returnObj = null; try { returnObj = _classLoaderProxy.invoke("updateNetwork", 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 (com.liferay.ruon.model.Network) ClpSerializer.translateOutput(returnObj); }
From source file:com.liferay.ruon.service.PresenceLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Presence createPresence(long presenceId) { Object paramObj0 = new LongWrapper(presenceId); Object returnObj = null;//w w w .j a v a 2s.c o m try { returnObj = _classLoaderProxy.invoke("createPresence", new Object[] { paramObj0 }); } catch (Throwable t) { if (t instanceof RuntimeException) { throw (RuntimeException) t; } else { throw new RuntimeException(t.getClass().getName() + " is not a valid exception"); } } return (com.liferay.ruon.model.Presence) ClpSerializer.translateOutput(returnObj); }
From source file:com.liferay.ruon.service.PresenceLocalServiceClp.java
License:Open Source License
public void deletePresence(long presenceId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(presenceId); try {/*from www .j av a 2 s .co m*/ _classLoaderProxy.invoke("deletePresence", new Object[] { paramObj0 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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"); } } }
From source file:com.liferay.ruon.service.PresenceLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Presence getPresence(long presenceId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(presenceId); Object returnObj = null;// w w w . jav a2 s .co m try { returnObj = _classLoaderProxy.invoke("getPresence", new Object[] { paramObj0 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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 (com.liferay.ruon.model.Presence) ClpSerializer.translateOutput(returnObj); }
From source file:com.liferay.ruon.service.PresenceLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Presence getPresence(long userId, java.lang.String networkName) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(userId); Object paramObj1 = ClpSerializer.translateInput(networkName); if (networkName == null) { paramObj1 = new NullWrapper("java.lang.String"); }/*from w ww . ja va 2 s. com*/ Object returnObj = null; try { returnObj = _classLoaderProxy.invoke("getPresence", new Object[] { paramObj0, paramObj1 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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 (com.liferay.ruon.model.Presence) 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(long userId, boolean online) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(userId); Object paramObj1 = new BooleanWrapper(online); Object returnObj = null;/* w w w . j av a2 s . co m*/ try { returnObj = _classLoaderProxy.invoke("getPresences", new Object[] { paramObj0, paramObj1 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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.ruon.service.PresenceLocalServiceClp.java
License:Open Source License
public com.liferay.ruon.model.Presence updatePresence(long userId, java.lang.String networkName, boolean online) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { Object paramObj0 = new LongWrapper(userId); Object paramObj1 = ClpSerializer.translateInput(networkName); if (networkName == null) { paramObj1 = new NullWrapper("java.lang.String"); }// w ww.j a v a 2s . c o m Object paramObj2 = new BooleanWrapper(online); Object returnObj = null; try { returnObj = _classLoaderProxy.invoke("updatePresence", new Object[] { paramObj0, paramObj1, paramObj2 }); } catch (Throwable t) { if (t instanceof com.liferay.portal.PortalException) { throw (com.liferay.portal.PortalException) 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 (com.liferay.ruon.model.Presence) ClpSerializer.translateOutput(returnObj); }