Tabnine Logo
GenericEntityService.deleteByPk
Code IndexAdd Tabnine to your IDE (free)

How to use
deleteByPk
method
in
org.hswebframework.web.service.GenericEntityService

Best Java code snippets using org.hswebframework.web.service.GenericEntityService.deleteByPk (Showing top 15 results out of 315)

origin: hs-web/hsweb-framework

  @Override
  public PermissionEntity deleteByPk(String id) {
    PermissionEntity old = super.deleteByPk(id);
    eventPublisher.publishEvent(new ClearUserAuthorizationCacheEvent(null, true));
    return old;
  }
}
origin: hs-web/hsweb-framework

@Override
@CacheEvict(key = "'conf-id:'+#id")
public OAuth2ServerConfigEntity deleteByPk(String id) {
  return super.deleteByPk(id);
}
origin: hs-web/hsweb-framework

  @Override
  public DictionaryEntity deleteByPk(String id) {
    eventPublisher.publishEvent(new ClearDictionaryCacheEvent(id));
    return super.deleteByPk(id);
  }
}
origin: hs-web/hsweb-framework

@Override
@CacheEvict(allEntries = true)
public E deleteByPk(PK pk) {
  return super.deleteByPk(pk);
}
origin: hs-web/hsweb-framework

@Override
@Caching(evict = {
    @CacheEvict(key = "'define-id:'+#result.processDefineId+'-'+#result.activityId", condition = "#result!=null"),
    @CacheEvict(key = "'define-key:'+#result.processDefineKey+'-'+#result.activityId", condition = "#result!=null")
})
public ActivityConfigEntity deleteByPk(String id) {
  return super.deleteByPk(id);
}
origin: hs-web/hsweb-framework

@Override
@CacheEvict(cacheNames = {CacheConstants.USER_AUTH_CACHE_NAME, CacheConstants.USER_MENU_CACHE_NAME}, allEntries = true)
public AuthorizationSettingEntity deleteByPk(String id) {
  Objects.requireNonNull(id, "id can not be null");
  authorizationSettingMenuService.deleteBySettingId(id);
  DefaultDSLDeleteService.createDelete(authorizationSettingDetailDao)
      .where(AuthorizationSettingDetailEntity.settingId, id).exec();
  return super.deleteByPk(id);
}
origin: hs-web/hsweb-framework

@Override
@Caching(
    evict = {
        @CacheEvict(key = "'id:'+#pk"),
        @CacheEvict(key = "'all'"),
        @CacheEvict(key = "'count'")
    }
)
public E deleteByPk(PK pk) {
  return super.deleteByPk(pk);
}
origin: hs-web/hsweb-framework

@Override
@Caching(
    evict = {
        @CacheEvict(key = "'form-columns:'+#id"),
        @CacheEvict(key = "'form_id:'+#id")
    })
public DynamicFormEntity deleteByPk(String id) {
  Objects.requireNonNull(id, "id can not be null");
  DefaultDSLDeleteService.createDelete(formColumnDao)
      .where(DynamicFormColumnEntity.formId, id)
      .exec();
  return super.deleteByPk(id);
}
origin: hs-web/hsweb-framework

@Override
@Caching(evict = {
    @CacheEvict(key = "'md5:'+#target.selectByPk(#id).md5"),
    @CacheEvict(key = "'id:'+#id"),
    @CacheEvict(key = "'id-or-md5:'+#id"),
    @CacheEvict(key = "'id-or-md5:'+#id")
})
public FileInfoEntity deleteByPk(String id) {
  return super.deleteByPk(id);
}
origin: org.hswebframework.web/hsweb-system-dictionary-local

  @Override
  public DictionaryEntity deleteByPk(String id) {
    eventPublisher.publishEvent(new ClearDictionaryCacheEvent(id));
    return super.deleteByPk(id);
  }
}
origin: org.hswebframework.web/hsweb-commons-service-simple

@Override
@CacheEvict(allEntries = true)
public E deleteByPk(PK pk) {
  return super.deleteByPk(pk);
}
origin: org.hswebframework.web/hsweb-system-workflow-local

@Override
@Caching(evict = {
    @CacheEvict(key = "'define-id:'+#result.processDefineId+'-'+#result.activityId", condition = "#result!=null"),
    @CacheEvict(key = "'define-key:'+#result.processDefineKey+'-'+#result.activityId", condition = "#result!=null")
})
public ActivityConfigEntity deleteByPk(String id) {
  return super.deleteByPk(id);
}
origin: org.hswebframework.web/hsweb-commons-service-simple

@Override
@Caching(
    evict = {
        @CacheEvict(key = "'id:'+#pk"),
        @CacheEvict(key = "'all'"),
        @CacheEvict(key = "'count'")
    }
)
public E deleteByPk(PK pk) {
  return super.deleteByPk(pk);
}
origin: org.hswebframework.web/hsweb-system-dynamic-form-local

@Override
@Caching(
    evict = {
        @CacheEvict(key = "'form-columns:'+#id"),
        @CacheEvict(key = "'form_id:'+#id")
    })
public DynamicFormEntity deleteByPk(String id) {
  Objects.requireNonNull(id, "id can not be null");
  DefaultDSLDeleteService.createDelete(formColumnDao)
      .where(DynamicFormColumnEntity.formId, id)
      .exec();
  return super.deleteByPk(id);
}
origin: org.hswebframework.web/hsweb-system-file-local

@Override
@Caching(evict = {
    @CacheEvict(key = "'md5:'+#target.selectByPk(#id).md5"),
    @CacheEvict(key = "'id:'+#id"),
    @CacheEvict(key = "'id-or-md5:'+#id"),
    @CacheEvict(key = "'id-or-md5:'+#id")
})
public FileInfoEntity deleteByPk(String id) {
  return super.deleteByPk(id);
}
org.hswebframework.web.serviceGenericEntityServicedeleteByPk

Popular methods of GenericEntityService

  • updateByPk
  • insert
  • saveOrUpdate
  • selectByPk
  • count
  • createQuery
  • createUpdate
  • dataExisted
  • getDao
  • getEntityInstanceType
  • getIDGenerator
    获取ID生成器,在insert的时候,如果ID为空,则调用生成器进行生成
  • select
  • getIDGenerator,
  • select,
  • tryValidate,
  • tryValidateProperty

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JComboBox (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now