Class EntraIDUsersSyncJobRequest

  • All Implemented Interfaces:
    Serializable, org.xwiki.job.Request

    @Unstable
    public class EntraIDUsersSyncJobRequest
    extends org.xwiki.job.AbstractRequest
    Represents a request to start a EntraID users sync job.
    Since:
    2.1
    Version:
    $Id$
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.xwiki.job.Request

        PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldDisable()  
      boolean shouldRemove()  
      • Methods inherited from class org.xwiki.job.AbstractRequest

        containsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose
    • Constructor Detail

      • EntraIDUsersSyncJobRequest

        public EntraIDUsersSyncJobRequest()
        Default constructor.
      • EntraIDUsersSyncJobRequest

        public EntraIDUsersSyncJobRequest​(List<String> jobId,
                                          boolean disable,
                                          boolean remove)
        Creates a specific request for users sync job.
        Parameters:
        jobId - the ID of the request.
        disable - true if the sync should also sync disabled users, or false otherwise
        remove - true if the sync should also sync removed users, or false otherwise
    • Method Detail

      • shouldDisable

        public boolean shouldDisable()
        Returns:
        true if disabled users from Entra ID should be synced, or false otherwise.
      • shouldRemove

        public boolean shouldRemove()
        Returns:
        true if removed users from Entra ID should be synced, or false otherwise.