public class SharingEntryLocalServiceUtil
extends java.lang.Object
com.liferay.sharing.service.impl.SharingEntryLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.SharingEntryLocalService
Constructor and Description |
---|
SharingEntryLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static SharingEntry |
addOrUpdateSharingEntry(long userId,
long toUserId,
long classNameId,
long classPK,
long groupId,
boolean shareable,
java.util.Collection<SharingEntryAction> sharingEntryActions,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Adds a new sharing entry in the database or updates an existing one.
|
static SharingEntry |
addSharingEntry(long userId,
long toUserId,
long classNameId,
long classPK,
long groupId,
boolean shareable,
java.util.Collection<SharingEntryAction> sharingEntryActions,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Adds a new sharing entry in the database.
|
static SharingEntry |
addSharingEntry(SharingEntry sharingEntry)
Adds the sharing entry to the database.
|
static com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
static SharingEntry |
createSharingEntry(long sharingEntryId)
Creates a new sharing entry with the primary key.
|
static void |
deleteExpiredEntries()
Deletes the sharing entries whose expiration date is before the current
date.
|
static void |
deleteGroupSharingEntries(long groupId)
Deletes the group's sharing entries.
|
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
static void |
deleteSharingEntries(long classNameId,
long classPK)
Deletes the resource's sharing entries.
|
static SharingEntry |
deleteSharingEntry(long sharingEntryId)
Deletes the sharing entry with the primary key from the database.
|
static SharingEntry |
deleteSharingEntry(long toUserId,
long classNameId,
long classPK)
Deletes the sharing entry for the resource and users.
|
static SharingEntry |
deleteSharingEntry(SharingEntry sharingEntry)
Deletes the sharing entry from the database.
|
static void |
deleteToUserSharingEntries(long toUserId)
Deletes the sharing entries for resources shared with the user.
|
static <T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
static SharingEntry |
fetchSharingEntry(long sharingEntryId) |
static SharingEntry |
fetchSharingEntry(long toUserId,
long classNameId,
long classPK)
Returns the sharing entry for the resource shared with the user or
null if there's none. |
static SharingEntry |
fetchSharingEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the sharing entry matching the UUID and group.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static java.util.List<SharingEntry> |
getFromUserSharingEntries(long fromUserId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the ordered range of sharing entries for the type of resource
shared by the user.
|
static int |
getFromUserSharingEntriesCount(long fromUserId,
long classNameId)
Returns the number of sharing entries for the type of resource shared by
the user.
|
static java.util.List<SharingEntry> |
getGroupSharingEntries(long groupId)
Returns the the group's sharing entries.
|
static int |
getGroupSharingEntriesCount(long groupId)
Returns the the group's sharing entries count.
|
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static SharingEntryLocalService |
getService() |
static java.util.List<SharingEntry> |
getSharingEntries(int start,
int end)
Returns a range of all the sharing entries.
|
static java.util.List<SharingEntry> |
getSharingEntries(long classNameId,
long classPK)
Returns the resource's sharing entries.
|
static java.util.List<SharingEntry> |
getSharingEntries(long classNameId,
long classPK,
int start,
int end)
Returns the resource's sharing entries.
|
static java.util.List<SharingEntry> |
getSharingEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the sharing entries matching the UUID and company.
|
static java.util.List<SharingEntry> |
getSharingEntriesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns a range of sharing entries matching the UUID and company.
|
static int |
getSharingEntriesCount()
Returns the number of sharing entries.
|
static int |
getSharingEntriesCount(long classNameId,
long classPK)
Returns the resource's sharing entries count.
|
static SharingEntry |
getSharingEntry(long sharingEntryId)
Returns the sharing entry with the primary key.
|
static SharingEntry |
getSharingEntry(long toUserId,
long classNameId,
long classPK)
Returns the sharing entry for the resource shared with the user.
|
static SharingEntry |
getSharingEntryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the sharing entry matching the UUID and group.
|
static java.util.List<SharingEntry> |
getToUserSharingEntries(long toUserId)
Returns the list of sharing entries for resources shared with the user.
|
static java.util.List<SharingEntry> |
getToUserSharingEntries(long toUserId,
int start,
int end)
Returns the range of sharing entries for resources shared with the user.
|
static java.util.List<SharingEntry> |
getToUserSharingEntries(long toUserId,
long classNameId)
Returns the list of sharing entries for the type of resource shared with
the user.
|
static java.util.List<SharingEntry> |
getToUserSharingEntries(long toUserId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
Returns the ordered range of sharing entries for the type of resource
shared with the user.
|
static int |
getToUserSharingEntriesCount(long toUserId)
Returns the number of sharing entries for resources shared with the user.
|
static int |
getToUserSharingEntriesCount(long toUserId,
long classNameId)
Returns the number of sharing entries for the type of resource shared
with the user.
|
static boolean |
hasShareableSharingPermission(long toUserId,
long classNameId,
long classPK,
SharingEntryAction sharingEntryAction)
Returns
true if the resource with the sharing entry action has
been shared with a user who can also share that resource. |
static boolean |
hasSharingPermission(long toUserId,
long classNameId,
long classPK,
SharingEntryAction sharingEntryAction)
Returns
true if the resource with the sharing entry action has
been shared with the user. |
static SharingEntry |
updateSharingEntry(long sharingEntryId,
java.util.Collection<SharingEntryAction> sharingEntryActions,
boolean shareable,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x), replaced by
SharingEntryLocalService.updateSharingEntry(
long, long, Collection, boolean, Date, ServiceContext) |
static SharingEntry |
updateSharingEntry(long userId,
long sharingEntryId,
java.util.Collection<SharingEntryAction> sharingEntryActions,
boolean shareable,
java.util.Date expirationDate,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Updates the sharing entry in the database.
|
static SharingEntry |
updateSharingEntry(SharingEntry sharingEntry)
Updates the sharing entry in the database or adds it if it does not yet exist.
|
public static SharingEntry addOrUpdateSharingEntry(long userId, long toUserId, long classNameId, long classPK, long groupId, boolean shareable, java.util.Collection<SharingEntryAction> sharingEntryActions, java.util.Date expirationDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
userId
- the ID of the user sharing the resourcetoUserId
- the ID of the user the resource is shared withclassNameId
- the resource's class name IDclassPK
- the class primary key of the resourcegroupId
- the primary key of the resource's groupshareable
- whether the user specified by toUserId
can
share the resourcesharingEntryActions
- the sharing entry actionsexpirationDate
- the date when the sharing entry expiresserviceContext
- the service contextcom.liferay.portal.kernel.exception.PortalException
- if the sharing entry actions are invalid (e.g.,
empty, don't contain SharingEntryAction#VIEW
, or contain
a null
value), if the to/from user IDs are the same, or
if the expiration date is a past valuepublic static SharingEntry addSharingEntry(long userId, long toUserId, long classNameId, long classPK, long groupId, boolean shareable, java.util.Collection<SharingEntryAction> sharingEntryActions, java.util.Date expirationDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
userId
- the ID of the user sharing the resourcetoUserId
- the ID of the user the resource is shared withclassNameId
- the resource's class name IDclassPK
- the class primary key of the resourcegroupId
- the primary key of the resource's groupshareable
- whether the user specified by toUserId
can
share the resourcesharingEntryActions
- the sharing entry actionsexpirationDate
- the date when the sharing entry expiresserviceContext
- the service contextcom.liferay.portal.kernel.exception.PortalException
- if a sharing entry already exists for the to/from
user IDs, if the sharing entry actions are invalid (e.g., empty,
don't contain SharingEntryAction#VIEW
, or contain a
null
value), if the to/from user IDs are the same, or if
the expiration date is a past valuepublic static SharingEntry addSharingEntry(SharingEntry sharingEntry)
Important: Inspect SharingEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
sharingEntry
- the sharing entrypublic static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static SharingEntry createSharingEntry(long sharingEntryId)
sharingEntryId
- the primary key for the new sharing entrypublic static void deleteExpiredEntries()
public static void deleteGroupSharingEntries(long groupId)
groupId
- the group's IDpublic static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteSharingEntries(long classNameId, long classPK)
classNameId
- the resource's class name IDclassPK
- the class primary key of the resourcepublic static SharingEntry deleteSharingEntry(long sharingEntryId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect SharingEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
sharingEntryId
- the primary key of the sharing entrycom.liferay.portal.kernel.exception.PortalException
- if a sharing entry with the primary key could not be foundpublic static SharingEntry deleteSharingEntry(long toUserId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
toUserId
- the ID of the user the resource is shared withclassNameId
- the resource's class name IDclassPK
- the class primary key of the resourcecom.liferay.portal.kernel.exception.PortalException
public static SharingEntry deleteSharingEntry(SharingEntry sharingEntry)
Important: Inspect SharingEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
sharingEntry
- the sharing entrypublic static void deleteToUserSharingEntries(long toUserId)
toUserId
- the user's IDpublic static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.sharing.model.impl.SharingEntryModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public static <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.sharing.model.impl.SharingEntryModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic querypublic static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic static SharingEntry fetchSharingEntry(long sharingEntryId)
public static SharingEntry fetchSharingEntry(long toUserId, long classNameId, long classPK)
null
if there's none. The class name ID and class primary
key identify the resource's type and instance, respectively.toUserId
- the user's IDclassNameId
- the resource's class name IDclassPK
- the class primary key of the resourcenull
if nonepublic static SharingEntry fetchSharingEntryByUuidAndGroupId(java.lang.String uuid, long groupId)
uuid
- the sharing entry's UUIDgroupId
- the primary key of the groupnull
if a matching sharing entry could not be foundpublic static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
public static java.util.List<SharingEntry> getFromUserSharingEntries(long fromUserId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
fromUserId
- the user's IDclassNameId
- the class name ID of the resourcesstart
- the ordered range's lower boundend
- the ordered range's upper bound (not inclusive)orderByComparator
- the comparator that orders the sharing entriespublic static int getFromUserSharingEntriesCount(long fromUserId, long classNameId)
fromUserId
- the user's IDclassNameId
- the class name ID of the resourcespublic static java.util.List<SharingEntry> getGroupSharingEntries(long groupId)
groupId
- the primary key of the grouppublic static int getGroupSharingEntriesCount(long groupId)
groupId
- the primary key of the grouppublic static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<SharingEntry> getSharingEntries(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.sharing.model.impl.SharingEntryModelImpl
.
start
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)public static java.util.List<SharingEntry> getSharingEntries(long classNameId, long classPK)
classNameId
- the resource's class name IDclassPK
- the class primary key of the resourcepublic static java.util.List<SharingEntry> getSharingEntries(long classNameId, long classPK, int start, int end)
classNameId
- the resource's class name IDclassPK
- the class primary key of the resourcestart
- the range's lower boundend
- the range's upper bound (not inclusive)public static java.util.List<SharingEntry> getSharingEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId)
uuid
- the UUID of the sharing entriescompanyId
- the primary key of the companypublic static java.util.List<SharingEntry> getSharingEntriesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
uuid
- the UUID of the sharing entriescompanyId
- the primary key of the companystart
- the lower bound of the range of sharing entriesend
- the upper bound of the range of sharing entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static int getSharingEntriesCount()
public static int getSharingEntriesCount(long classNameId, long classPK)
classNameId
- the resource's class name IDclassPK
- the class primary key of the resourcepublic static SharingEntry getSharingEntry(long sharingEntryId) throws com.liferay.portal.kernel.exception.PortalException
sharingEntryId
- the primary key of the sharing entrycom.liferay.portal.kernel.exception.PortalException
- if a sharing entry with the primary key could not be foundpublic static SharingEntry getSharingEntry(long toUserId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
toUserId
- the user's IDclassNameId
- the resource's class name IDclassPK
- the class primary key of the resourcecom.liferay.portal.kernel.exception.PortalException
public static SharingEntry getSharingEntryByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
uuid
- the sharing entry's UUIDgroupId
- the primary key of the groupcom.liferay.portal.kernel.exception.PortalException
- if a matching sharing entry could not be foundpublic static java.util.List<SharingEntry> getToUserSharingEntries(long toUserId)
toUserId
- the user's IDpublic static java.util.List<SharingEntry> getToUserSharingEntries(long toUserId, int start, int end)
toUserId
- the user's IDstart
- the range's lower boundend
- the range's upper bound (not inclusive)public static java.util.List<SharingEntry> getToUserSharingEntries(long toUserId, long classNameId)
toUserId
- the user's IDclassNameId
- the class name ID of the resourcespublic static java.util.List<SharingEntry> getToUserSharingEntries(long toUserId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SharingEntry> orderByComparator)
toUserId
- the user's IDclassNameId
- the class name ID of the resourcesstart
- the ordered range's lower boundend
- the ordered range's upper bound (not inclusive)orderByComparator
- the comparator that orders the sharing entriespublic static int getToUserSharingEntriesCount(long toUserId)
toUserId
- the user's IDpublic static int getToUserSharingEntriesCount(long toUserId, long classNameId)
toUserId
- the user's IDclassNameId
- the class name ID of the resourcespublic static boolean hasShareableSharingPermission(long toUserId, long classNameId, long classPK, SharingEntryAction sharingEntryAction)
true
if the resource with the sharing entry action has
been shared with a user who can also share that resource. The class name
ID and class primary key identify the resource's type and instance,
respectively.toUserId
- the user's IDclassNameId
- the resource's class name IDclassPK
- the class primary key of the shared resourcesharingEntryAction
- the sharing entry actiontrue
if the resource with the sharing entry action has
been shared with a user who can also share that resource; false
otherwisepublic static boolean hasSharingPermission(long toUserId, long classNameId, long classPK, SharingEntryAction sharingEntryAction)
true
if the resource with the sharing entry action has
been shared with the user. The class name ID and class primary key
identify the resource's type and instance, respectively.toUserId
- the user's IDclassNameId
- the resource's class name IDclassPK
- the class primary key of the shared resourcesharingEntryAction
- the sharing entry actiontrue
if the resource with the sharing entry action has
been shared with the user; false
otherwise@Deprecated public static SharingEntry updateSharingEntry(long sharingEntryId, java.util.Collection<SharingEntryAction> sharingEntryActions, boolean shareable, java.util.Date expirationDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
SharingEntryLocalService.updateSharingEntry(
long, long, Collection, boolean, Date, ServiceContext)
sharingEntryId
- the primary key of the sharing entrysharingEntryActions
- the sharing entry actionsshareable
- whether the user the resource is shared with can
also share itexpirationDate
- the date when the sharing entry expiresserviceContext
- the service contextcom.liferay.portal.kernel.exception.PortalException
- if the sharing entry does not exist, if the
sharing entry actions are invalid (e.g., empty, don't contain
SharingEntryAction#VIEW
, or contain a null
value), or if the expiration date is a past valuepublic static SharingEntry updateSharingEntry(long userId, long sharingEntryId, java.util.Collection<SharingEntryAction> sharingEntryActions, boolean shareable, java.util.Date expirationDate, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
userId
- the primary key of the user updating the sharing entrysharingEntryId
- the primary key of the sharing entrysharingEntryActions
- the sharing entry actionsshareable
- whether the user the resource is shared with can also
share itexpirationDate
- the date when the sharing entry expiresserviceContext
- the service contextcom.liferay.portal.kernel.exception.PortalException
- if the sharing entry does not exist, if the
sharing entry actions are invalid (e.g., empty, don't contain
SharingEntryAction#VIEW
, or contain a null
value), or if the expiration date is a past valuepublic static SharingEntry updateSharingEntry(SharingEntry sharingEntry)
Important: Inspect SharingEntryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
sharingEntry
- the sharing entrypublic static SharingEntryLocalService getService()