Class ModelQueryImpl

    • Field Detail

      • id

        protected java.lang.String id
      • category

        protected java.lang.String category
      • categoryLike

        protected java.lang.String categoryLike
      • categoryNotEquals

        protected java.lang.String categoryNotEquals
      • name

        protected java.lang.String name
      • nameLike

        protected java.lang.String nameLike
      • key

        protected java.lang.String key
      • version

        protected java.lang.Integer version
      • latest

        protected boolean latest
      • deploymentId

        protected java.lang.String deploymentId
      • notDeployed

        protected boolean notDeployed
      • deployed

        protected boolean deployed
      • tenantId

        protected java.lang.String tenantId
      • tenantIdLike

        protected java.lang.String tenantIdLike
      • withoutTenantId

        protected boolean withoutTenantId
    • Constructor Detail

      • ModelQueryImpl

        public ModelQueryImpl()
      • ModelQueryImpl

        public ModelQueryImpl​(CommandContext commandContext)
      • ModelQueryImpl

        public ModelQueryImpl​(CommandExecutor commandExecutor)
    • Method Detail

      • modelCategoryLike

        public ModelQueryImpl modelCategoryLike​(java.lang.String categoryLike)
        Description copied from interface: ModelQuery
        Only select models where the category matches the given parameter. The syntax that should be used is the same as in SQL, eg. %activiti%
        Specified by:
        modelCategoryLike in interface ModelQuery
      • modelCategoryNotEquals

        public ModelQueryImpl modelCategoryNotEquals​(java.lang.String categoryNotEquals)
        Description copied from interface: ModelQuery
        Only select models that have a different category then the given one.
        Specified by:
        modelCategoryNotEquals in interface ModelQuery
      • modelNameLike

        public ModelQueryImpl modelNameLike​(java.lang.String nameLike)
        Description copied from interface: ModelQuery
        Only select models where the name matches the given parameter. The syntax that should be used is the same as in SQL, eg. %activiti%
        Specified by:
        modelNameLike in interface ModelQuery
      • modelKey

        public ModelQuery modelKey​(java.lang.String key)
        Description copied from interface: ModelQuery
        Only selects models with the given key.
        Specified by:
        modelKey in interface ModelQuery
      • latestVersion

        public ModelQuery latestVersion()
        Description copied from interface: ModelQuery
        Only select models which has the highest version. Note: if modelKey(key) is not used in this query, all the models with the highest version for each key will be returned (similar to process definitions)
        Specified by:
        latestVersion in interface ModelQuery
      • deploymentId

        public ModelQuery deploymentId​(java.lang.String deploymentId)
        Description copied from interface: ModelQuery
        Only select models that are the source for the provided deployment
        Specified by:
        deploymentId in interface ModelQuery
      • deployed

        public ModelQuery deployed()
        Description copied from interface: ModelQuery
        Only select models that are deployed (ie deploymentId != null)
        Specified by:
        deployed in interface ModelQuery
      • modelTenantId

        public ModelQuery modelTenantId​(java.lang.String tenantId)
        Description copied from interface: ModelQuery
        Only select models that have the given tenant id.
        Specified by:
        modelTenantId in interface ModelQuery
      • modelTenantIdLike

        public ModelQuery modelTenantIdLike​(java.lang.String tenantIdLike)
        Description copied from interface: ModelQuery
        Only select models with a tenant id like the given one.
        Specified by:
        modelTenantIdLike in interface ModelQuery
      • getId

        public java.lang.String getId()
      • getName

        public java.lang.String getName()
      • getNameLike

        public java.lang.String getNameLike()
      • getVersion

        public java.lang.Integer getVersion()
      • getCategory

        public java.lang.String getCategory()
      • getCategoryLike

        public java.lang.String getCategoryLike()
      • getCategoryNotEquals

        public java.lang.String getCategoryNotEquals()
      • getSerialversionuid

        public static long getSerialversionuid()
      • getKey

        public java.lang.String getKey()
      • isLatest

        public boolean isLatest()
      • getDeploymentId

        public java.lang.String getDeploymentId()
      • isNotDeployed

        public boolean isNotDeployed()
      • isDeployed

        public boolean isDeployed()
      • getTenantId

        public java.lang.String getTenantId()
      • getTenantIdLike

        public java.lang.String getTenantIdLike()
      • isWithoutTenantId

        public boolean isWithoutTenantId()