| Modifier and Type | Class and Description |
|---|---|
class |
GenericFormService
Provide a generic service(s) that can act as a Form that performs the following in a standard manner:
Accept a HTTP POST form in application/x-www-form-urlencoded
The form fields are server entity field names
The service will then pass the
HttpServletRequest to the submit Transformer
The Submit transformer result will be wrapped in a Response object and sent back synchronously to the client
If there are any listeners they will be also invoked synchronously. |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionTypesAdmin.onChange(ChangeGenerator<Object[]> generator,
Object[] event) |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionTypesDetailsPanel<C extends Product>
Panel to display
PluralAttribute.CollectionType Details
Implements ChangeGenerator to notify listener promotionAdmin
Since this implements ChangeGenerator; it will also generate Events of TypeSave - new Object[]{ StandardOperation.#ADD, Product as Collection, AjaxRequestTarget}
Delete - new Object[]{StandardOperation.#DELETE, Product as Collection, AjaxRequestTarget}
On Save it will also call the Template.notifyAllListeners(Object) in TemplatePanel.getTemplate() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CommentService
Service for
Comment |
| Modifier and Type | Class and Description |
|---|---|
class |
CommentServiceImpl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HierarchyService<T extends IHierarchialReference>
Common service / DAO methods that are needed by Hierarchy implementations for Domain objects that
implement
IHierarchialReference
Since this implements ChangeGenerator; it will also generate Events of TypeEvent Type as String} Hierarchical Entity OR Id of the Entity as Long |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConfigurationService<K,T,C extends AbstractConfiguration>
Service level wrappers over
ConfigurationDao and in turn ConfigurationSource.Additional services like Authorization, Inherent Caching, event listeners on any setter methods etc
This implements ChangeGenerator and generates an event whenever ConfigurationDao.put(AbstractConfiguration) is called. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConfigurationService<C extends AbstractConfiguration>
ConfigurationService implementation that wrap the following services over base configuration fetching and setting configs via AbstractConfigurationJPADaoImpl:
Audit of changes
Cache eviction on change
Authorization service for AbstractAuthorizableConfigurations
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationSourceBackedSpringResource.onChange(ChangeGenerator changeGenerator,
AbstractConfiguration config) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContentDetailsPageForm<C extends AbstractContent<CA,CF>,CA extends AbstractContentAttribute,CF extends AbstractContentFacet>
A
Form to represent a C. |
| Modifier and Type | Class and Description |
|---|---|
static class |
siteManagerAdmin.SiteManagerContentTreePanel |
| Modifier and Type | Method and Description |
|---|---|
void |
siteManagerAdmin.SiteManagerContentTreePanel.onChange(ChangeGenerator<Void> changeGenerator,
Void modelObject) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContentAuthorSearchPanel<C extends Content>
Allow Search for content, and
ContentAuthorSearchPanel.notifyAllListeners(List) with search result , i.e List of ContentDescribers
Since this implements ChangeGenerator; it will also generate Events of TypeEntry<AjaxRequestTarget,List<C>>
TODO: Extend a TemplateSearchParams and See ProductListingPanel.addSearchpanel, to make the Search options more Dynamic / extendable
Looks for additional beans on Spring context: contentSearchFieldTypeMapping - Map of field category Name, to List of Strings, which map to entity fields |
class |
ContentManagerPanel
This panel defines operations on Categories, like:
Adding a new category
Moving a full category
Removing a category
Restricting a category
Renaming a category
Update category settings
Since this implements ChangeGenerator; it will also generate Events of TypePost Submit Actions - Void Type / null; just notify that there was a change |
class |
ContentTreePanel
A
ContentDescriber specific implementation for CategoryPanel |
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateDetailsPanel.onChange(ChangeGenerator<T> changeGenerator,
T modelObject)
On selecting a Template from the listing/tree
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractContentTemplate<T>
Template specific to CMS Content types |
class |
ContentTemplate<T>
Template specific to CMS Content types |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ContentService
Defines A content service provider
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContentServiceImpl
Deprecated.
@see
GenericHierarchyContentServiceImpl. In future this class is expected to inherit from GenericHierarchyContentServiceImpl |
class |
GenericHierarchyContentServiceImpl<C extends AbstractContent<CA,CF>,CA extends AbstractContentAttribute,CF extends AbstractContentFacet>
Generic services for
AbstractContent (which is a HierarchialDomainObject)00000
This class will also generate Event with are Object[] Since this implements ChangeGenerator; it will also generate Events of TypeObject[]{"save", content} Object[]{"new-content", content, sequence as Integer} Object[]{"publish", published-content, source-content, path as String} Object[]{"unpublish", content, published path as String} Object[]{"move", content, newParent, sequence as Integer, movedRelatedContent as Map <Status, C>}
Object[]{"update-content-status", String name, Locale locale, Status oldStatus, Status newStatus}
Object[]{"delete-subhierarchy", node as C}
Object[]{"after-delete", name}
Object[]{"save-facet", CF}
Object[]{"clones", original content, clones as List of Content}
|
| Modifier and Type | Class and Description |
|---|---|
class |
SubFolderViewPanel
A Panel to pick all folders for rootNode (specified param to
this#getDataList(File) or Default Model if param not specified). |
| Modifier and Type | Method and Description |
|---|---|
void |
DocumentManagerPanel.onChange(ChangeGenerator<File> changeGenerator,
File modelObject) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CartService<P extends Product,SESSION,REQUEST,USER>
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCartService<P extends Product,S,R,U extends User>
Basic implementation for
CartService uses SESSION. |
| Modifier and Type | Method and Description |
|---|---|
void |
CartUpdateStockChangeListener.onChange(ChangeGenerator<Object> cartService,
Object param) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServletCartService<P extends Product,S extends javax.servlet.http.HttpSession,U extends IGenericEcomUser>
Servlet implementation for
CartService
Since this implements ChangeGenerator; it will also generate Events of TypeOn Any change - Object[]{String cartType, Cart, sessionId as String, (optional) CartService method name}
On Any operation UPDATE/INSERT/REMOVE - Object[]{String cartType, Cart existingCart, Cart cartForOperation, sessionId as String, String operationName}
|
class |
WicketCartService<P extends Product,S extends EComSession<U>,U extends IGenericEcomUser>
Default implementation for
CartService uses EComSession (needs Apache Wicket)
Since this implements ChangeGenerator; it will also generate Events of TypeOn Any change - Object[]{String cartType, Cart, sessionId as String, (optional) CartService method name}
On Any operation UPDATE/INSERT/REMOVE - Object[]{String cartType, Cart existingCart, Cart cartForOperation, sessionId as String, String operationName}
|
| Modifier and Type | Method and Description |
|---|---|
void |
promotionAdmin.onChange(ChangeGenerator<Object[]> generator,
Object[] event) |
| Modifier and Type | Class and Description |
|---|---|
class |
PromotionDetailsPanel
Panel to display
Order Details
Implements ChangeGenerator to notify listener promotionAdmin
Since this implements ChangeGenerator; it will also generate Events of TypeSave - new Object[]{ StandardOperation.#ADD, Promotion, AjaxRequestTarget}
Delete - new Object[]{StandardOperation.#DELETE, Promotion, AjaxRequestTarget}
This panel allows synchronous feedback notification via the Template it depends on using event type SynchronousOperationChange |
| Modifier and Type | Method and Description |
|---|---|
void |
InvoiceChangeListener.onChange(ChangeGenerator<Object[]> generator,
Object[] event) |
void |
OrderItemProductChangeListener.onChange(ChangeGenerator generator,
Object[] event)
For UI, Single record based interactions
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
InvoiceService<O extends Order<I>,I extends OrderItem,INVOICE>
Generate Invoices from
Orders |
interface |
OrderService<O extends Order<? extends I>,I extends OrderItem>
Handle all requests related or
Order management
This class will also generate Events (See implementation for specifics) |
interface |
PromotionService<T extends Promotion>
Service layer for
Promotions and PromotionForUsers |
interface |
RelatedOrderService<O extends Order<I>,I extends OrderItem>
Additional Services for
RelatedOrder |
interface |
SubOrderService<O extends SubOrder<O,I>,I extends OrderItem>
Additional Services for
SubOrder |
interface |
TransactionRequestHandler<T extends Transaction,O extends Order>
A Service that will realize a
Transaction from an Order and also persist the Transaction
The service to implement this often will have to rely on Third party API depending on the Gateway needs and requirements. |
interface |
TransactionService<T extends Transaction<O>,O extends Order>
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractOnlineTransactionRequestHandler<T extends Transaction,O extends Order>
Implements some basic common
TransactionService aspects |
class |
DefaultOrderService<O extends Order<I>,I extends OrderItem>
Default
Order service
SENSITIVE SERVICE. |
class |
DefaultPromotionService<T extends Promotion>
Default impl for
PromotionService
This class will also generate Events of Type T or Object[]{I, causeSource as String} (after saving the Order)
Since this implements ChangeGenerator; it will also generate Events of TypeUpdate Promotion - new Object[]{ StandardOperation.#EDIT, Promotion}
Delete Promotion - new Object[]{StandardOperation.#DELETE, Promotion}
Update PromotionForUser - new Object[]{StandardOperation.#EDIT, PromotionForUser}
Delete PromotionForUser - new Object[]{StandardOperation.#DELETE, PromotionForUser}
Generate Coupons for Users - new Object[]{StandardOperation.#ADD, List of PromotionForUser, Object ...context}
Delete Coupons for Users - new Object[]{StandardOperation.#DELETE, List of PromotionForUser, Object ...context}
Notify Users - new Object[]{StandardOperation.#NOTIFY, List of PromotionForUser, Object ...context}
|
class |
DefaultSubOrderService<O extends SubOrder<O,I>,I extends OrderItem> |
class |
DefaultTransactionService<T extends Transaction<O>,O extends Order>
Default implementation for
TransactionService
Since this implements ChangeGenerator; it will also generate Events of Typesave - Transaction
|
class |
SpringTemplateInvoiceService<O extends Order<I>,I extends OrderItem,INVOICE>
A
TemplateInvoiceService for Spring Beans
The stateful Publisher is derived from the Spring Context. |
class |
TemplateInvoiceService<O extends Order<I>,I extends OrderItem,INVOICE>
Using a
Publisher publish an Invoice Format (Default @ HTML); where the Order is provided to the context with order + TemplateInvoiceService.processContext(Order, Map):
The order passed is expected to contain all the necessary details ready for Publishing/Printing to the invoice. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OnlinePayment<T extends Transaction,O extends Order>
Online payments
|
| Modifier and Type | Class and Description |
|---|---|
class |
StrategiesService<P extends Product,U extends IGenericEcomUser,CONTEXT>
THIS CLASS IS WICKET DEPENDENT AS IT INTERNALLY USES A WICKET
EComSession
Web Service Layer for accessing Strategies over a users Session (Guest or Logged in)
This can be used to compute things like Packaging costs, Tax, Shipping costs etc. |
| Modifier and Type | Method and Description |
|---|---|
void |
StrategiesService.onChange(ChangeGenerator changeGenerator,
Object context)
Allow Strategies that are
ChangeGenerators to modify the session via ContextualSession.setPartialContext(Object) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractUserLoginForm<S extends EComSession,R extends RegisteredUser<?>>
Generic User Login Form
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractChainChangeListener<T>
Execute a Chain of
ChangeListeners |
class |
AsynchronousChangeListener<T>
A wrapper
ChangeListener and Transformer that in turn executes other ChangeListeners, listening to it. |
class |
SynchronousChangeListener<T>
A wrapper
ChangeListener and Transformer that in turn executes other ChangeListeners, listening to it. |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowStatusChangeListenerWrapperTransformer.onChange(ChangeGenerator<SynchronousFlowStatusChange<T,List<Status>>> changeGenerator,
SynchronousFlowStatusChange<T,List<Status>> modelObject) |
void |
SynchronousChangeListener.onChange(ChangeGenerator<T> changeGenerator,
T modelObject) |
void |
AsynchronousChangeListener.onChange(ChangeGenerator<T> changeGenerator,
T modelObject) |
void |
ChangeListener.onChange(ChangeGenerator<T> changeGenerator,
T modelObject) |
void |
ChangeListenerWrapperTransformer.onChange(ChangeGenerator<T> changeGenerator,
T modelObject) |
abstract void |
AbstractChainChangeListener.onChange(ChangeGenerator<T> changeGenerator,
T modelObject) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLoginForm<T extends BasicSession,U extends User>
A simple Basic Auth type Sign In Form
Since this implements ChangeGenerator; it will also generate Events of TypeSuccess Login - AuthenticationToken
Failed Login - String userId
Critical Exception - Exception
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileToEntityLookup<T>
|
class |
FileToProductLookup<P extends Product>
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReaderProcess<IN,T>
A process for allowing
AbstractReaders to read in their own thread (non blocking UI) |
| Modifier and Type | Class and Description |
|---|---|
class |
NexmoRecordedCallDispatcher
BulkDispatcher to create a recorded voice call using Nexmo API. |
class |
NexmoTextToSpeechCallDispatcher
BulkDispatcher to create a text to speech call using Nexmo API. |
| Modifier and Type | Class and Description |
|---|---|
class |
PostsSearchPanel |
| Modifier and Type | Method and Description |
|---|---|
void |
PostListingPanel.onChange(ChangeGenerator<List<Post>> changeGenerator,
List<Post> externalListModelObject) |
| Modifier and Type | Class and Description |
|---|---|
class |
PostTemplate<T>
Further sub-classification of Template type for possible filteration usage.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
PostService
Service for Post
|
| Modifier and Type | Class and Description |
|---|---|
class |
PostServiceImpl |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductCategoryPanel
A Product specific implementation for
CategoryPanel |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductTemplate<REF>
Markup associated with
Products. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ProductService<T extends Product>
Added service methods over basic DAO ones
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProductServiceImpl<T extends Product>
Added service methods over basic DAO ones
This class will also generate Event with are Object[] Since this implements ChangeGenerator; it will also generate Events of TypeObject[]{"before-delete", Product} Object[]{"before-delete", id as Long} Object[]{"before-deletes", ids as List of Long} Object[]{"after-delete", Product} Object[]{"after-delete", id as Long} Object[]{"save", Product} Object[]{"new-product", product} Object[]{"save-attribute", ProductAttribute} Object[]{"move", Product node, Product parent, Integer sequence} Object[]{"before-delete-sub-hierarchy", category as Product} Object[]{"after-delete-sub-hierarchy", category as Product} Object[]{"make-space-parent-node", Product node, Product parent, Integer sequence} |
| Modifier and Type | Method and Description |
|---|---|
void |
SynchronousTokenChangeListener.onChange(ChangeGenerator<CE> changeGenerator,
CE e) |
protected abstract void |
SynchronousTokenChangeListener.onSynchChange(ChangeGenerator<CE> changeGenerator,
CE change)
To Override
|
protected void |
SynchronousTokenChangeEventSupplierBackedListener.onSynchChange(ChangeGenerator<TokenEvent<T>> changeGenerator,
TokenEvent<T> change) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultTokenChangeExecuteStrategyListener.onChange(ChangeGenerator<SupplierTokenEvent<T>> changeGenerator,
SupplierTokenEvent<T> tokenEvent) |
protected void |
DefaultTokenChangeExecuteStrategyListener.onSynchChange(ChangeGenerator<SupplierTokenEvent<T>> changeGenerator,
SupplierTokenEvent<T> change) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TokenDispatcher<T extends Token<T>,E extends SingleTokenEvent<T>>
|
interface |
TokenGenerator<T extends Token<T>,R extends TokenRequest,E extends TokenEvent<T>>
Token request agent facing facade that generates tokens based on a
TokenRequest.In some setups the TokenGenerator maybe on a different machine like a phone etc.The TokenGenerator may be the same or consult a TokenDispatcher. |
interface |
TokenManager<T extends Token<T>,S extends Shift<T>,E extends TokenEvent<T>>
Manages the life cycle of the
Token and the interactions with the receiving part.The TokenManager maybe same or different from a TokenDispatcher in the sense that the Dispatcher is a centralized control system
while the Manager is the local manager of the Q in a de-centralized system. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTokenChangeGenerator<T extends Token<T>,E extends TokenEvent<T>> |
class |
DefaultAbstractTokenContainerService<T extends Token<T>,C extends TokenContainer<T>>
Common methods for any form of Token Container Service like
TokenManager and BatchService
Since this implements ChangeGenerator; it will also generate Events of TypeBasicTokenEvent
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReporterInput
A Panel to display and consume the input parameter options for a
Reporter. |
| Modifier and Type | Method and Description |
|---|---|
void |
ReportResult.onChange(ChangeGenerator<Object[]> changeGenerator,
Object[] params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LogonChangeListener.onChange(ChangeGenerator generator,
String eventName,
U user) |
| Modifier and Type | Method and Description |
|---|---|
void |
HTMLPublisherListener.onChange(ChangeGenerator arg0,
Object[] event) |
| Modifier and Type | Class and Description |
|---|---|
class |
CategoryPanel<T>
A Panel to represent all the items in the hierarchy
Since this implements ChangeGenerator; it will also generate Events of TypeNode Selected - T |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorizableTemplate<REF>
A
Template that supports being Authorizable |
class |
CategoryTemplate<P,T extends Template<?>>
A Template that would render child components which are governed by their own
Template |
class |
Template<REF>
A Template is associated with markup HTML and an implementation class like Velocity, or Wicket
Components. |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityTemplate<REF>
Markup associated with generic Entities.
|
class |
TemplateSearchParams
Define a way to search entities (like product(s), content etc)
It will add a form of Search params input, with an Ajax button. |
| Modifier and Type | Class and Description |
|---|---|
class |
AdminLoginForm<T extends BasicSession>
A simple Basic Auth type Sign In Form
|
| Modifier and Type | Class and Description |
|---|---|
class |
UserServiceImpl<U extends User,R extends ResetPassword.ResetPasswordResponse>
Provide user with default common services around IDM and password management etc.
|
| Modifier and Type | Method and Description |
|---|---|
protected UserDao<U> |
LogonChangeListener.getDao(ChangeGenerator generator) |
void |
PasswordChangeListener.onChange(ChangeGenerator changeGenerator,
Object mo) |
void |
LogonChangeListener.onChange(ChangeGenerator generator,
Object[] event)
|
protected void |
LogonChangeListener.onChange(ChangeGenerator generator,
String eventName,
U user)
Override this method for any further customizations
By default simply passes on the AdminUser.getLastLogInDate() and AdminUser.getLastLogOutDate()
to the persisted entity. |
U |
AbstractSessionAuthService.signIn(Principal inputPrincipal,
ChangeGenerator<Object> changeGenerator)
Sign in a user
Since this method allows a ChangeGenerator; it will also generate Events of TypeSuccessful Login - BasicAuthenticationToken
Unsuccessful Login - userId as String
Exception - exception object as Exception
|
| Modifier and Type | Class and Description |
|---|---|
class |
WicketBasicSessionAuthService<U extends User,S extends BasicSession>
Default Web Service to handle Session based Auth.
|
Copyright © 2018. All rights reserved.