Class CollaboratorUtil

java.lang.Object
com.liferay.headless.object.util.v1_0.CollaboratorUtil

public class CollaboratorUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    static long
    getGroupId(long companyId, com.liferay.portal.kernel.service.GroupLocalService groupLocalService, String scopeKey)
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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