ZMObject
|
+--ZMAttributes
public class ZMAttributes
extends ZMObject
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| boolean | checkForAttributes(int productId, int languageId) Simple lookup to check for existing attributes. |
| boolean | getAttributesForProduct(ZMProduct product, int languageId) Load attributes for the given product and language. |
| static void | instance() Get instance. |
| Methods inherited from org.zenmagick.ZMObject | |
|---|---|
| backtrace, create, log, singleton | |
public ZMAttributes()
Create new instance. /
public boolean checkForAttributes(int productId, int languageId)
Simple lookup to check for existing attributes.
null for session language.true if attributes eixst, false if not.public boolean getAttributesForProduct(ZMProduct product, int languageId)
Load attributes for the given product and language.
null for session language.true if attributes eixst, false if not.public static void instance()
Get instance. /
Attribute service.