Wednesday, 18 December 2013

What is controller command and task command in WCS?































Controller Command is the command that gets called upon a request, just like We have actions in struts and controller in Spring. Task is a step in this bigger process. Task command are the commands that perform specific task for a controller command, like service classes in other frameworks. In order to complete the request, a controller command may invoke multiple task commands.

In an MVC architecture perspective when a request is submitted the controller command is invoked and controller command may invoke multiple task commands for the execution of a specific service.


HOME

Wednesday, 16 October 2013

Parenting Skills



HOME


Parenting
“Child is the father of a man “these lines by William Wordsworth tells us the significance of parenting. Here are some important points we should keep in mind to improve the parenting skills.
1. Respect your child
Respect your children and yourself and positive discipline is an outcome of mutual respect.
2. Love them unconditionally
The greatest thing that you can give to your kids is the gift of unconditional love and acceptance. Love is all about what we give not what we get. Practice doing something for your kids each day with love alone.
3. Don’t compare your children to others
Each child is unique. The point, of course, is to understand and grow your kids for who they are, not who you can compare them to. There is only one comparison that is actually important – and that’s comparing a child to who they were before.
4. Life is a great teacher
Don’t be too quick to save your child from the results of their own actions if the consequences are not severe. Let the divine teacher to teach your child whenever it is needed. It is easier to build strong children than to repair broken men.
5. Be a role model
Children have never been very good at listening to their elders, but they have never failed to imitate them. The best teachers of humanity are the lives of great men. You are in charge of your feelings, beliefs, and actions. And you teach others how to behave toward you.  While you cannot change other people, you can influence them through your own behaviours and actions.  By being a living
role model of what you want to receive from others, you create more of what you want in your life.

6.Be assertive
An assertive parent is neither authoritative nor permissive. She stands up for her children's rights, but she does not condone wrong-doing. She listens to her child's side of the story, but is not afraid to point out errors in the child's reasoning.
7. Teach your children that it is okay for them to be different
“Try to give my son the strength not to follow the crowd when everyone is getting on the band wagon. Teach him to have faith in his own ideas even if everyone tells him they are wrong.”These are the lines from the Lincoln’s letter to his son’s teacher.
8.Your child is not an extension of yourself
If you living out your own dreams through your child then it is dangerous , your child is unique and not an extension of yourself. If you're placing undue pressure on your child to achieve your unfulfilled hopes, it should be frustrating for the kid.
9.Avoid public humiliation
If they misbehave in public, take them aside, and scold them privately.
10.Control your temper
Anger is a normal and even healthy emotion — but it's important to deal with it in a positive way. Uncontrolled anger can take a toll on both your health and your relationships.
11.Give up your vices
Gambling, alcohol and drugs can jeopardize your child's financial security. Smoking, for example, almost always introduces health hazards to your child's environment.
12.Listen to your child
Listening to your child's perspective will teach you a lot. Kids are smarter than most grown-ups think, and they generally know what they need. Listen to your kids, and they will teach you how to raise them. 13.Walk the Talk
From how you handle stress to how you celebrate success to how you greet a neighbor on the street, your baby is observing you and finding out how to respond in various situations."
14.Let your child make mistakes.
As parents our first inclination is to rush in and save our children when something goes wrong in their lives, or to shield them and prevent whatever the “bad” thing is from happening in the first place. Sadly, we all learn better through making our own mistakes
15.Don’t clip your child’s wings
As a parent one of the hardest things to do is watch your child make mistakes. While you may want your child to benefit from your mistakes, the greatest and most appreciated lessons are those personally learned. This can be one of our greatest parenting challenges, deciding when to step in and when to let your child experience their own mistakes.
17.Don’t try to fix everything
Give young kids a chance to find their own solutions. When you lovingly acknowledge a child's minor frustrations without immediately rushing in to save her, you teach her self-reliance and resilience.
18.Discipline is not a punishment
Enforcing limits is really about teaching kids how to behave in the world and helping them to become competent, caring, and in control.
19.Pick your battles
Avoid  arguing about little stuff and Focus on the things that really matter.
20.Create Family rituals
Family rituals passed down from generation to generation that help shape your family by creating a sense of unity, warmth and closeness. They create memories that fill your mind with peace, love, happiness, and security
21.Encourage exploration
A young child’s opinion about her capabilities is, to a large extent, based on her parent’s or caregiver’s response to her. As an adult, your role in fostering independence is to provide love and support, encourage exploration and curiosity, teach skills, and allow the child to make appropriate choices. Your enthusiasm for a child’s exploration sends a message that these activities are valued by you.
22.Teach emotional Intelligence
when you help your child understand and handle overwhelming feelings such as anger, frustration, or confusion, you develop his emotional intelligence quotient, or emotional IQ.
23.Read together
Reading aloud with children is known to be the single most important activity for building the knowledge and skills they will eventually require for learning to read. Read with your kids every day, and watch them blossom.
24.Give yourself a break
Recharge, give yourself a break  when it is needed.
Health is the greatest possession. Contentment is the greatest treasure. Confidence is the greatest friend
25.  when you make a mistake, apologize to your child 
A man must be big enough to admit his mistakes, smart enough to profit from them, and strong enough to correct them.





