congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Start an intent from android
  • getContentResolver (Context)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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