Class ReindexUsersCmd

  • All Implemented Interfaces:
    org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>

    public class ReindexUsersCmd
    extends java.lang.Object
    implements org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
    Author:
    Joram Barrez
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String indexName  
      protected int pageSize  
      protected int start  
      protected java.lang.String userId  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReindexUsersCmd​(java.lang.String indexName, int start, int pageSize)  
      ReindexUsersCmd​(java.lang.String indexName, java.lang.String userId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Void execute​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)  
      protected void scheduleReindex​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, PlatformUser user)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • indexName

        protected java.lang.String indexName
      • userId

        protected java.lang.String userId
      • start

        protected int start
      • pageSize

        protected int pageSize
    • Constructor Detail

      • ReindexUsersCmd

        public ReindexUsersCmd​(java.lang.String indexName,
                               int start,
                               int pageSize)
      • ReindexUsersCmd

        public ReindexUsersCmd​(java.lang.String indexName,
                               java.lang.String userId)
    • Method Detail

      • execute

        public java.lang.Void execute​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
        Specified by:
        execute in interface org.flowable.common.engine.impl.interceptor.Command<java.lang.Void>
      • scheduleReindex

        protected void scheduleReindex​(org.flowable.common.engine.impl.interceptor.CommandContext commandContext,
                                       PlatformUser user)