@Embeddable public class MultiTenantStaticAssetImpl extends Object implements MultiTenantStaticAsset, org.broadleafcommerce.cms.file.domain.StaticAssetAdminPresentation
org.broadleafcommerce.cms.file.domain.StaticAssetAdminPresentation.FieldOrder, org.broadleafcommerce.cms.file.domain.StaticAssetAdminPresentation.GroupName, org.broadleafcommerce.cms.file.domain.StaticAssetAdminPresentation.GroupOrder, org.broadleafcommerce.cms.file.domain.StaticAssetAdminPresentation.TabName, org.broadleafcommerce.cms.file.domain.StaticAssetAdminPresentation.TabOrder| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.cms.file.domain.StaticAsset |
parent |
protected Long |
relatedProfile |
protected String |
shareableType |
| Constructor and Description |
|---|
MultiTenantStaticAssetImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.broadleafcommerce.cms.file.domain.StaticAsset |
getParent() |
Long |
getRelatedProfile()
Get the
Site Profile that the
StaticAsset has been linked to. |
StaticAssetShareableType |
getShareableType()
Dictates how the
StaticAsset
will be shared in the site hierarchy. |
int |
hashCode() |
void |
setParent(org.broadleafcommerce.cms.file.domain.StaticAsset parent) |
void |
setRelatedProfile(Long profile)
Sets the
Site Profile. |
void |
setShareableType(StaticAssetShareableType shareableType)
Sets the type of access the
StaticAsset
will have. |
protected org.broadleafcommerce.cms.file.domain.StaticAsset parent
protected String shareableType
protected Long relatedProfile
public org.broadleafcommerce.cms.file.domain.StaticAsset getParent()
getParent in interface MultiTenantStaticAssetpublic void setParent(org.broadleafcommerce.cms.file.domain.StaticAsset parent)
public StaticAssetShareableType getShareableType()
MultiTenantStaticAssetStaticAsset
will be shared in the site hierarchy.getShareableType in interface MultiTenantStaticAssetpublic void setShareableType(StaticAssetShareableType shareableType)
MultiTenantStaticAssetStaticAsset
will have.setShareableType in interface MultiTenantStaticAssetpublic Long getRelatedProfile()
MultiTenantStaticAssetSite Profile that the
StaticAsset has been linked to.getRelatedProfile in interface MultiTenantStaticAssetpublic void setRelatedProfile(Long profile)
MultiTenantStaticAssetSite Profile. Only valid if
StaticAssetShareableType.FOR_PROFILE has been set.setRelatedProfile in interface MultiTenantStaticAssetCopyright © 2020. All rights reserved.