Package rife.cmf

Class ContentRepository

java.lang.Object
rife.validation.Validation
rife.cmf.ContentRepository
All Implemented Interfaces:
Cloneable, Constrained, ConstrainedPropertyListener, Validated

public class ContentRepository extends Validation
Contains the information that's required to describe a content repository.
Since:
1.0
  • Field Details

  • Constructor Details

    • ContentRepository

      public ContentRepository()
      Instantiates a new ContentRepository instance.
      Since:
      1.0
  • Method Details

    • activateValidation

      public void activateValidation()
      Description copied from class: Validation
      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.

      By overriding this method, you can thus isolate all the validation setup code and don't enforce a performance penalty at each object construction when doing it in the default constructor.

      Overrides:
      activateValidation in class Validation
    • name

      public ContentRepository name(String name)
      Sets the name of the content repository.
      Parameters:
      name - the name
      Returns:
      the current ContentRepository instance
      Since:
      1.0
      See Also:
    • setName

      public void setName(String name)
      Sets the name of the content repository.
      Parameters:
      name - the name
      Since:
      1.0
      See Also:
    • getName

      public String getName()
      Retrieves the name of the content repository.
      Returns:
      null if the stored Content instance has no name; or

      the name of the content

      Since:
      1.0
      See Also: