Class: AifDocumentService
+
abstract
class
AifDocumentService
implements
AifCustomizableService
Summary
The AifDocumentService provides a basic implementation of a customizable entity service. This is a base class for all entity service classes.
Remarks
Services generated using the Axd wizard derive from the AifDocumentService. Derived classes can delegate basic entity operations to this class.
Show extending classes
BomBillsofMaterialsService
,
PaymPaymentTermsService
,
InventProfitLossJournalService
,
LedgerPurchaseInvoiceService
,
LedgerExchangeRatesService
,
LedgerDimensionsService
,
LedgerChartOfAccountsService
,
CustCustomerGroupsService
,
CustFreeTextInvoiceService
,
LedgerGeneralJournalService
,
ProdRouteCardService
,
PricePriceListService
,
InventInventLocationService
,
ProdProdPickingListService
,
AssetAssetLocationService
,
InventUnitConvertService
,
AssetAssetGroupService
,
CustCustomerService
,
InventUnitService
,
InventItemService
,
PurchPurchReqService
,
InventInventItemGroupService
,
SMAServiceAgreementService
,
InventInventDimCombinationService
,
SalesSalesInvoiceService
,
ReturnReturnOrderInService
,
ProdProjEInvoiceService
,
AssetFixedAssetService
,
SalesSalesPackingSlipService
,
AssetAssetConditionService
,
InventASNService
,
InventInventSizeService
,
LedgerCustPaymJournalService
,
InventCountingJournalService
,
TrvExpenseService
,
DirContactPersonsService
,
VendVendGroupService
,
VendVendTableService
,
SalesSalesEInvoiceService
,
LedgerVendorPaymentService
,
DirAddressService
,
PricePriceDiscJournalService
,
TrvTrvPBSMaindataService
,
InventInventoryOnHandService
,
ReturnReturnOrderOutService
,
AssetAssetMajorTypeService
,
InventInventoryTransactionsService
,
InventTransferJournalService
,
InventConfigTableService
,
InventDeliveryModesService
,
InventPickingListService
,
SMAServiceOrderService
,
ProjProjectHourJournalService
,
LedgerCashDiscService
,
InventInventColorService
,
SalesSalesOrderService
Show all method summaries
Constructor Method
+
protected
void
new
(
)
Public Instance Methods
+
public
AifConstraintListCollection
getConstraints
(
)
Summary
Get the constraints for the last operation.
Returns
The constraints for the last operation.
+
public
AifEntityKeyList
getCorrelationEntityKeys
(
)
Summary
Get the entity keys to correlate with the last message.
Returns
The entity keys to correlate with the last message.
+
public
MenuItemNameDisplay
getDisplayMenuItemName
(
AifOperationName
operationName
)
Summary
Get the menu item name of the configuration form.
Parameters
operationName
-
The name of the operation.
Returns
The menu item name for the configuration form.
+
public
void
setOperationContext
(
AifOperationContext
_operationContext
)
Summary
Sets the operation context for the next operation.
Parameters
_operationContext
-
An
instance with details of the next operation.
Remarks
This method will be called before each operation.
Protected Instance Methods
+
protected
AifEntityKeyList
createList
(
AifDocument
document
)
Summary
Create a list of entities and return a list of entity keys.
Parameters
document
-
A list of entities to create.
Returns
The entity keys of the created entities.
+
protected
void
deleteList
(
AifEntityKeyList
entityKeyList
,
AifDocument
document
)
Summary
Delete a list of entities
Parameters
entityKeyList
-
The entity keys of the entities to delete.
document
-
An instance of the document class.
+
protected
AifEntityKeyList
findKeyList
(
AifQueryCriteria
queryCriteria
,
AifDocument
document
)
Summary
Find entities matching a criteria.
Parameters
queryCriteria
-
The criteria to use for finding entities.
document
-
An instance of the document class.
Returns
The document keys of the matching entities.
+
protected
AifDocument
findList
(
AifQueryCriteria
queryCriteria
,
AifDocument
document
)
Summary
Find entities matching a criteria.
Parameters
queryCriteria
-
The criteria to use for finding entities.
document
-
An instance of the document class. Them matching entities will deserialized into this object.
Returns
AifDocument
+
protected
AifEndpointActionPolicyInfo
getEndpointActionPolicy
(
AifDocument
document
)
+
protected
AifOperationContext
getOperationContext
(
)
Summary
Return the current operation context.
Returns
The current operation context.
Remarks
This method can be used by derived classes to get the current operation context.
+
protected
AifPropertyBag
getSendParameters
(
)
Summary
Get the send parameters for a send call.
Returns
The property bag for the send call.
Remarks
This method can be used by derived classes to get the property bag for send calls.
+
protected
AifDocument
readList
(
AifEntityKeyList
entityKeyList
,
AifDocument
document
)
Summary
Read a list of entities.
Parameters
entityKeyList
-
The entity key list of the entities to read.
document
-
An instance of the document class. Them read entities will deserialized into this object.
Returns
AifDocument with read data
+
protected
void
setAifFaultContext
(
str
_operation
)
+
protected
void
updateList
(
AifEntityKeyList
entityKeyList
,
AifDocument
document
)
Summary
Update a list of entities.
Parameters
entityKeyList
-
The entity key list of the entities to update.
document
-
The list of entities to udpate.
Generated by AX Doc Generator v. 0.7.1 on 03 Mar 2009
AX Doc Generator is licensed under the
MIT License
. Dynamics AX is a registered trademark of Microsoft Corporation.