本文整理匯總了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");
}
示例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));
}
示例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");
}
示例4: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Emp entity, PreDeleteContext<Emp> context) {
}
示例5: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Salesman entity, PreDeleteContext<Salesman> context) {
}
示例6: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Dept entity, PreDeleteContext<Dept> context) {
}
示例7: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(IdGeneratedEmp entity,
PreDeleteContext<IdGeneratedEmp> context) {
}
示例8: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(ImmutableEmp entity,
PreDeleteContext<ImmutableEmp> context) {
}
示例9: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
public void preDelete(Emp entity, PreDeleteContext<Emp> context) {
emp.preDelete(entity, context);
}
示例10: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(String entity, PreDeleteContext<String> context) {
}
示例11: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(Parent3Entity entity,
PreDeleteContext<Parent3Entity> context) {
}
示例12: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(T entity, PreDeleteContext<T> context) {
}
示例13: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(ParentEntity entity,
PreDeleteContext<ParentEntity> context) {
}
示例14: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(OriginalStatesParentEntity entity,
PreDeleteContext<OriginalStatesParentEntity> context) {
}
示例15: preDelete
import org.seasar.doma.jdbc.entity.PreDeleteContext; //導入依賴的package包/類
@Override
public void preDelete(NoDefaultConstructorEntityListenerEntity entity,
PreDeleteContext<NoDefaultConstructorEntityListenerEntity> context) {
}