Package com.jalios.jcms.jnews
Class JNewsManager
java.lang.Object
com.jalios.jcms.jnews.JNewsManager
- All Implemented Interfaces:
JPropertiesListener
A class managing JNews
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptiongetAbstract(Publication pub, Locale locale, boolean raw) Returns the abstract of a publication.static JNewsManagervoidpropertiesChange(JProperties properties) Invoked after properties have been modified in JCMS and save on disk.
-
Field Details
-
SIZEOFSTYLECSS
public static final int SIZEOFSTYLECSS- See Also:
-
SIZEOFSTYLECSSHEADLINES
public static final int SIZEOFSTYLECSSHEADLINES- See Also:
-
-
Method Details
-
getInstance
-
propertiesChange
Description copied from interface:JPropertiesListenerInvoked after properties have been modified in JCMS and save on disk.You cannot alter the value received in parameters.
Note that properties parameter may be null, a limited set of site properties, or all site properties.
To check that a property has been modified, reload the "current" property instead using
channel.getPropertiesorchannel.getProperty.- Specified by:
propertiesChangein interfaceJPropertiesListener- Parameters:
properties- the properties which have been submitted to change
-
getAbstract
Returns the abstract of a publication.- Parameters:
pub- A publicationlocale- A specific geographical regionraw- mode raw text if true- Returns:
- the field value.
-