Interface EntityInvocation<R>
- Type Parameters:
R-
- All Known Subinterfaces:
EntityBulkUpdateInvocation,EntityCountInvocation,EntityDeleteAllInvocation,EntityDeleteInvocation,EntityInsertInvocation,EntityLoadInvocation,EntityLockByUserInvocation,EntityPurgeInvocation,EntityQueryInvocation,EntityRestoreInvocation,EntityUnlockByUserInvocation,EntityUpdateAllInvocation,EntityUpdateInvocation,EntityValidateInvocation
public interface EntityInvocation<R>
Entity操作の呼び出しを表すインタフェース。
proceed()呼び出しで、後続処理(次のInterceptor呼び出しor実際のEntity操作)を呼び出す。
- See Also:
EntityInterceptor
-
Method Summary
Modifier and Type Method Description java.lang.ObjectgetAttribute(java.lang.String name)一連のInterceptの間にsetAttribute()したオブジェクトを取得可能。java.util.Iterator<java.lang.String>getAttributeNames()一連のInterceptの間にsetAttribute()された属性名の取得。EntityDefinitiongetEntityDefinition()InvocationTypegetType()Entity操作の種類を判別可能。Rproceed()後続処理呼び出し。voidsetAttribute(java.lang.String name, java.lang.Object value)一連のInterceptの間、保持したいオブジェクトをセット可能。
-
Method Details
-
getEntityDefinition
EntityDefinition getEntityDefinition() -
proceed
R proceed()後続処理呼び出し。- Returns:
- 後続処理からのリターン値。
-
setAttribute
void setAttribute(java.lang.String name, java.lang.Object value)一連のInterceptの間、保持したいオブジェクトをセット可能。- Parameters:
name-value-
-
getAttribute
java.lang.Object getAttribute(java.lang.String name)一連のInterceptの間にsetAttribute()したオブジェクトを取得可能。- Parameters:
name-- Returns:
-
getAttributeNames
java.util.Iterator<java.lang.String> getAttributeNames()一連のInterceptの間にsetAttribute()された属性名の取得。- Returns:
-
getType
InvocationType getType()Entity操作の種類を判別可能。- Returns:
-