Page 1 of 1
Exclude class from creation process
Posted: Fri Dec 21, 2012 5:10 pm
by denis
Hi,
Is it possible for now to exclude a class from creation process ? eg : ProductBase, ProductBundleBase, CustomerBase ...
There is a JIRA (
http://jira.broadleafcommerce.org/browse/BLC-548) but it's not associated to a future release
Thanks in advance
Re: Exclude class from creation process
Posted: Fri Dec 21, 2012 5:19 pm
by phillipuniverse
This is already available, the Jira ticket is out of date. The correct way to handle this is using the 'ceilingDisplayEntity' in the @AdminPresentationClass. It's pretty well documented on how to use it and solves this problem.
Thanks for bringing this up; closing the Jira ticket.
Re: Exclude class from creation process
Posted: Fri Dec 21, 2012 5:30 pm
by denis
Hum I already have ceilingDisplayEntity but I have :
- MyProduct extends ProductImpl
- PhysicalProduct extends MyProduct
- VirtualProduct extends MyProduct
ceilingDisplayEntity = .....MyProduct .class
But I don't wan't have the possibility to create an instance of MyProduct. Is there a solution for this case ?
Thanks
Re: Exclude class from creation process
Posted: Fri Dec 21, 2012 5:35 pm
by phillipuniverse
Argh; another sibling relationship issue. You guys are keeping us on our toes over here

Ok so this case is probably unsupported. I assume that if you used '...PhysicalProduct.class' it would hide everything from the '...VirtualProduct.class' hierarcyhy? Can you verify that this is the case?
Re: Exclude class from creation process
Posted: Fri Dec 21, 2012 5:42 pm
by denis
Oh yeah, we are sorry for that

!
Unfortunately yes, if we put ceilingDisplayEntity on PhysicalProduct all others are hidden, and of course, same problem if we put ceilingDisplayENtity on VirtualProduct :-/
Re: Exclude class from creation process
Posted: Fri Jan 04, 2013 5:47 am
by denis
Is there a way to do that (with GWT) or i have to create a JIRA ?