Title: AddTransactionToStatus
Description: Adds a transaction to UserStatus and/or ObjectStatus
The transaction to be added is found in the TransactionContext under the key given by
the "transactionKey" parameter.
Title: AdjustProfileValues
Description: This Process retrieves the Profile stored in the TransactionContext under
TransactionContext.PROFILE (usually by GetProfile) and adjusts some of its values to the calculated ones,
that may not be present in the Profile.
Advance the number of days given by the advance parameter, starting from the
start date and considering the library skipDays or not as indicated by the
considerSkipDays parameter.
Title: EngineResult
Description: General utility class to construct Engine Result elements according to the
"http://kalio.net/empweb/schema/engineresult/v1" namespace.
Title: ExtractObjectCategory
Description: Extracts the objectCategory from the object's Empweb holdingsInfo and stores the
value in the TransactionContext under the well-known key "objectCategory".
Title: GetCurrentTransactionIds
Description: Gets the transaction id's of all the current transactions, separated by type
of transaction, and stores them in the TransactionContext under the keys:
currentIdsLoans
currentIdsLateLoans (crude checking, for return date before now)
currentIdsWaits
currentIdsReservations
currentIdsSuspensions
currentIdsFines
recognized parameters:
useOperatorLocation: filter search to operatorLocation obtained from transactionExtras
sortExtrasKey: The transaction extras key that indicates the sort order to be used
BBBBBBBBBBB UNIMPLEMENTED?
When a Transaction Pipeline Process calls this method on its TransactionContext, it gets a Map of
the default limits and their values that were passed to the Process from the Transaction Pipeline.
If the key is associated to a DOM Node object, this method returns the associated JXPathContext
that was created by the previous put(Object, org.w3c.dom.Node).
Title: GetObjectStatus
Description: It gets the ObjectStatus object from the EmpwebDB implementation and stores it in the
TransactionContext under the TransactionContext.OBJECT_STATUS key ("objectStatus").
Title: GetProfile
Description: This Process obtains a Profile from the active Policy and stores it in the
TransactionContext under the well-known name TransactionContext.PROFILE ("profile").
It gets the Reservation from the UserStatus databases, and stores it in
the TransactionContext under the key specified by the "reservationKey"
parameter.
Gets the sort xpath string used for sorting when this object is used as a filter expression
The first character may be a + or - sign indicating ascending or descending order.
Title: GetSuspension
Description: It gets the Suspension from the Empweb DB, and stores in the TransactionContext under the
key given in the suspensionKey parameter.
Title: GetTransactionsById
Description: It reads a comma-separated list of transaction id's and returns the java.util.List of
corresponding EwdbTransactionObject's.
Title: GetUserStatus
Description: It gets a UserStatus object from the EmpwebDB implementation and stores it in the
TransactionContext under the TransactionContext.USER_STATUS key ("userStatus").
Title: GetUserStatusIds
Description: It gets a UserStatusList from the EmpwebDB implementation and stores it in the
TransactionContext under the TransactionContext.USER_STATUS_LIST key ("userStatusIds").
Title: GetUserStatusList
Description: It gets a UserStatusList from the EmpwebDB implementation and stores it in the
TransactionContext under the TransactionContext.USER_STATUS_LIST key ("userStatusList").
Title: GroovyInterpreter
Description: Interprets a Groovy script
When used in a transaction pipeline definition, this Process interprets a Groovy
script passed as a a parameter named "script".
Title: RemoveTransactionFromStatus
Description: Removes a transaction from UserStatus and/or ObjectStatus
The transaction to be removed is found in the TransactionContext under the key given by
the "transactionKey" parameter.
Title: ReturnTransactionResults
Description: This Process takes a parameter listing TransactionContext keys and returns the
found objects, as XML, inside the ProcessResult <result> section.
Sets the sort xpath string used for sorting when this object is used as a filter expression
The first character may be a + or - sign indicating ascending or descending order.
Returns an XML String view of this object, as defined in the processResult element of
http://kalio.net/empweb/schema/transactionresult/v1/empweb-transactionresult-1-0.xsd
Title: TransactionContext
Description: The transaction context is an object that carries environment and "session" information
for a transaction Process.
Title: TransactionPipeline
Description: Receives a DOM element describing a transaction according to the following
schema: (BBB poner el url al schema definition)
Copyright: Copyright (c) 2004
Company: Kalio
Title: UpdateDb
Description: It takes EwdbTransactionObject's from the TransactionContext and saves the
information in the transaction log using EmpwebDB.logTransaction(EwdbTransactionObject transaction, EwdbConnectionObject co).
UpdateDb() -
Constructor for class net.kalio.empweb.engine.rules.UpdateDb
This Process will validate the transaction (Loan or Reservation) being performed, so that
at all times the scheduled remaining copies of an object are within the Profile's limits,
or what is physically possible (i.e., there can't be less than zero copies at any time!).
Title: WSBroker
Description: This class has two purposes: It is the configuration initializer for the engine, providing
the implementation for the EngineInit web service.