This function will close the given eaiws session. If the given session is equal to wbkApp.user.eaiwsSession
than EaiwsSession.session.loadEmptySession()
will be used instead to clear the session.
Optional
pForceClose: booleanIf true the session will be closed even if it is the user session.
Creates and initializes a new basket instance.
Session the basket should operate on.
Optional
pOptions: CreateBasketOptionsOptions for the created basket.
Creates and prepares a new eaiws session using the current application settings.
In case of a gatekeeper error a GatekeeperError
will be thrown.
Note: prepareEaiwsSession()
will be also called internally.
Optional
pOptions: CreateEaiwsSessionOptionsNormalizes the given set of user restrictions. E.g. if edit
is part of the set, all the other
editing restrictions will be added also to the set.
Resizes an image if it exeeds the maximum size. The original image will be returned in case it does not need to be resized.
Starts the download of the given file while preventing the window.beforeunload
event to be triggered.
Note: This is not guaranteed to work for cross domain urls (e.g. for PDFs). In this case the file will be opened in a new tab.
Optional
pDownloadFilename: stringUploads and resizes an image to an eaiws session while showing a progress. The url of the uploaded image will be returned.
null
will be returned if the upload was aborted by the user.
Only PNG and JPG images are supported.
Uploads a file to an eaiws session while showing a progress. The url of the uploaded file will be returned.
null
will be returned if the upload was aborted by the user.
Uploads the given file to the shared file storage and returns its download url (share link).
Generated using TypeDoc
If the price lists have changed this function should be called to clear the internal cache. see
getEaiwsPriceLists