|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.site.Validation
com.uwyn.rife.cmf.ContentRepository
public class ContentRepository
Contains the information that's required to describe a content repository.
| Field Summary | |
|---|---|
static String |
DEFAULT
|
| Constructor Summary | |
|---|---|
ContentRepository()
Instantiates a new ContentRepository instance. |
|
| Method Summary | |
|---|---|
void |
activateValidation()
This method is called at least once and maximum once when any method related to Validated rules, subjects and group or Constrained properties are used. |
String |
getName()
Retrieves the name of the content repository. |
ContentRepository |
name(String name)
Sets the name of the content repository. |
void |
setName(String name)
Sets the name of the content repository. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT
| Constructor Detail |
|---|
public ContentRepository()
ContentRepository instance.
| Method Detail |
|---|
public void activateValidation()
ValidationBy overriding this method, you can thus isolate all the validation setup code code and don't enforce a performance penalty at each object construction when doing it in the default constructor.
activateValidation in class Validationpublic ContentRepository name(String name)
name - the name
ContentRepository instancesetName(String),
getName()public void setName(String name)
name - the namename(String),
getName()public String getName()
null if the stored Content instance
has no name; or
the name of the content
name(String),
setName(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||