Category, SubCategory, and Classification OO design

Hi guys,
I am really stuck in designing the OO way for product category, subcategory and classification stuff like that. I need something like this:
http://list.auctions.shopping.yahoo.com/sg/0-submit.html
Can somebody recommend the best way to design OO like that? This is because some category may have 5 level down to it subcategory but some don't. Appreciate some comment given here. Thanks !
regards,
Mark

Thanks a lot man....i found a book called Head First
Design Pattern and there's a Composite Pattern inside
! But is it recommended to use composite pattern in
Hibernate ?Not sure that I understand your question.
If you're asking if there will be any difficulty in mapping the OO model to database tables via Hibernate, this is precisely one of the issues that Hibernate aims at solving.

Similar Messages

  • How can you create a new category list and attach it to a new incident template

    We intend to create helpdesks for various teams e.g. Facilities, IT, HR etc and allow staff to email separate email addresses via the exchange connector.  So incidents get assigned to separate queues categorised via the support group set in the
    assigned template used by the connector.  I want separate category lists for each template so IT staff don't see Facilities categories etc. This all works apart from having separate Incident classification lists attached to the appropriate template. 
    Thanks
    David

    So I suppose I have to do something similar to the blog post below.  I assume that if I create a new 'facilities incident' class I can create a distinct category list and attach that to a template without showing the default category list?
    Thanks
    David
    http://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-6241-00-00-03-47-72-46/SCSM-Creating-a-user-classification-field-using-the-Authoring-Tool.docx

  • BP created with category Person and BP Role Consumer is not replicated

    Hello Gurus,
    I have created a BP with Category Person and BP Role Consumer but after saving my BP is not getting
    replicated to ERP, though in the Clasification Tab i could see consumer is being selected and the Account
    group 0170 - Consumer showing up. 
    I have also checked in PIDE transaction in ERP system this Account group has clasification E which is Consumer.person,and as numbe range is assigned to this Account group 
    i have checked in middleware there is an error message which says "BP XXXX doesnt not exist as customer,change not possible" and aslo one more message which says "no classification is assigned to BP"
    any customizing is missing in CRM system, or only customiaing required is in ERP only?
    Thanks and Regards
    chandu

    Hi,
    With respect to your question on below link.
    Re: BP created with category Person and BP Role Consumer is not replicated
    Please find the below path in ECC
    SPRO>Logistic General>Business Partner>Customer>Define Account Groups and Field Selection for Customers.
    Select 0170 Consumer account grp and click on details. You will see the Number range in General Data.
    Copy that number range and goto below path and check if the number range is internal or external.
    SPRO>Logistic General>Business Partner>Customer>Define and Assign Customer Number ranges. The popup will appear and select Define Number ranges for customer master. Click on display intervals. You will see the number range is mainatined internal or external.
    Hope this helps.
    Regards,
    Chandrakant
    Edited by: Chandrakant A on Dec 15, 2009 7:41 PM

  • Adding SupportGroup and Classification as a column in List of Incidents report in SCSM 2012 SP1.

    Hi Team,
    We have a requirement to add SupportGroup and Classification as a column in the "List of Incidents" report. WE know that we need to modify the stored procedure to make these columns available in the Dataset. Or can we link 2 dataset in the tablix
    in SSRS.
    Regards,
    Dinesh
    Thanks & Regards, Dinesh

    I have solved it myself by adding few lines in stored procedure. Would like to share the solution, so that it will be helpful for others.
    Open the stored procedure which we are using for the default "List of Incidents" reports.
    Add the below under SELECT
    SupportGroup = ISNULL(TierQueuesDS.DisplayName, TierQueuesEnum.IncidentTierQueuesValue),
    TierQueuesEnum.IncidentTierQueuesId AS TierQueuesId,
    Classification = ISNULL(ClassificationDS.DisplayName, ClassificationEnum.IncidentClassificationValue),
    ClassificationEnum.IncidentClassificationId AS ClassificationId,
    Add the below under FROM
     LEFT OUTER JOIN
     dbo.IncidentTierQueuesvw AS TierQueuesEnum
     ON TierQueuesEnum.IncidentTierQueuesId = I.TierQueue_IncidentTierQueuesId 
     LEFT OUTER JOIN
     dbo.DisplayStringDimvw TierQueuesDS
     ON TierQueuesEnum.EnumTypeId=TierQueuesDS.BaseManagedEntityId
     AND TierQueuesDS.LanguageCode = @LanguageCode
     LEFT OUTER JOIN
     dbo.IncidentClassificationvw AS ClassificationEnum
     ON ClassificationEnum.IncidentClassificationId = I.Classification_IncidentClassificationId 
     LEFT OUTER JOIN
     dbo.DisplayStringDimvw ClassificationDS
     ON ClassificationEnum.EnumTypeId=ClassificationDS.BaseManagedEntityId
     AND ClassificationDS.LanguageCode = @LanguageCode
    Then open the report from Report Builder and add new column in the design. Add Support Group and Classification as a column in the report.
    Thanks & Regards, Dinesh

  • [Forum FAQ] WSUS Configuration Manager failed to subscribe to update categories and classifications on WSUS Server

    Symptom:
    You might see an error in Software Update Point Status Message when you run software updates synchronization. (Figure 1)
    WSUS Configuration Manager failed to subscribe to update categories and classifications to WSUS Server “Server Name”
    Figure 1
    When you check the WCM.log, WSUSCtrl.log and wsyncmgr.log. There is an error in WCM.log-“Category Product:6d76a2a5-81fe-4829-b268-6eb307e40ef3 (Windows 7 Language Packs) not found
    on WSUS”. (Figure 2)
    WCM.log:
    Figure 2
    Cause:
    Windows 7 language packs are available for computers that are running Windows 7 Ultimate or Windows 7 Enterprise. The Windows 7 language packs can be installed only from the Optional
    Updates section in Windows Update. However, these language packs are not available on the Microsoft Windows Server Update Services (WSUS) server or through the Microsoft Download Center.
    For more information, please review the link below:
    Windows 7 language packs are available for computers that are running Windows 7 Ultimate or Windows 7 Enterprise
    http://support.microsoft.com/kb/2534462/he
    Resolution:
    Go to Administration -> Overview -> Site Configuration -> Sites -> Right-click CAS -> Configure Site Components -> SUP Products tab, uncheck “Windows 7 Language
    Packs”, then sync again. (Figure 3)
    Figure 3
    After Sync successfully, the “Windows 7 Language Packs” option disappeared. (Figure 4)
    Figure 4
    Alternative:
    About installing Windows 7 language packs, you could use SCCM 2012 Package feature (download manually) or Windows Update.
    http://windows.microsoft.com/en-HK/windows/language-packs#lptabs=win7
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I managed to fix my issue by coping the Client, ClientUpgrade, and Scripts from the files from SCCM install discs folder SMSSETUP to c:\program files\Microsoft Configuration Manager folder.  I noticed that some of the files in the scripts
    folder was missing and I copied the other folders over because I felt that maybe my local copy of the Client installer where missing some key files as well.  Once I did that and disabled software update push, restarted the wsus computer, and re-enabled
    the software update push it was able to publish the client and start installing it that way.
    I thing the initial log messages where pointing me in the wrong direction for a few hours because I was thinking it was permissions as well and kept trying to figure that out but in the end I do not believe any of that was the reason I was receiving the
    same error as you where.

  • Derive the category/subcategory from the product hierarchy (PRDHA)

    Hi,
    Is there a function module/table/transaction where I can derive the category/subcategory from the product hierarchy (PRDHA)?
    Thks,
    William

    Hi,
    I do see entries in /n/sapapo/relhshow. I don't see how the production hierarchy (Seen in /sapspo/mat1 under the properties tab) relates to it.
    There is no F1 on that field in /sapapo/mat1 unfortunatly, so it acts like a free-form text field, as far as I can see. I changed it to a random value and it allowed me to save it, so it looks like there's no validation on the field?
    William

  • Service PO-Item category D and A/c assignment category K

    Hello all,
    I am novice in service procurement. Kindly help me understand this scenario.
    Client has created service PO with item category D and assignment category K.
    There is no service based IV or GR based IV clicked. If i see , services tab , in item details, it is totally blank. and in PO history, i can see all IR-L documents with 940 EUR as total, while the PO is for 1000 EUR.
    Limit shown in PO is 1000 EUR. Now if we go to MIRO screen, the system suggests remaining amount as 300 EUR instead of remaining 60 EUR.
    Kindly let me know your feedback on this.

    MIRO

  • How can i create an album with chose category list and next/previous button

    hello guys im working on a project for my uni i finished the whole website but one thing is missing
    i need to create a photo album with next and previous button, with choosing a category and inside each category i have like 5 pictures and i can change with the next/previous buttons to see another picture of the  same category.
    Please see the picture below to see what i mean.
    some told me it needs flash but i dont know how to work on it :S so plz if anyone can help me
    thank you

    Dear Mr. Murphy,
    thank you for your help.
    Actually i have tried to search for a tutorial and i found that one that was very helpful and gave me the half solution. the part i found and it worked with me is the part of the next and previous buttons and moving from an image to another.
    SO the part i still need is the list so when i click on a category i get the pictures of the chosen category, I had the idea of create a flash for each category alone and maybe i will be able to add them all together.
    But i guess it's too much work and there must be a way where i can make it all in one flash file.
    If you have any idea let me know please, thank you again for your help and i'm trying to search for the AS3 image gallery as you told me.
    Regards

  • PO with account assignment category K and use two cost center

    Dear Experts
    When I create a PO with account assignment category K and use two cost center in the account assigment tab of PO with the same GL or with different GL in the both line item, The FI document does not get posted.
    Any input on this please.
    Regards
    Paul

    Hi,
    Check in the PO document - Item level - Delivery tab
    There are two indicators
    1. Good receipt
    2. GR non-valuated.
    If you are giving only one cost centre, only GR check box active and  GR non-valuated check box is in-active. That's why System creating FI document during GR.
    If you are giving two cost centres, Both GR check box and  GR non-valuated check box are active. That's why System is not creating any FI documents during GR.
    Regards
    Ravi

  • Step-by-step process of grouping Items in Category Sets and more accurately into the correct Category

    Honestly, I have never had a customer ask me 'how' do I identify which Items go together in a specific category.  I am thinking I start with the Functional Area (Inv, PO, OM, WM, etc..) attributes, and start the grouping there.  The customer is asking for "best practices" - any input would be appreciated.
    I have a fresh install of Oracle Inventory, Purchasing, Order Management, Service - We have 2,000,000 part numbers.
    How have you instructed your customers/clients (both Internal and External) in the PROCESS of categorizing all of their Items?
    What is the Step-by-step process of grouping those 2MM items into accurate Category Sets and more accurately into the most correct Category.
    I would 'assume' it would start with some analysis with all the Items listed with all the item attributes, and start with ECCN (for example) or Item Type grouping. Then...(?)
    Thanks!
    rd

    No answer to No.1 but I really want to find it out too.
    No.2 
    If you already know list of the categories & ID you can manually create a list of checkboxes
    <input type="checkbox" name="CAT_Category" value="89081" />
    <input type="checkbox" name="CAT_Category" value="89082" />
    <input type="checkbox" name="CAT_Category" value="89083" />
    something like that should work

  • Sorting of Sum Totals at category & subcategory levels in Answers -Resubmit

    I am resubmitting this as there with some alignment issues in the previous text. I am not able to get it in proper order here so have identified the category & sub category by bold & italics.
    I have a requirement where i need to sort by $$ within a category and sub category, first i need to show the highest YTD $$ under the category with total & the sub categories also should be sort as given in the example, GM having the highest value is in top, in the same way AT&T having the highest value is at the top.
    Category Sub Category YTD $$ by S
    Automobile GM 12000
    Toyota 10000
    Honda 8000
    Automobile Total 30000
    Telecom AT&T 10000
    Verizon 8000
    Sprint 5000
    Telecom Total 23000
    I am able to achieve this if i do it at the Category level, and the sub category is sorted in alphabetical order and not by YTD $$ and the moment i add the sorting to the Sub category, it shows category & the sub category totals as individual line items instead of single category & multiple sub-categories .
    Thanks again for your time & help!!

    Thanks for the response, i can only select a value from the dimension if i select Sort Order, but the YTD value is from the fact. Let me try to show the requirement here again as in the last mail somehow the format was not correct. The text in bold refers to the Category & the text in italics refers to the sub category.
    Category Sub Category YTD $$ by S
    Automobile GM 12000
    Toyota 10000
    Honda 8000
    Automobile Total 30000
    Telecom AT&T 10000
    Verizon 8000
    Sprint 5000
    Telecom Total 23000
    The category with the largest total should be at the top and within the category, the sub category with the max $$ should be at the top.

  • Hello, I own a license for Adobe CS5 Production Premium and Adobe CS4 Design Premium for Windows/PC. I am switching to an OSX/MAC system. Is it possible to transfer my licenses to the new platform?

    Hello, I own a license for Adobe CS5 Production Premium and Adobe CS4 Design Premium for Windows/PC. I am switching to an OSX/MAC system. Is it possible to transfer my licenses to the new platform?

    It's possible to transfer licenses but it must be done by contacting a Customer Service representative by phone or web chat. They'll probably have you submit a form.
    Contact Customer Care

  • The background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black backgr

    the background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black background please help!

    or maybe the interface has been set to Dark?
    Go to Preferences > Interface tab, choose Light from Color Theme dropdown on Apearance section (upper part of the window)

  • Business delegate and Session facade design patterns

    Does any one tell me, what is the difference between business delegate and session facade design patterns.

    1. Session Facade decouples client code from Entity beans introducing session bean as a middle layer while Business Delegate decouples client code from EJB layer ( Session beans).
    2. SF reduces network overhead while BD reduces maintenance overhead.
    3. In SF any change in Session bean would make client code change.
    While in DB client is totally separate from Session bean because BD layer insulate client from Session beans(EJB layer).
    3. In only SF scenario, Client coder has to know about EJB programming but BD pattern no EJB specialization needed.
    4.SF emphasizes on separation of Verb, Noun scenario while BD emphasizes on separation of client(presentable) and EJB layer.
    Anybody pls suggest more differences ?

  • What is the difference between Category Mgmt and Spend Analysis?

    Hi Friends
    What is the difference between Category Mgmt and Spend Analysis?
    Regards
    Chinna Krishna

    Hi Chinna
    Here are my two cents on this questions
    1. Catagory Management : It pertains to all sourcing activities that a purchasing group does for a specific catagory of items ( say tyres, bearings, etc. in automobile industry scenario OR steel sheets, electric motor, etc. in consumer durables industry scenario) in order to meet companies strategic goals like cost, quality, delivery and new product introduction. It also involves the strategic sourcing piece for that category. Typically it can include following activities for a category which is being managed
    - Identifying current and future business & technical requirements
    - Constant vigilence and analysis of supply market for that category ( and also identifying new sources)
    - Lauching various projects within category focussed on cost reduction, quality improvement, delivery improvement. This may include some of activities like supplier analysis. RFx, Reverse auctions, contract negotiation, etc.
    - Monitoring the category specific supplier performance
    Category Management team typically consists of cross functional team and it is iterative process (continuous improvement).
    Category Management in covered to some extent in E-Sourcing application and its analysis is covered in Spend Analytics application. Fully blown category management is on road map of SAP but none of the current functionalities addresses it fully.
    2. Spend Analysis: This involves analysis of the spend at highest level of organization. To improve the data quality, it typically involves spend data standardization & enrichment, supplier normalization and spend categorization. Once you have clean data, one can slice and dice the data to gain insight into the spend and identify opportunities for launching the various initiatives focussed on cost, quality and delivery.
    SAP Spend Analytics application covers this spend analysis capability.
    Its a long answer and hope it helps you.
    Bhushan

Maybe you are looking for

  • How to do manual back up in conjunction with T.M.

    hello i want to use time machine to perform ongoing back ups of my entire account. however, there is one grouping of files that has to be manually dragged to my back up drive on a daily basis. my question is: if time machine backs up account until dr

  • Airport / Virgin Superhub

    Hi everyone - can some please explain to me the benefits of getting an Airport Extreme/Express/Time Capsule if I already have a Virgin Superhub? How do the two products co-exist, exactly? Our Virgin Superhub is located in an upstairs bedroom and the

  • Safari doesn't recognize that I have OSX 10.5.5

    Yes the latest version of Safari will not install on my machine because it thinks that I have less than OSX 10.4, when in fact I have 10.5.5. Have any idea why this is going on? Thanks!

  • Trouble connecting from Perl (and perhaps other API) to 11gR2

    1. I can connect to my instance via sqlplus 2. I can tnsping the SID I want to connect to 3. DB is alive But my Perl script reports: ORA-12154: TNS:could not resolve the connect identifier specified (DBD ERROR: OCIServerAttach) Please help me diagnos

  • Difference between Macros and subroutine

    Hi all, What is the difference between the macros subroutine and function module functinalitywise.;