當前位置: 首頁>>代碼示例>>Java>>正文


Java PreDeleteContext類代碼示例

本文整理匯總了Java中org.seasar.doma.jdbc.entity.PreDeleteContext的典型用法代碼示例。如果您正苦於以下問題:Java PreDeleteContext類的具體用法?Java PreDeleteContext怎麽用?Java PreDeleteContext使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


PreDeleteContext類屬於org.seasar.doma.jdbc.entity包,在下文中一共展示了PreDeleteContext類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: printPreDeleteMethod

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
protected void printPreDeleteMethod() {
    iprint("@SuppressWarnings({\"rawtypes\", \"unchecked\"})%n");
    iprint("@Override%n");
    iprint("public void preDelete(%1$s entity, %2$s<%1$s> context) {%n",
            entityMeta.getEntityTypeName(),
            PreDeleteContext.class.getName());
    printDeclareListener();
    iprint("    __listener.preDelete(entity, context);%n");
    iprint("}%n");
    print("%n");
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:12,代碼來源:EntityTypeGenerator.java

示例2: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(final Object entity, final PreDeleteContext<Object> context) {
    publisher.publishEvent(new DomaEvent(entity, context));
}
 
開發者ID:backpaper0,項目名稱:spring-boot-sandbox,代碼行數:5,代碼來源:DomaEventRelay.java

示例3: preDeleteFoo

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@HandlePreDelete
public void preDeleteFoo(final Foo entity, final PreDeleteContext<Foo> context) {
    log("preDelete Foo, Context");
}
 
開發者ID:backpaper0,項目名稱:spring-boot-sandbox,代碼行數:5,代碼來源:DemoApplication.java

示例4: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Emp entity, PreDeleteContext<Emp> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:4,代碼來源:_Emp.java

示例5: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Salesman entity, PreDeleteContext<Salesman> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:4,代碼來源:_Salesman.java

示例6: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Dept entity, PreDeleteContext<Dept> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:4,代碼來源:_Dept.java

示例7: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(IdGeneratedEmp entity,
        PreDeleteContext<IdGeneratedEmp> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:5,代碼來源:_IdGeneratedEmp.java

示例8: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(ImmutableEmp entity,
        PreDeleteContext<ImmutableEmp> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:5,代碼來源:_ImmutableEmp.java

示例9: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
public void preDelete(Emp entity, PreDeleteContext<Emp> context) {
    emp.preDelete(entity, context);
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:4,代碼來源:SqlFileUpdateQueryTest.java

示例10: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(String entity, PreDeleteContext<String> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:4,代碼來源:ListenerArgumentTypeIllegalEntityListener.java

示例11: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Parent3Entity entity,
        PreDeleteContext<Parent3Entity> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:5,代碼來源:_Parent3Entity.java

示例12: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(T entity, PreDeleteContext<T> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:4,代碼來源:GenericListener1.java

示例13: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(ParentEntity entity,
        PreDeleteContext<ParentEntity> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:5,代碼來源:_ParentEntity.java

示例14: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(OriginalStatesParentEntity entity,
        PreDeleteContext<OriginalStatesParentEntity> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:5,代碼來源:_OriginalStatesParentEntity.java

示例15: preDelete

import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(NoDefaultConstructorEntityListenerEntity entity,
        PreDeleteContext<NoDefaultConstructorEntityListenerEntity> context) {
}
 
開發者ID:domaframework,項目名稱:doma,代碼行數:5,代碼來源:NoDefaultConstructorEntityListener.java


注:本文中的org.seasar.doma.jdbc.entity.PreDeleteContext類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。