com.ibm.portal.cp.tagging
Interface TagModel<T extends Tag>

All Superinterfaces:
Countable, CountableListModel<T>, Invalidatable, InvalidatableListModel<T>, ListModel<T>, LocatorProvider<T>, PagedListModel<T>, SearchableListModel<T>
All Known Subinterfaces:
TagModelController<T,M>

public interface TagModel<T extends Tag>
extends SearchableListModel<T>, InvalidatableListModel<T>, CountableListModel<T>, PagedListModel<T>

TagModel: Interface for a tag model. This model describes the structure of a Tag.

Since:
7.0.0

Method Summary
 java.lang.String getValidationRegEx()
          Returns a String representing the regular expression a tag needs to match in order to be persisted in the backend.
 
Methods inherited from interface com.ibm.portal.LocatorProvider
getLocator
 
Methods inherited from interface com.ibm.portal.Invalidatable
invalidate, invalidate
 
Methods inherited from interface com.ibm.portal.Countable
size
 
Methods inherited from interface com.ibm.portal.PagedListModel
pagedIterator
 
Methods inherited from interface com.ibm.portal.ListModel
iterator
 

Method Detail

getValidationRegEx

java.lang.String getValidationRegEx()
Returns a String representing the regular expression a tag needs to match in order to be persisted in the backend. This value may be null if no regular expression validation is performed.

Returns:
a String representing the regular expression used for validation of tags.