Thursday, 10 October 2013

Life Lessons

HOME




We live in a time-pressured society, especially at work. The boss says 'I need this now,' or 'I need it yesterday'. Too often such comments arise from lack of forethought or planning but they do illustrate the point - so many people feel that they have too much to do and too little time in which to do it all. So little time, in fact, that they have no time for time management.

This article helps you understand how to prioritise things on your to do list. This will help you learn to prioritise things more than you can already.


Please read this small story

A philosophy professor stood before his class with some items on the table in front of him. When the class began, wordlessly he picked up a very large and empty mayonnaise jar and proceeded to fill it with rocks, about 2 inches in diameter.
He then asked the students if the jar was full. They agreed that it was.
So the professor then picked up a box of pebbles and poured them into the jar. He shook the jar lightly. The pebbles, of course, rolled into the open areas between the rocks.
He then asked the students again if the jar was full. They agreed it was.
The professor picked up a box of sand and poured it into the jar. Of course, the sand filled up the remaining open areas of the jar.
He then asked once more if the jar was full. The students responded with a unanimous “Yes.”
“Now,” said the professor, “I want you to recognize that this jar represents your life. The rocks are the important things – your family, your partner, your health, your children – things that if everything else was lost and only they remained, your life would still be full. The pebbles are the other things that matter – like your job, your house, your car. The sand is everything else, the small stuff.”
“If you put the sand into the jar first,” he continued, “there is no room for the pebbles or the rocks. The same goes for your life. If you spend all your time and energy on the small stuff, you will never have room for the things that are important to you. Pay attention to the things that are critical to your happiness. Play with your children. Take your partner out dancing. There will always be time to go to work, clean the house, give a dinner party, or fix the disposal.”
“Take care of the rocks first – the things that really matter. Set your priorities. The rest is just sand.”

Thursday, 15 August 2013

Promotions in WCS

www.tattvamasigroup.com
https://www.youtube.com/channel/UC4Eu5FMElRqUVZX7g8QV3iA

HOME



