Interface RoleResource


@Generated("") @ProviderType public interface RoleResource
To access this resource, run: curl -u your@email.com:yourpassword -D - http://localhost:8080/o/headless-admin-user/v1.0
Generated:
  • Method Details

    • getRolesPage

      com.liferay.portal.vulcan.pagination.Page<Role> getRolesPage(String search, Integer[] types, com.liferay.portal.vulcan.pagination.Pagination pagination) throws Exception
      Throws:
      Exception
    • postRolesPageExportBatch

      javax.ws.rs.core.Response postRolesPageExportBatch(String search, Integer[] types, String callbackURL, String contentType, String fieldNames) throws Exception
      Throws:
      Exception
    • postRole

      Role postRole(Role role) throws Exception
      Throws:
      Exception
    • postRoleBatch

      javax.ws.rs.core.Response postRoleBatch(String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • deleteRoleByExternalReferenceCode

      void deleteRoleByExternalReferenceCode(String externalReferenceCode) throws Exception
      Throws:
      Exception
    • getRoleByExternalReferenceCode

      Role getRoleByExternalReferenceCode(String externalReferenceCode) throws Exception
      Throws:
      Exception
    • patchRoleByExternalReferenceCode

      Role patchRoleByExternalReferenceCode(String externalReferenceCode, Role role) throws Exception
      Throws:
      Exception
    • putRoleByExternalReferenceCode

      Role putRoleByExternalReferenceCode(String externalReferenceCode, Role role) throws Exception
      Throws:
      Exception
    • deleteRoleByExternalReferenceCodeUserAccountAssociation

      void deleteRoleByExternalReferenceCodeUserAccountAssociation(String externalReferenceCode, Long userAccountId) throws Exception
      Throws:
      Exception
    • postRoleByExternalReferenceCodeUserAccountAssociation

      void postRoleByExternalReferenceCodeUserAccountAssociation(String externalReferenceCode, Long userAccountId) throws Exception
      Throws:
      Exception
    • deleteOrganizationRoleByExternalReferenceCodeUserAccountAssociation

      void deleteOrganizationRoleByExternalReferenceCodeUserAccountAssociation(String externalReferenceCode, Long userAccountId, Long organizationId) throws Exception
      Throws:
      Exception
    • postOrganizationRoleByExternalReferenceCodeUserAccountAssociation

      void postOrganizationRoleByExternalReferenceCodeUserAccountAssociation(String externalReferenceCode, Long userAccountId, Long organizationId) throws Exception
      Throws:
      Exception
    • deleteSiteRoleByExternalReferenceCodeUserAccountAssociation

      void deleteSiteRoleByExternalReferenceCodeUserAccountAssociation(String externalReferenceCode, Long userAccountId, Long siteId) throws Exception
      Throws:
      Exception
    • postSiteRoleByExternalReferenceCodeUserAccountAssociation

      void postSiteRoleByExternalReferenceCodeUserAccountAssociation(String externalReferenceCode, Long userAccountId, Long siteId) throws Exception
      Throws:
      Exception
    • deleteRole

      void deleteRole(Long roleId) throws Exception
      Throws:
      Exception
    • deleteRoleBatch

      javax.ws.rs.core.Response deleteRoleBatch(String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • getRole

      Role getRole(Long roleId) throws Exception
      Throws:
      Exception
    • patchRole

      Role patchRole(Long roleId, Role role) throws Exception
      Throws:
      Exception
    • putRole

      Role putRole(Long roleId, Role role) throws Exception
      Throws:
      Exception
    • putRoleBatch

      javax.ws.rs.core.Response putRoleBatch(String callbackURL, Object object) throws Exception
      Throws:
      Exception
    • deleteRoleUserAccountAssociation

      void deleteRoleUserAccountAssociation(Long roleId, Long userAccountId) throws Exception
      Throws:
      Exception
    • postRoleUserAccountAssociation

      void postRoleUserAccountAssociation(Long roleId, Long userAccountId) throws Exception
      Throws:
      Exception
    • deleteOrganizationRoleUserAccountAssociation

      void deleteOrganizationRoleUserAccountAssociation(Long roleId, Long userAccountId, Long organizationId) throws Exception
      Throws:
      Exception
    • postOrganizationRoleUserAccountAssociation

      void postOrganizationRoleUserAccountAssociation(Long roleId, Long userAccountId, Long organizationId) throws Exception
      Throws:
      Exception
    • deleteSiteRoleUserAccountAssociation

      void deleteSiteRoleUserAccountAssociation(Long roleId, Long userAccountId, Long siteId) throws Exception
      Throws:
      Exception
    • postSiteRoleUserAccountAssociation

      void postSiteRoleUserAccountAssociation(Long roleId, Long userAccountId, Long siteId) throws Exception
      Throws:
      Exception
    • setContextAcceptLanguage

      default void setContextAcceptLanguage(com.liferay.portal.vulcan.accept.language.AcceptLanguage contextAcceptLanguage)
    • setContextCompany

      void setContextCompany(com.liferay.portal.kernel.model.Company contextCompany)
    • setContextHttpServletRequest

      default void setContextHttpServletRequest(javax.servlet.http.HttpServletRequest contextHttpServletRequest)
    • setContextHttpServletResponse

      default void setContextHttpServletResponse(javax.servlet.http.HttpServletResponse contextHttpServletResponse)
    • setContextUriInfo

      default void setContextUriInfo(javax.ws.rs.core.UriInfo contextUriInfo)
    • setContextUser

      void setContextUser(com.liferay.portal.kernel.model.User contextUser)
    • setExpressionConvert

      void setExpressionConvert(com.liferay.portal.odata.filter.ExpressionConvert<com.liferay.portal.kernel.search.filter.Filter> expressionConvert)
    • setFilterParserProvider

      void setFilterParserProvider(com.liferay.portal.odata.filter.FilterParserProvider filterParserProvider)
    • setGroupLocalService

      void setGroupLocalService(com.liferay.portal.kernel.service.GroupLocalService groupLocalService)
    • setResourceActionLocalService

      void setResourceActionLocalService(com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService)
    • setResourcePermissionLocalService

      void setResourcePermissionLocalService(com.liferay.portal.kernel.service.ResourcePermissionLocalService resourcePermissionLocalService)
    • setRoleLocalService

      void setRoleLocalService(com.liferay.portal.kernel.service.RoleLocalService roleLocalService)
    • setSortParserProvider

      void setSortParserProvider(com.liferay.portal.odata.sort.SortParserProvider sortParserProvider)
    • setVulcanBatchEngineExportTaskResource

      void setVulcanBatchEngineExportTaskResource(com.liferay.portal.vulcan.batch.engine.resource.VulcanBatchEngineExportTaskResource vulcanBatchEngineExportTaskResource)
    • setVulcanBatchEngineImportTaskResource

      void setVulcanBatchEngineImportTaskResource(com.liferay.portal.vulcan.batch.engine.resource.VulcanBatchEngineImportTaskResource vulcanBatchEngineImportTaskResource)
    • toFilter

      default com.liferay.portal.kernel.search.filter.Filter toFilter(String filterString)
    • toFilter

      default com.liferay.portal.kernel.search.filter.Filter toFilter(String filterString, Map<String,List<String>> multivaluedMap)
    • toSorts

      default com.liferay.portal.kernel.search.Sort[] toSorts(String sortsString)