|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.util.entity.AbstractNamedEntity
org.torweg.pulse.util.entity.AbstractNamableEntity
org.torweg.pulse.site.content.Variant<T>
org.torweg.pulse.site.content.AbstractBasicVariant<T>
org.torweg.pulse.site.content.AbstractSummaryDescriptionVariant<StoreVariant>
org.torweg.pulse.component.store.model.StoreVariant
@Entity public class StoreVariant
Represents an article variant in the store.
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.site.content.Variant |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
StoreVariant()
Deprecated. |
|
StoreVariant(java.lang.String pOrderCode)
The constructor that sets the order code of the StoreVariant . |
|
| Method Summary | |
|---|---|
StoreVariant |
createCopy(Content content)
Creates a non-persistent (therefore id = null) copy of the current StoreVariant. |
org.jdom.Element |
deserializeToJDOM()
Returns the state of the StoreVariant as a JDOM Element. |
org.jdom.Element |
deserializeToJDOM(ServiceRequest pServiceRequest)
Returns the state of the StoreVariant as a JDOM Element. |
java.util.Set<StoreContentImageGroup> |
getAlternativeImages()
Returns the alternative images of the StoreVariant. |
java.lang.StringBuilder |
getFullTextValue()
returns the StoreVariant's textual information as it is supposed
to be supplied for the index. |
StoreContentImageGroup |
getMainImage()
Returns the main image of the StoreVariant. |
java.lang.String |
getOrderCode()
Returns the order code of the StoreVariant. |
void |
onVirtualFileSystemChange(VirtualFile file)
Is called by the VirtualFileSystem, if any associated
VirtualFiles have been moved in the file system. |
void |
setAlternativeImages(java.util.Set<StoreContentImageGroup> pAlternativeImages)
Sets the alternative images of the StoreVariant. |
void |
setContent(Content pStoreContent)
Sets the StoreContent of the StoreVariant. |
void |
setMainImage(StoreContentImageGroup pMainImage)
Sets the main image of the StoreVariant. |
void |
setOrderCode(java.lang.String pOrderCode)
Sets the order code of the StoreVariant. |
void |
updateAssociatedFiles()
Is called by the editors upon save actions to update the list of associated VirtualFiles. |
| Methods inherited from class org.torweg.pulse.site.content.AbstractSummaryDescriptionVariant |
|---|
getDescription, getDescriptionElement, getLinkCorrectables, setDescription |
| Methods inherited from class org.torweg.pulse.site.content.AbstractBasicVariant |
|---|
getContent, getSummary, getSummaryElement, setSummary |
| Methods inherited from class org.torweg.pulse.site.content.Variant |
|---|
addVariant, compareTo, equals, getAssociatedVirtualFiles, getAttachments, getParentVariant, getVariants, hashCode, processHTML, removeVariant, setAssociatedVirtualFiles, setAttachments, setVariants, updateHTML |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamableEntity |
|---|
setName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractNamedEntity |
|---|
getName |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, getFullQualifiedClassNameJAXB, getId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.torweg.pulse.component.store.model.StoreItem |
|---|
equals, getAssociatedVirtualFiles, getAttachments, getDescription, getDescriptionElement, getId, getSummary, getSummaryElement, hashCode, setAssociatedVirtualFiles, setAttachments, setDescription, setSummary |
| Methods inherited from interface org.torweg.pulse.util.INameable |
|---|
setName |
| Methods inherited from interface org.torweg.pulse.util.INamed |
|---|
getName |
| Methods inherited from interface org.torweg.pulse.site.content.IHasVariants |
|---|
getVariants |
| Constructor Detail |
|---|
@Deprecated public StoreVariant()
public StoreVariant(java.lang.String pOrderCode)
StoreVariant .
pOrderCode - the order code to be set.| Method Detail |
|---|
public java.lang.StringBuilder getFullTextValue()
StoreVariant's textual information as it is supposed
to be supplied for the index.
getFullTextValue in interface StoreItemgetFullTextValue in class AbstractSummaryDescriptionVariant<StoreVariant>StoreVariant's textual informationAbstractBasicContent.getFullTextValue()public void setContent(Content pStoreContent)
StoreContent of the StoreVariant.
setContent in class AbstractBasicVariant<StoreVariant>pStoreContent - the StoreContent to be set.public final java.lang.String getOrderCode()
StoreVariant.
getOrderCode in interface StoreItemStoreVariant.public final void setOrderCode(java.lang.String pOrderCode)
StoreVariant.
setOrderCode in interface StoreItempOrderCode - the order code to be set.public final StoreContentImageGroup getMainImage()
StoreVariant.
getMainImage in interface StoreItemgetMainImage in interface IHasMainImageStoreVariantpublic final void setMainImage(StoreContentImageGroup pMainImage)
StoreVariant.
setMainImage in interface StoreItempMainImage - the main image to be set.public final java.util.Set<StoreContentImageGroup> getAlternativeImages()
StoreVariant.
getAlternativeImages in interface StoreItemgetAlternativeImages in interface IHasAlternativeImagesStoreVariant. (shallow
copy)public final void setAlternativeImages(java.util.Set<StoreContentImageGroup> pAlternativeImages)
StoreVariant.
setAlternativeImages in interface StoreItempAlternativeImages - the alternative images to be set. (final)public org.jdom.Element deserializeToJDOM()
StoreVariant as a JDOM Element.
deserializeToJDOM in interface JDOMabledeserializeToJDOM in class AbstractBasicVariant<StoreVariant>StoreVariant as a JDOM Element.public org.jdom.Element deserializeToJDOM(ServiceRequest pServiceRequest)
StoreVariant as a JDOM Element.
deserializeToJDOM in interface ExtendedJDOMabledeserializeToJDOM in class AbstractBasicVariant<StoreVariant>pServiceRequest - the current ServiceRequest or null.
StoreVariant as a JDOM Element.public void onVirtualFileSystemChange(VirtualFile file)
VirtualFileSystem, if any associated
VirtualFiles have been moved in the file system.
onVirtualFileSystemChange in interface StoreItemonVirtualFileSystemChange in class Variant<StoreVariant>file - the files that have been moved.public void updateAssociatedFiles()
VirtualFiles.
public StoreVariant createCopy(Content content)
StoreVariant.
createCopy in class Variant<StoreVariant>content - the parent Content
StoreVariant.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||