Promotions allow you to offer customers incentives to purchase. WebSphere Commerce supports numerous types of promotions such as price promotions, including simple discounts, and merchandise specials such as gifts with purchase, and buy one, get one; service promotions, which currently provide reduced shipping costs; and coupon promotions which mimic paper coupons you might find in your local newspaper. Promotions are created and managed using the Promotions tool in the WebSphere Commerce Accelerator. If your store has enabled workspaces, promotions may be managed using workspaces and inherit the benefits from that feature. Once created, the promotions must be deployed to the production server before they are available to customers.
Promotions can be associated with your marketing campaigns so that they are factored in to any statistics gathered for the campaign to which the promotion belongs. Additionally, you can assign a promotion code to your promotion.
Promotion groups
Promotion groups, as the name implies, group promotions according to their type. These groups have no hierarchical structure, or priority. By default, each store has the following promotion groups:
·         Product Level Promotions
o        Percentage off per item
o        Fixed amount off per item
o        Fixed amount off for all
o        Buy X, get one or more items at a discount
o        Free gift with purchase Note: If the price of a free gift exceeds the minimum qualification price of the promotion, customers may be able to order the gift item without buying anything else. This is working as designed, but may lead to unexpected behavior in some circumstances.
·         Order Level Promotions
o        Percentage off
o        Fixed amount off
o        Free gift with purchase Note: If the price of a free gift exceeds the minimum qualification price of the promotion, customers may be able to order the gift item without buying anything else. This is working as designed, but may lead to unexpected behavior in some circumstances.
·         Shipping Promotions
o        Free shipping
o        Discounted shipping for an order using a selected ship mode
o        Discounted shipping for all items using a selected ship mode
o        Discounted shipping per item using a selected ship mode

www.tattvamasigroup.com
https://www.youtube.com/channel/UC4Eu5FMElRqUVZX7g8QV3iA


Wednesday, 27 March 2013

What is the difference between Master Catalog and Sales Catalog?



The master catalog is the central location to manage your store's merchandise. Everything you need in your store is contained within the master catalog. It is the single catalog containing all products, items, relationships, and standard prices for everything that is for sale in your store.
Every store in the WebSphere Commerce system must have a master catalog. You can share the master catalog across stores and define as many stores as needed.
In addition to creating a master catalog for your catalog management, you may also choose to create one or more sales catalogs for display purposes. A sales catalog may contain the same entries as the master catalog, but with a much more flexible structure for customer display purposes. You can have as many sales catalogs as you want. Refer to Sales catalogs for more information.
You can use the Product Management tools in the WebSphere Commerce Accelerator to view and manage your master catalog
Sales Catalog
There are two types of catalogs in a WebSphere Commerce system: master and sales. While a master catalog is the central location to manage all your store's merchandise and services, a sales catalog is a subset of the merchandise and services found in the master catalog.
Every store in the WebSphere Commerce system must have a master catalog. Only one master catalog can exist at a time, and multiple stores can share a master catalog. However, you can create one or more sales catalogs for customer display purposes. A sales catalog has a flexible display structure that allows you to associate products to more than one category, to suit the requirements of your store.
Sales catalogs allow you to maintain an unlimited number of catalog hierarchies and place products in any number of locations within a single sales catalog structure. Sales catalogs can be used to create unique hierarchies and product assortments for seasonal purposes, targeting specific customer segments or business customers. For example, you may have a Spring sales catalog, a Fall sales catalog as well as a Gold-rated Customer sales catalog.
You can manage your sales catalog from the WebSphere Commerce Accelerator and perform the following tasks:
  • Create, change, or delete sales catalogs. You can create sales catalogs based on segments of your master catalog, or choose to create one from scratch.
  • Create, change, find, or remove categories. Select new parent categories and rearrange the category tree structure for a new look.
  • Link a category. Take a category from one sales catalog to another sales catalog. That category, and all its catalog entries, will then be displayed in both, or more, sales catalogs.
  • Duplicate the structure of a category. From your master or sales catalog, you can duplicate a section of categories and subcategories to preserve a similar structure.
  • Assign, find, or remove catalog entries from different categories.
