Class ModelTypeService


  • public class ModelTypeService
    extends java.lang.Object
    Handler for model types
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelTypeService​(java.util.Set<org.activiti.cloud.modeling.api.ModelType> availableModelTypes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<org.activiti.cloud.modeling.api.ModelType> findModelTypeByFolderName​(java.lang.String folderName)  
      java.util.Optional<org.activiti.cloud.modeling.api.ModelType> findModelTypeByName​(java.lang.String name)  
      java.util.Collection<org.activiti.cloud.modeling.api.ModelType> getAvailableModelTypes()  
      org.springframework.data.domain.Page<org.activiti.cloud.modeling.api.ModelType> getModelTypeNames​(org.springframework.data.domain.Pageable pageable)  
      boolean isContentXML​(org.activiti.cloud.modeling.api.ModelType modelType)  
      boolean isJson​(org.activiti.cloud.modeling.api.ModelType modelType)  
      boolean isProcessContnent​(org.activiti.cloud.modeling.api.ModelType modelType)  
      • Methods inherited from class java.lang.Object

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

      • ModelTypeService

        @Autowired
        public ModelTypeService​(java.util.Set<org.activiti.cloud.modeling.api.ModelType> availableModelTypes)
    • Method Detail

      • findModelTypeByName

        public java.util.Optional<org.activiti.cloud.modeling.api.ModelType> findModelTypeByName​(java.lang.String name)
      • findModelTypeByFolderName

        public java.util.Optional<org.activiti.cloud.modeling.api.ModelType> findModelTypeByFolderName​(java.lang.String folderName)
      • getAvailableModelTypes

        public java.util.Collection<org.activiti.cloud.modeling.api.ModelType> getAvailableModelTypes()
      • getModelTypeNames

        public org.springframework.data.domain.Page<org.activiti.cloud.modeling.api.ModelType> getModelTypeNames​(org.springframework.data.domain.Pageable pageable)
      • isJson

        public boolean isJson​(org.activiti.cloud.modeling.api.ModelType modelType)
      • isContentXML

        public boolean isContentXML​(org.activiti.cloud.modeling.api.ModelType modelType)
      • isProcessContnent

        public boolean isProcessContnent​(org.activiti.cloud.modeling.api.ModelType modelType)