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
    addOrUpdateCollaborator(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, Collaborator collaborator, long collaboratorId, long companyId, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, String type, jakarta.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)
     
    addOrUpdateCollaboratorByEmailAddress(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, Collaborator collaborator, long companyId, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, String emailAddress, long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, jakarta.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 com.liferay.portal.vulcan.pagination.Page<Collaborator>
    addOrUpdateCollaborators(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, Collaborator[] collaborators, long companyId, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, jakarta.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 void
    deleteCollaborator(long classNameId, long classPK, Long collaboratorId, long companyId, com.liferay.sharing.service.SharingEntryService sharingEntryService, String type)
     
    static void
    deleteCollaboratorByEmailAddress(String className, long classNameId, long classPK, long companyId, String emailAddress, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.UserLocalService userLocalService)
     
    getCollaborator(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, long classNameId, long classPK, Long collaboratorId, long companyId, 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.service.SharingEntryService sharingEntryService, String type, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user)
     
    getCollaboratorByEmailAddress(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, long companyId, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, String emailAddress, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.UserLocalService userLocalService)
     
    static com.liferay.portal.vulcan.pagination.Page<Collaborator>
    getCollaborators(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, long classNameId, long classPK, 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.portal.vulcan.pagination.Pagination pagination, com.liferay.sharing.service.SharingEntryLocalService sharingEntryLocalService, com.liferay.sharing.service.SharingEntryService sharingEntryService, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user)
     
    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, jakarta.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

    • addOrUpdateCollaborator

      public static Collaborator addOrUpdateCollaborator(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, Collaborator collaborator, long collaboratorId, long companyId, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, String type, jakarta.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
    • addOrUpdateCollaboratorByEmailAddress

      public static Collaborator addOrUpdateCollaboratorByEmailAddress(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, Collaborator collaborator, long companyId, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, String emailAddress, long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, jakarta.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
    • addOrUpdateCollaborators

      public static com.liferay.portal.vulcan.pagination.Page<Collaborator> addOrUpdateCollaborators(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, Collaborator[] collaborators, long companyId, com.liferay.portal.configuration.module.configuration.ConfigurationProvider configurationProvider, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, long groupId, jakarta.servlet.http.HttpServletRequest httpServletRequest, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, jakarta.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
    • deleteCollaborator

      public static void deleteCollaborator(long classNameId, long classPK, Long collaboratorId, long companyId, com.liferay.sharing.service.SharingEntryService sharingEntryService, String type) throws Exception
      Throws:
      Exception
    • deleteCollaboratorByEmailAddress

      public static void deleteCollaboratorByEmailAddress(String className, long classNameId, long classPK, long companyId, String emailAddress, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.UserLocalService userLocalService) throws Exception
      Throws:
      Exception
    • getCollaborator

      public static Collaborator getCollaborator(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, long classNameId, long classPK, Long collaboratorId, long companyId, 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.service.SharingEntryService sharingEntryService, String type, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user) throws Exception
      Throws:
      Exception
    • getCollaboratorByEmailAddress

      public static Collaborator getCollaboratorByEmailAddress(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, String className, long classNameId, long classPK, long companyId, com.liferay.portal.vulcan.dto.converter.DTOConverter<com.liferay.sharing.model.SharingEntry,Collaborator> dtoConverter, com.liferay.portal.vulcan.dto.converter.DTOConverterRegistry dtoConverterRegistry, String emailAddress, com.liferay.sharing.service.SharingEntryService sharingEntryService, com.liferay.portal.kernel.service.TicketLocalService ticketLocalService, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user, com.liferay.portal.kernel.service.UserLocalService userLocalService) throws Exception
      Throws:
      Exception
    • getCollaborators

      public static com.liferay.portal.vulcan.pagination.Page<Collaborator> getCollaborators(com.liferay.portal.vulcan.accept.language.AcceptLanguage acceptLanguage, long classNameId, long classPK, 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.portal.vulcan.pagination.Pagination pagination, com.liferay.sharing.service.SharingEntryLocalService sharingEntryLocalService, com.liferay.sharing.service.SharingEntryService sharingEntryService, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user) 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, jakarta.ws.rs.core.UriInfo uriInfo, com.liferay.portal.kernel.model.User user) throws Exception
      Throws:
      Exception