|
|
|
|
|
||||||||||
| 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.Content
org.torweg.pulse.site.content.AbstractBasicContent
org.torweg.pulse.site.content.AbstractSummaryDescriptionContent
org.torweg.pulse.component.store.model.StoreContent
@Entity public class StoreContent
Represents an article in the store.
| Field Summary | |
|---|---|
static org.slf4j.Logger |
LOGGER
the logger. |
| Fields inherited from class org.torweg.pulse.site.content.AbstractBasicContent |
|---|
DEFAULT_SUFFIX |
| Constructor Summary | |
|---|---|
StoreContent()
Deprecated. |
|
StoreContent(java.util.Locale pLocale, Bundle pBundle)
The constructor that sets the Locale and the Bundle of
the StoreContent. |
|
| Method Summary | |
|---|---|
StoreContent |
createCopy(java.util.Locale l, User u)
Creates a non-persistent (therefore id = null) copy of the current StoreContent with the given Locale. |
org.jdom.Element |
deserializeToJDOM()
Returns the state of the StoreContent as a JDOM Element. |
org.jdom.Element |
deserializeToJDOM(ServiceRequest pServiceRequest)
Returns the state of the StoreContent as a JDOM Element. |
java.util.Set<StoreContentImageGroup> |
getAlternativeImages()
Returns the alternative images of the StoreContent. |
java.lang.StringBuilder |
getFullTextValue()
returns the StoreContent's textual information as it is supposed
to be supplied for the index. |
java.util.Set<ILinkCorrectableElement> |
getLinkCorrectables()
a set with the Elements to be corrected. |
StoreContentImageGroup |
getMainImage()
Returns the main image of the StoreContent. |
java.lang.String |
getOrderCode()
Returns the order code of the StoreContent. |
java.util.Set<? extends Variant<?>> |
getVariants()
Returns the StoreVariants of the StoreContent. |
boolean |
isGroup()
returns false. |
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 StoreContent. |
void |
setMainImage(StoreContentImageGroup pMainImage)
Sets the main image of the StoreContent. |
void |
setOrderCode(java.lang.String pOrderCode)
Sets the order code of the StoreContent. |
void |
setVariants(java.util.Set<? extends Variant<?>> pStoreVariants)
Sets the StoreVariants of the StoreContent. |
void |
updateAssociatedVirtualFiles()
Is called by the editors upon save actions to update the list of associated VirtualFiles. |
| Methods inherited from class org.torweg.pulse.site.content.AbstractSummaryDescriptionContent |
|---|
getDescription, getDescriptionElement, setDescription |
| Methods inherited from class org.torweg.pulse.site.content.AbstractBasicContent |
|---|
getKeywords, getMetaDescription, getMetaKeywords, getSuffix, getSummary, getSummaryElement, getTitle, setKeywords, setMetaDescription, setMetaKeywords, setSuffix, setSummary, setTitle |
| 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, equals, finalize, getClass, hashCode, notify, notifyAll, 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 |
| Field Detail |
|---|
public static final org.slf4j.Logger LOGGER
| Constructor Detail |
|---|
@Deprecated public StoreContent()
public StoreContent(java.util.Locale pLocale, Bundle pBundle)
Locale and the Bundle of
the StoreContent.
pLocale - the Locale to be set.pBundle - the Bundle to be set.| Method Detail |
|---|
public java.lang.StringBuilder getFullTextValue()
StoreContent's textual information as it is supposed
to be supplied for the index.
getFullTextValue in interface StoreItemgetFullTextValue in class AbstractSummaryDescriptionContentStoreContent's textual informationAbstractBasicContent.getFullTextValue()public java.util.Set<? extends Variant<?>> getVariants()
StoreVariants of the StoreContent.
getVariants in interface IHasVariantsStoreVariants of the StoreContent. (shallow
copy)public void setVariants(java.util.Set<? extends Variant<?>> pStoreVariants)
StoreVariants of the StoreContent.
pStoreVariants - the StoreVariants to be set. (final)public final java.lang.String getOrderCode()
StoreContent.
getOrderCode in interface StoreItemStoreContent.public final void setOrderCode(java.lang.String pOrderCode)
StoreContent.
setOrderCode in interface StoreItempOrderCode - the order code to be set.public final StoreContentImageGroup getMainImage()
StoreContent.
getMainImage in interface StoreItemgetMainImage in interface IHasMainImageStoreContentpublic final void setMainImage(StoreContentImageGroup pMainImage)
StoreContent.
setMainImage in interface StoreItempMainImage - the main image to be set.public final java.util.Set<StoreContentImageGroup> getAlternativeImages()
StoreContent.
getAlternativeImages in interface StoreItemgetAlternativeImages in interface IHasAlternativeImagesStoreContent. (shallow
copy)public final void setAlternativeImages(java.util.Set<StoreContentImageGroup> pAlternativeImages)
StoreContent.
setAlternativeImages in interface StoreItempAlternativeImages - the alternative images to be set. (final)public org.jdom.Element deserializeToJDOM()
StoreContent as a JDOM Element.
deserializeToJDOM in interface JDOMabledeserializeToJDOM in class AbstractSummaryDescriptionContentStoreContent as a JDOM Element.public org.jdom.Element deserializeToJDOM(ServiceRequest pServiceRequest)
StoreContent as a JDOM Element.
deserializeToJDOM in interface ExtendedJDOMabledeserializeToJDOM in class AbstractSummaryDescriptionContentpServiceRequest - the current ServiceRequest or null.
StoreContent 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 Contentfile - the files that have been moved.public void updateAssociatedVirtualFiles()
VirtualFiles.
updateAssociatedVirtualFiles in class Contentpublic final boolean isGroup()
false.
isGroup in class Contentfalse.Content.isGroup()public java.util.Set<ILinkCorrectableElement> getLinkCorrectables()
ILinkCorretableElements to be corrected.
getLinkCorrectables in interface ILinkCorretablegetLinkCorrectables in class AbstractSummaryDescriptionContentILinkCorrectableElementsAbstractSummaryDescriptionContent.getLinkCorrectables()public StoreContent createCopy(java.util.Locale l, User u)
StoreContent with the given Locale.
createCopy in class AbstractBasicContentl - the Locale to be used.u - the User to be used as the creator/last modifier of
the copied Content
StoreContent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||