Product.java
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ConsumerType
* com.day.cq.commons.ImageResource
* org.apache.sling.api.adapter.Adaptable
* org.apache.sling.api.resource.Resource
*/
package com.adobe.cq.commerce.api;
import aQute.bnd.annotation.ConsumerType;
import com.adobe.cq.commerce.api.CommerceException;
import com.adobe.cq.commerce.api.VariantFilter;
import com.day.cq.commons.ImageResource;
import java.util.Iterator;
import java.util.List;
import org.apache.sling.api.adapter.Adaptable;
import org.apache.sling.api.resource.Resource;
@ConsumerType
public interface Product
extends Adaptable {
public static final String RESOURCE_TYPE_PRODUCT = "commerce/components/product";
public String getPath();
public String getPagePath();
public String getSKU();
public String getTitle();
public String getTitle(String var1);
public String getDescription();
public String getDescription(String var1);
public String getThumbnailUrl();
public String getThumbnailUrl(int var1);
public String getThumbnailUrl(String var1);
public Resource getAsset();
public List<Resource> getAssets();
public ImageResource getImage();
public List<ImageResource> getImages();
public <T> T getProperty(String var1, Class<T> var2);
public <T> T getProperty(String var1, String var2, Class<T> var3);
public Iterator<String> getVariantAxes();
public boolean axisIsVariant(String var1);
public Iterator<Product> getVariants() throws CommerceException;
public Iterator<Product> getVariants(VariantFilter var1) throws CommerceException;
public Product getBaseProduct() throws CommerceException;
public Product getPIMProduct() throws CommerceException;
@Deprecated
public String getImageUrl();
@Deprecated
public String getImagePath();
@Deprecated
public ImageResource getThumbnail();
}