Class CollaboratorUtil
java.lang.Object
com.liferay.headless.object.util.v1_0.CollaboratorUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.vulcan.pagination.Page<Collaborator>
addOrUpdateCollaborators
(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, long classNameId, long classPK, Collaborator[] collaborators, long companyId, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry, Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, long groupId, com.liferay.sharing.service.SharingEntryService sharingEntryService, javax.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService, com.liferay.portal.kernel.service.UserLocalService userLocalService) static long
getGroupId
(long companyId, com.liferay.portal.kernel.service.GroupLocalService groupLocalService, String scopeKey) static Collaborator
toCollaborator
(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry, Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, com.liferay.sharing.model.SharingEntry sharingEntry, javax.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user)
-
Constructor Details
-
CollaboratorUtil
public CollaboratorUtil()
-
-
Method Details
-
addOrUpdateCollaborators
public static com.liferay.portal.vulcan.pagination.Page<Collaborator> addOrUpdateCollaborators(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, long classNameId, long classPK, Collaborator[] collaborators, long companyId, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry, Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, long groupId, com.liferay.sharing.service.SharingEntryService sharingEntryService, javax.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.UserGroupLocalService userGroupLocalService, com.liferay.portal.kernel.service.UserLocalService userLocalService) throws Exception- Throws:
Exception
-
getGroupId
public static long getGroupId(long companyId, com.liferay.portal.kernel.service.GroupLocalService groupLocalService, String scopeKey) throws Exception - Throws:
Exception
-
toCollaborator
public static Collaborator toCollaborator(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry, Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, com.liferay.sharing.model.SharingEntry sharingEntry, javax.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user) throws Exception- Throws:
Exception
-