Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.bookmarks.service;
import aQute.bnd.annotation.ProviderType;
import org.osgi.framework.Bundle;
import org.osgi.framework.FrameworkUtil;
import org.osgi.util.tracker.ServiceTracker;
/**
* Provides the remote service utility for BookmarksEntry. This utility wraps
* com.liferay.bookmarks.service.impl.BookmarksEntryServiceImpl and is an
* access point for service operations in application layer code running on a
* remote server. Methods of this service are expected to have security checks
* based on the propagated JAAS credentials because this service can be
* accessed remotely.
*
* @author Brian Wing Shun Chan
* @see BookmarksEntryService
* @generated
*/
@ProviderType
public class BookmarksEntryServiceUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Add custom service methods to com.liferay.bookmarks.service.impl.BookmarksEntryServiceImpl and rerun ServiceBuilder to regenerate this class.
*/
public static com.liferay.bookmarks.model.BookmarksEntry addEntry(
long groupId, long folderId, String name, String url,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().addEntry(
groupId, folderId, name, url, description, serviceContext);
}
public static void deleteEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
getService().deleteEntry(entryId);
}
public static java.util.List
getEntries(long groupId, long folderId, int start, int end) {
return getService().getEntries(groupId, folderId, start, end);
}
public static java.util.List
getEntries(
long groupId, long folderId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator
orderByComparator) {
return getService().getEntries(
groupId, folderId, start, end, orderByComparator);
}
public static int getEntriesCount(long groupId, long folderId) {
return getService().getEntriesCount(groupId, folderId);
}
public static int getEntriesCount(long groupId, long folderId, int status) {
return getService().getEntriesCount(groupId, folderId, status);
}
public static com.liferay.bookmarks.model.BookmarksEntry getEntry(
long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getEntry(entryId);
}
public static int getFoldersEntriesCount(
long groupId, java.util.List folderIds) {
return getService().getFoldersEntriesCount(groupId, folderIds);
}
public static java.util.List
getGroupEntries(long groupId, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getGroupEntries(groupId, start, end);
}
public static java.util.List
getGroupEntries(long groupId, long userId, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getGroupEntries(groupId, userId, start, end);
}
public static java.util.List
getGroupEntries(
long groupId, long userId, long rootFolderId, int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getGroupEntries(
groupId, userId, rootFolderId, start, end);
}
public static int getGroupEntriesCount(long groupId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getGroupEntriesCount(groupId);
}
public static int getGroupEntriesCount(long groupId, long userId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getGroupEntriesCount(groupId, userId);
}
public static int getGroupEntriesCount(
long groupId, long userId, long rootFolderId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().getGroupEntriesCount(groupId, userId, rootFolderId);
}
/**
* Returns the OSGi service identifier.
*
* @return the OSGi service identifier
*/
public static String getOSGiServiceIdentifier() {
return getService().getOSGiServiceIdentifier();
}
public static com.liferay.bookmarks.model.BookmarksEntry moveEntry(
long entryId, long parentFolderId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().moveEntry(entryId, parentFolderId);
}
public static com.liferay.bookmarks.model.BookmarksEntry moveEntryFromTrash(
long entryId, long parentFolderId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().moveEntryFromTrash(entryId, parentFolderId);
}
public static com.liferay.bookmarks.model.BookmarksEntry moveEntryToTrash(
long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().moveEntryToTrash(entryId);
}
public static com.liferay.bookmarks.model.BookmarksEntry openEntry(
com.liferay.bookmarks.model.BookmarksEntry entry)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().openEntry(entry);
}
public static com.liferay.bookmarks.model.BookmarksEntry openEntry(
long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().openEntry(entryId);
}
public static void restoreEntryFromTrash(long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
getService().restoreEntryFromTrash(entryId);
}
public static com.liferay.portal.kernel.search.Hits search(
long groupId, long creatorUserId, int status, int start, int end)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().search(groupId, creatorUserId, status, start, end);
}
public static void subscribeEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
getService().subscribeEntry(entryId);
}
public static void unsubscribeEntry(long entryId)
throws com.liferay.portal.kernel.exception.PortalException {
getService().unsubscribeEntry(entryId);
}
public static com.liferay.bookmarks.model.BookmarksEntry updateEntry(
long entryId, long groupId, long folderId, String name, String url,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException {
return getService().updateEntry(
entryId, groupId, folderId, name, url, description, serviceContext);
}
public static BookmarksEntryService getService() {
return _serviceTracker.getService();
}
private static ServiceTracker
_serviceTracker;
static {
Bundle bundle = FrameworkUtil.getBundle(BookmarksEntryService.class);
ServiceTracker
serviceTracker =
new ServiceTracker
(
bundle.getBundleContext(), BookmarksEntryService.class,
null);
serviceTracker.open();
_serviceTracker = serviceTracker;
}
}