Annotation Interface AdminPresentationOperationTypes
- Author:
- Jeff Fischer
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionHow should the system execute an addition for this itemHow should the system execute a fetchOperationType values are generally ignored for inspect and should be defined as BASIC for consistency in most circumstances.How should the system execute a removal of this item.How should the system execute an update for this item
-
Element Details
-
addType
OperationType addTypeHow should the system execute an addition for this item
OperationType BASIC will result in the item being inserted
OperationType ADORNEDTARGETLIST will result in a adorned target entity being added (not either of the associated entities).
CrossSaleProductImpl is an example of an adorned target entity, since it adds additional fields around the target Product entity.
OperationType MAP will result in the item being added to the requisite map in the containing entity.- Returns:
- the type of the add operation
- Default:
- BASIC
-
updateType
OperationType updateTypeHow should the system execute an update for this item
OperationType BASIC will result in the item being updated based on it's primary key
OperationType ADORNEDTARGETLIST will result in a join structure entity being updated (not either of the associated entities).
CrossSaleProductImpl is an example of an adorned target entity, since it adds additional fields around the target Product entity.
OperationType MAP will result in the item being updated to the requisite map in the containing entity.- Returns:
- the type of the update operation
- Default:
- BASIC
-
removeType
OperationType removeTypeHow should the system execute a removal of this item.
OperationType BASIC will result in the item being removed based on its primary key
OperationType NONDESTRUCTIVEREMOVE will result in the item being removed from the containing list in the containing entity. This is useful when you don't want the item to actually be deleted, but simply removed from the parent collection.
OperationType ADORNEDTARGETLIST will result in a join structure being deleted (not either of the associated entities).
CrossSaleProductImpl is an example of an adorned target entity, since it adds additional fields around the target Product entity.
OperationType MAP will result in the item being removed from the requisite map in the containing entity.- Returns:
- the type of remove operation
- Default:
- BASIC
-
fetchType
OperationType fetchTypeHow should the system execute a fetch
OperationType BASIC will result in a search for items having one or more basic properties matches
OperationType ADORNEDTARGETLIST will result in search for target items that match the parent association in the adorned target entity.
CrossSaleProductImpl is an example of an adorned target entity, since it adds additional fields around the target Product entity.
OperationType MAP will result retrieval of all map entries for the requisite map in the containing entity.- Returns:
- the type of the fetch operation
- Default:
- BASIC
-
inspectType
OperationType inspectTypeOperationType values are generally ignored for inspect and should be defined as BASIC for consistency in most circumstances. This API is meant to support future persistence modules where specialized inspect phase management may be required.
- Returns:
- the type of the inspect operation
- Default:
- BASIC
-