Example #1
0
 public static void deleteUserTracker(java.lang.String userTrackerId)
     throws com.liferay.portal.PortalException, com.liferay.portal.SystemException {
   try {
     UserTrackerService userTrackerService = UserTrackerServiceFactory.getService();
     userTrackerService.deleteUserTracker(userTrackerId);
   } catch (com.liferay.portal.PortalException pe) {
     throw pe;
   } catch (com.liferay.portal.SystemException se) {
     throw se;
   } catch (Exception e) {
     throw new com.liferay.portal.SystemException(e);
   }
 }
Example #2
0
  public static java.util.List getUserTrackers(int begin, int end)
      throws com.liferay.portal.PortalException, com.liferay.portal.SystemException {
    try {
      UserTrackerService userTrackerService = UserTrackerServiceFactory.getService();

      return userTrackerService.getUserTrackers(begin, end);
    } catch (com.liferay.portal.PortalException pe) {
      throw pe;
    } catch (com.liferay.portal.SystemException se) {
      throw se;
    } catch (Exception e) {
      throw new com.liferay.portal.SystemException(e);
    }
  }