Class CometIndex
java.lang.Object
com.priint.pubserver.tagging.TaggingObject
com.priint.pubserver.comet.entity.CometEntity
com.priint.pubserver.comet.entity.CometIndex
- All Implemented Interfaces:
Serializable
@CometTypeConstraints(calculateIds=false,
referenceBinding=NONE,
dependencies=@CometReferences(references=@CometReference(restriction=PARENT,targetClass=CometProject.class)))
public class CometIndex
extends CometEntity
The type Comet index. Internal use only.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe type Comet index entry.Nested classes/interfaces inherited from class com.priint.pubserver.comet.entity.CometEntity
CometEntity.CategoryNested classes/interfaces inherited from class com.priint.pubserver.tagging.TaggingObject
TaggingObject.LinkedSetWrapper<T> -
Field Summary
Fields inherited from class com.priint.pubserver.comet.entity.CometEntity
id, TAG_DOMAIN_QUALIFIER, TAG_GROUP_QUALIFIER, TAG_TYPE_QUALIFIERFields inherited from class com.priint.pubserver.tagging.TaggingObject
tagsSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrUpdateEntry(String label, String path) Add or update entry.getItems()Gets items.getLabel()Gets label.Get reference (i.e.Gets the repository filename for this particular itemGet the relative repository path for this configuration type.voidremoveEntry(String path) Remove entry.voidsetItems(List<CometIndex.CometIndexEntry> items) Sets items.voidSets label.Methods inherited from class com.priint.pubserver.comet.entity.CometEntity
checkMinimalConstraints, entityEquals, equals, getEntityDescription, getEntityLabel, getId, hashCode, initDefaultValues, initDefaultValues, setIdMethods inherited from class com.priint.pubserver.tagging.TaggingObject
addToTags, getTags, getTagValue, inTags, isA, removeFromTags, searchListByTags, setTags, setTags
-
Constructor Details
-
CometIndex
public CometIndex()Instantiates a new Comet index.
-
-
Method Details
-
addOrUpdateEntry
Add or update entry.- Parameters:
label- the labelpath- the path
-
getItems
Gets items.- Returns:
- the items
-
getLabel
Gets label.- Returns:
- the label
-
getReferenceConstraints
Description copied from class:CometEntityGet reference (i.e. PluginDependency) constraints for this type, including constraints inherited from super classes
See the
CometTypeConstraintsannotation for more information- Overrides:
getReferenceConstraintsin classCometEntity- Returns:
- list of mandatory dependencies for this type
-
getRepositoryFilename
Description copied from class:CometEntityGets the repository filename for this particular item
This method MUST be overridden by classes extending CometEntity
- Overrides:
getRepositoryFilenamein classCometEntity- Returns:
- the repository filename of this particular item
- Throws:
CometException- the comet exception
-
getRepositoryPath
Description copied from class:CometEntityGet the relative repository path for this configuration type.
This method MUST be overridden by classes extending CometEntity.
- Overrides:
getRepositoryPathin classCometEntity- Returns:
- relative repository path
- Throws:
CometException- the comet exception
-
removeEntry
Remove entry.- Parameters:
path- the path
-
setItems
Sets items.- Parameters:
items- the items
-
setLabel
Sets label.- Parameters:
label- the label
-