def _get(self, _app_uuid, _group_uuid):
        _redis = self.application.redis
        _key = OrgGroup.__tablename__ + ".app_uuid." + _app_uuid
        _is = _redis.sismember(_key, _group_uuid)
        if _is != True:
            self.setErrorCode(API_ERR.NO_ORG_GROUP)
            return

        _row = OrgGroup(uuid=_group_uuid)
        _row.async_delete(_redis)
        _row.delete_redis_keys(_redis)
        return
    def _remove(self, _app_uuid, _group_uuid):
        _redis = self.application.redis
        _key = OrgGroup.__tablename__ + ".app_uuid." + _app_uuid
        _is = _redis.sismember(_key, _group_uuid)
        
        if _is != True:
            logging.error("group: %s not belong to app_uuid: %s" % (_group_uuid, _app_uuid))
            return

        _row = OrgGroup(uuid=_group_uuid)
        _row.async_delete(_redis)
        _row.delete_redis_keys(_redis)
        return
    def _get(self, _app_uuid, _group_uuid):
        _redis = self.application.redis
        _key = OrgGroup.__tablename__ + \
               ".app_uuid." + _app_uuid
        _is = _redis.sismember(_key, _group_uuid)
        if _is != True:
            self.setErrorCode(API_ERR.NO_ORG_GROUP)
            return

        _row = OrgGroup(uuid=_group_uuid)
        _row.async_delete(_redis)
        _row.delete_redis_keys(_redis)
        return
    def _remove(self, _app_uuid, _group_uuid):
        _redis = self.application.redis
        _key = OrgGroup.__tablename__ + ".app_uuid." + _app_uuid
        _is = _redis.sismember(_key, _group_uuid)

        if _is != True:
            logging.error("group: %s not belong to app_uuid: %s" %
                          (_group_uuid, _app_uuid))
            return

        _row = OrgGroup(uuid=_group_uuid)
        _row.async_delete(_redis)
        _row.delete_redis_keys(_redis)
        return