|
||||||||||
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
public class VersionConfig
Versioning configuration. Defines if versions are created and how many version are kept.
Field Summary | |
---|---|
static java.lang.String |
ACTIVE
is versioning is active. |
static java.lang.String |
MAX_VERSION_INDEX
maximum index to keep. |
Constructor Summary | |
---|---|
VersionConfig()
|
Method Summary | |
---|---|
static VersionConfig |
getInstance()
|
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 java.lang.String MAX_VERSION_INDEX
public static final java.lang.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 |