Sales catalogs can be used in conjunction with the master catalog and contracts to control which products display for a particular customer. If a customer is not entitled to see a subset of the products in the master catalog, the contract system will make sure that customer does not see those products in the WebSphere Commerce store. The sales catalog can then be used to organize the products that the customer is entitled to see and purchase in a more meaningful way. For example, customers may buy products to support a business project. Instead of organizing products by department and sub-department, it might be easier for the customer to find products when the products are arranged in a manner that matches the components of their project. In this scenario, a top level category might be titled Network Replacement Project and the subcategories in the sales catalog would be Hardware and Software.

www.tattvamasigroup.com

https://www.youtube.com/channel/UC4Eu5FMElRqUVZX7g8QV3iA/playlists

Tuesday, 26 March 2013

What are member groups in WCS?

A member group is a grouping of members - users, organizations, or other member groups - used for various business purposes. Two kinds of member groups exist: implicit and explicit. An implicit member group contains users that share common attributes and are therefore considered members of a specific member group. An implicit member group specifies criteria on attributes that users must satisfy in order to be considered members of that member group. You can also explicitly exclude certain users although they satisfy the criteria. An explicit member group contains explicitly assigned users, who may or may not share common attributes. A member group can be both implicit and explicit at the same time.
Member group data can be stored only in the WebSphere Commerce database. Furthermore, member groups are not part of the membership hierarchy but are owned by organizational entities. This ownership determines the set of access control policies that apply to accessing the member group.

What is Member Subsystem in Websphere commerce suit?


www.tattvamasigroup.com

https://www.youtube.com/channel/UC4Eu5FMElRqUVZX7g8QV3iA/playlists

The Member subsystem in WCS  contains the data for participants of the WCS system.A member can be 
  •  user, 
  •  group of users (also known as a member group), 
  •  organizational entity 

The business services provided by Member Subsystem are


  • member registration :
  • profile management 
  • access control, 
  • authentication 
  • session management.


  • Basic Working of Member Subsystem


The Member subsystem assigned roles depending on the activities in which users and organizations choose to participate. Assignment of roles is the responsibility of an administrator, known as Site Administrator. Once a member is assigned a role, access control component authorizes the member to participate in activities associated with the role. For example, an organization can be a buyer or a seller, or both. A user can also be assigned multiple roles.


  • Member Registration

Registration data of users and organizational entities is stored in the WebSphere Commerce database or the directory server. Member groups data can be stored only in the WebSphere Commercedatabase. A registered user has a unique identifier and a password. If the WebSphere Commercedatabase is used as registry, the unique identifier is the logon ID. If the directory server is used, the unique identifier can be a DN or a relative distinguished name. For an organizational entity, only an administrator can create a new registration profile and approval is not required.



  • Profile management. 

The site administrator is the key component for Profile Management.The  Site Administrator in WCS manages user and organizational entity profiles and data. It contains  organizations or organizational units, roles, users, and member groups within a site. There is Buyer Administrator and Seller Administrator and they manage users and organizational entities.


  • Access control . 

Access control governs what tasks users can perform on  resources.In WCS there is an an access group which is a group of members defined specifically for access control purposes. In WCS Access groups typically group users based on their roles, organizations, and registration status. A Site Administrator creates, maintains, and deletes access groups for a site. A Buyer Administrator or a Seller Administrator can also manage access groups for access control policies. 



  • Security

 In Webspehere commerce suit a user can be authenticated against a WebSphere Commerce database or a directory server. WebSphere Commerce supports two challenge types: logon ID and password, and X.509 client certificate. When logon ID and password is used, a user is authenticated against the WebSphere Commerce database or a directory server. When X.509 client certificate is used, the Web server performs the authentication.

Different type of users in WCS.

www.tattvamasigroup.com

https://www.youtube.com/channel/UC4Eu5FMElRqUVZX7g8QV3iA/playlists

You may Like the following

Realtime Projects in WCS


Subsystems in WCS


Organizational structure in WCS


Payment Methods in WCS


Refund Methods in WCS


Payment Business Policies


Payment Instructions in WCS


Payment Events and Task Commands


Payment Actions in WCS


Financial Transactions in WCS