类 DictComponent

    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void AfterDictObjSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore wrap, top.daxian1218.dust.db.dict.DictObj obj)  
      void AfterDictObjSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore menuStore, top.daxian1218.dust.db.dict.DictObj obj)  
      void AfterSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore dict)  
      void AfterSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore dict)  
      boolean BeforeDictObjSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore dict, top.daxian1218.dust.db.dict.DictObj obj)  
      boolean BeforeDictObjSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore menuStore, top.daxian1218.dust.db.dict.DictObj obj)  
      boolean BeforeSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore dict)  
      boolean BeforeSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore menuStore)  
      protected void bindMasterDetail​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore store, top.daxian1218.dust.db.dict.DictObj obj, java.lang.Boolean query)
      绑定主从关系,暂时只支持一主多从关系。
      java.lang.Object DoActionAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, java.lang.String actionCode, MenuStore input)  
      void ExportData​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore dict, java.util.List<top.daxian1218.dust.db.dict.DictObj> obj)  
      protected com.alibaba.fastjson.JSONObject getConditionInput​(top.daxian1218.dust.db.dict.DictObj dictObj)
      获取固定条件的录入
      假设字段为col, 则json的key映射为
      )col -> col大于 (col -> col小于 ]col -> col大于等于 [col -> col小于等于 #col -> col等于null或者不等于null,取决于value是true(不等于null),还是false(等于null) =col -> col等于 !
      protected top.daxian1218.dust.service.security.DustUser getCurrentUser()  
      protected java.lang.String[] getRoles()  
      protected java.lang.String getSqlWhere​(top.daxian1218.dust.db.base.IDataAdapter adapter, top.daxian1218.dust.db.dict.DictObj dictObj)  
      top.daxian1218.dust.db.dict.condition.DictCondition GetUserCondition​(top.daxian1218.dust.db.base.IDataAdapter adapter, top.daxian1218.dust.db.dict.DictObj obj, java.lang.String columnName, java.lang.String columnValue)  
      void HandleDataRightAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, top.daxian1218.dust.db.dict.DictObj obj)  
      void ImportData​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore dict, java.util.List<top.daxian1218.dust.db.dict.DictObj> obj)  
      java.util.List<top.daxian1218.dust.db.dict.DictObj> Save​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore store)
      保存
      java.util.List<top.daxian1218.dust.db.dict.DictObj> SearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore store)  
      protected void SearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore store, top.daxian1218.dust.db.dict.DictObj obj)  
      void updateRelationKeys​(top.daxian1218.dust.db.base.IDataAdapter adapter, MenuStore store, top.daxian1218.dust.db.dict.DictObj obj)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • DictComponent

        public DictComponent()
    • 方法详细资料

      • getCurrentUser

        protected top.daxian1218.dust.service.security.DustUser getCurrentUser()
      • getRoles

        protected java.lang.String[] getRoles()
      • BeforeSaveAsync

        public boolean BeforeSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                       MenuStore dict)
        指定者:
        BeforeSaveAsync 在接口中 IBiz
      • ImportData

        public void ImportData​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                               MenuStore dict,
                               java.util.List<top.daxian1218.dust.db.dict.DictObj> obj)
        指定者:
        ImportData 在接口中 IBiz
      • ExportData

        public void ExportData​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                               MenuStore dict,
                               java.util.List<top.daxian1218.dust.db.dict.DictObj> obj)
        指定者:
        ExportData 在接口中 IBiz
      • BeforeDictObjSaveAsync

        public boolean BeforeDictObjSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                              MenuStore dict,
                                              top.daxian1218.dust.db.dict.DictObj obj)
        指定者:
        BeforeDictObjSaveAsync 在接口中 IBiz
      • Save

        public java.util.List<top.daxian1218.dust.db.dict.DictObj> Save​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                                                        MenuStore store)
        从接口复制的说明: IBiz
        保存
        指定者:
        Save 在接口中 IBiz
        返回:
      • AfterDictObjSaveAsync

        public void AfterDictObjSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                          MenuStore wrap,
                                          top.daxian1218.dust.db.dict.DictObj obj)
        指定者:
        AfterDictObjSaveAsync 在接口中 IBiz
      • AfterSaveAsync

        public void AfterSaveAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                   MenuStore dict)
        指定者:
        AfterSaveAsync 在接口中 IBiz
      • BeforeDictObjSearchAsync

        public boolean BeforeDictObjSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                                MenuStore menuStore,
                                                top.daxian1218.dust.db.dict.DictObj obj)
        指定者:
        BeforeDictObjSearchAsync 在接口中 IBiz
      • BeforeSearchAsync

        public boolean BeforeSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                         MenuStore menuStore)
        指定者:
        BeforeSearchAsync 在接口中 IBiz
      • SearchAsync

        public java.util.List<top.daxian1218.dust.db.dict.DictObj> SearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                                                               MenuStore store)
        指定者:
        SearchAsync 在接口中 IBiz
      • SearchAsync

        protected void SearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                   MenuStore store,
                                   top.daxian1218.dust.db.dict.DictObj obj)
      • bindMasterDetail

        protected void bindMasterDetail​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                        MenuStore store,
                                        top.daxian1218.dust.db.dict.DictObj obj,
                                        java.lang.Boolean query)
        绑定主从关系,暂时只支持一主多从关系。
      • updateRelationKeys

        public void updateRelationKeys​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                       MenuStore store,
                                       top.daxian1218.dust.db.dict.DictObj obj)
      • AfterDictObjSearchAsync

        public void AfterDictObjSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                            MenuStore menuStore,
                                            top.daxian1218.dust.db.dict.DictObj obj)
        指定者:
        AfterDictObjSearchAsync 在接口中 IBiz
      • AfterSearchAsync

        public void AfterSearchAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                     MenuStore dict)
        指定者:
        AfterSearchAsync 在接口中 IBiz
      • HandleDataRightAsync

        public void HandleDataRightAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                         top.daxian1218.dust.db.dict.DictObj obj)
        指定者:
        HandleDataRightAsync 在接口中 IBiz
      • GetUserCondition

        public top.daxian1218.dust.db.dict.condition.DictCondition GetUserCondition​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                                                                    top.daxian1218.dust.db.dict.DictObj obj,
                                                                                    java.lang.String columnName,
                                                                                    java.lang.String columnValue)
        指定者:
        GetUserCondition 在接口中 IBiz
      • DoActionAsync

        public java.lang.Object DoActionAsync​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                              java.lang.String actionCode,
                                              MenuStore input)
        指定者:
        DoActionAsync 在接口中 IBiz
      • getSqlWhere

        protected java.lang.String getSqlWhere​(top.daxian1218.dust.db.base.IDataAdapter adapter,
                                               top.daxian1218.dust.db.dict.DictObj dictObj)
      • getConditionInput

        protected com.alibaba.fastjson.JSONObject getConditionInput​(top.daxian1218.dust.db.dict.DictObj dictObj)
        获取固定条件的录入
        假设字段为col, 则json的key映射为
        • )col -> col大于
        • (col -> col小于
        • ]col -> col大于等于
        • [col -> col小于等于
        • #col -> col等于null或者不等于null,取决于value是true(不等于null),还是false(等于null)
        • =col -> col等于
        • !col -> col不等于
        • %col -> col包含
        • ^col -> col头部匹配
        • $col -> col尾部匹配
        • @col -> col在列表内,value以逗号隔开
        参数:
        dictObj -
        返回: