|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.config.VersionConfig
@Singleton public class VersionConfig
Versioning configuration. Defines if versions are created and how many version are kept.
Field Summary | |
---|---|
static String |
ACTIVE
is versioning is active. |
static String |
MAX_VERSION_INDEX
maximum index to keep. |
Constructor Summary | |
---|---|
VersionConfig()
|
Method Summary | |
---|---|
static VersionConfig |
getInstance()
Deprecated. since 4.5, use IoC ! |
long |
getMaxVersionAllowed()
Get maximum number of versions allowed in version history. |
void |
init()
Initialize bean. |
boolean |
isActive()
Checks active flag in version config. |
void |
load()
Its a fixed config bean. |
void |
reload()
Read config and reload bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MAX_VERSION_INDEX
public static final String ACTIVE
Constructor Detail |
---|
public VersionConfig()
Method Detail |
---|
public static VersionConfig getInstance()
public void init()
public void load()
public void reload()
public boolean isActive()
public long getMaxVersionAllowed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |