|
||||||||||
| 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.ContentInfo
com.uwyn.rife.cmf.dam.contentmanagers.DatabaseContentInfo
public class DatabaseContentInfo
This class adds additional properties to the ContentInfo class
to be able to store the data in a datab.ase
| Constructor Summary | |
|---|---|
DatabaseContentInfo()
Instantiates a new DatabaseContentInfo 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. |
int |
getContentId()
Retrieves the ID of the stored Content instance. |
void |
setContentId(int contentId)
Sets the ID of the stored Content instance. |
| Methods inherited from class com.uwyn.rife.cmf.ContentInfo |
|---|
getAttribute, getAttributes, getCreated, getFormattedSize, getMimeType, getName, getOptimalPath, getPath, getProperties, getProperty, getSize, getVersion, hasAttribute, hasAttributes, hasName, hasProperties, hasProperty, isFragment, setAttributes, setCreated, setFragment, setMimeType, setName, setPath, setProperties, setSize, setVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseContentInfo()
DatabaseContentInfo 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 ContentInfopublic void setContentId(int contentId)
Content instance.
This ID will not be used to refer to the Content instance from outside the backend. The path and the version should be used for this instead.
contentId - the ID of the Content instancegetContentId()public int getContentId()
Content instance.
Content's IDsetContentId(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||