Package mc.core.model.channel
Class Navigation
java.lang.Object
mc.core.model.base.EntityBase
mc.core.model.base.ComplexEntity
mc.core.model.base.HrcEntity
mc.core.model.channel.Navigation
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity,IEntity,IHrcManaged<Navigation>,ISortableEntity,ITypeManaged
Entity representing an element of a navigation tree. A navigation tree or hierarchy is created to structure the data
for publication. A Navigation always belongs to only one NavigationHrc and has a parent navigation unless it is a
root element. Navigation must have a NavigationType which provides configuration info as well as the level of the
Navigation.
Nodes can be assigned directly to Navigations in order to give them a place in the navigation structure. Another approach is to assign a Classification to the Navigation. During publication all Nodes assigned to the Classification will be exported with the Navigation.
Nodes can be assigned directly to Navigations in order to give them a place in the navigation structure. Another approach is to assign a Classification to the Navigation. During publication all Nodes assigned to the Classification will be exported with the Navigation.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class mc.core.model.base.HrcEntity
HrcEntity.HrcEntityComparator, HrcEntity.ParamNested classes/interfaces inherited from class mc.core.model.base.ComplexEntity
ComplexEntity.ComplexEntityComparatorNested classes/interfaces inherited from class mc.core.model.base.EntityBase
EntityBase.EntityComparator -
Field Summary
Fields inherited from class mc.core.model.base.EntityBase
INTDESC_COLUMN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNavigation can either assign to a list of Nodes or to a classification.getHrc()override in derived classes
return hierarchygetNodes()getType()override in derived classes, return null if ComplexEntity-subclass is not type managed.typesafe retrieval of HrcEntity children.typesafe retrieval of HrcEntity parent.typesafe retrieval of HrcEntity parents.hrcPath()typesafe retrieval of HrcEntity parents plus entity itself.typesafe retrieval of HrcEntity visible children (filtered on life cycle flag visible)
never return proxiesvoidsetClassification(Classification classification) voidsetNavigationHrc(NavigationHrc navigationHrc) voidsetNavigationType(NavigationType navigationType) voidsetNodes(List<NavigationToNode> nodes) voidsetType(ComplexTypeEntity type) override in derived classes if ComplexEntity-subclass is type managed, else do nothing.
be used by entity mapperMethods inherited from class mc.core.model.base.HrcEntity
addChild, getChildren, getParent, getVisibleChildren, hrcParentsDisplay, hrcPathDisplay, hrcPathDisplay, setChildren, setParentMethods inherited from class mc.core.model.base.ComplexEntity
addState, getAttributes, getCollections, getCollections, getCollectionToCEs, getDateCreated, getDateModified, getEntityData, getEntityDatas, getEntityFilters, getEntityOwner, getExternalKey, getFileId, getFilename, getHasObjectRights, getId, getInternalDescription, getLifeCycleFlag, getMasterId, getMasterLocale, getMemos, getParameter, getParameters, getParameterValue, getPermissions, getRelatedEntities, getState, getStateGroupTypes, getStates, getStatesToRemove, getVersions, getWatches, isArchived, isDeleted, isRightInheritanceDisabled, isSecondaryCollection, isVisible, setAttributes, setCollectionToCEs, setDateCreated, setDateModified, setEntityDatas, setEntityFilters, setEntityOwner, setExternalKey, setFileId, setFilename, setId, setLifeCycleFlag, setMasterId, setMasterLocale, setMemos, setParameters, setPermissions, setRelatedEntities, setRightInheritanceDisabled, setStates, setVersions, setWatchesMethods inherited from class mc.core.model.base.EntityBase
equals, getCollection, getDescription, getDescription, getFlag, getIsSystem, getName, getName, getNamespace, getPrio, hashCode, setCollection, setDescription, setDescription, setFlag, setInternalDescription, setIsSystem, setName, setName, setNamespace, setPrio, toStringMethods inherited from interface mc.core.model.base.IBaseEntity
getId, setIdMethods inherited from interface mc.core.model.base.IEntity
getDescription, getInternalDescription, getName, getPrio, setInternalDescriptionMethods inherited from interface mc.core.model.base.IHrcManaged
hrcParentsDisplay, hrcPathDisplay, hrcPathDisplay
-
Constructor Details
-
Navigation
public Navigation()
-
-
Method Details
-
setType
Description copied from class:ComplexEntityoverride in derived classes if ComplexEntity-subclass is type managed, else do nothing.
be used by entity mapper- Overrides:
setTypein classComplexEntity
-
getNodes
-
setNodes
-
getClassification
Navigation can either assign to a list of Nodes or to a classification. -
setClassification
-
getType
Description copied from class:ComplexEntityoverride in derived classes, return null if ComplexEntity-subclass is not type managed.- Specified by:
getTypein interfaceITypeManaged- Specified by:
getTypein classComplexEntity
-
getHrc
Description copied from class:HrcEntityoverride in derived classes
return hierarchy -
hrcChildren
Description copied from interface:IHrcManagedtypesafe retrieval of HrcEntity children. never return proxies- Specified by:
hrcChildrenin interfaceIHrcManaged<Navigation>- Returns:
- typesafe list of children entities or empty list. never null
-
hrcVisibleChildren
Description copied from interface:IHrcManagedtypesafe retrieval of HrcEntity visible children (filtered on life cycle flag visible)
never return proxies- Specified by:
hrcVisibleChildrenin interfaceIHrcManaged<Navigation>- Returns:
- typesafe list of children entities or empty list. never null
-
hrcParent
Description copied from interface:IHrcManagedtypesafe retrieval of HrcEntity parent. never return proxy. use this preferable over getParent() if you want access type special properties or use entity class, instead of safeCast to target type yourself. still use getParent() if you only need the id, cause no need to initialize (load) proxy then- Specified by:
hrcParentin interfaceIHrcManaged<Navigation>- Returns:
- parent entity or null
-
hrcParents
Description copied from interface:IHrcManagedtypesafe retrieval of HrcEntity parents. never return proxies. use this if you want access type special properties or use entity class, instead of safeCast to target type yourself- Specified by:
hrcParentsin interfaceIHrcManaged<Navigation>- Overrides:
hrcParentsin classHrcEntity- Returns:
- Parents starting from root up to (but not including) this
HrcEntity.
-
hrcPath
Description copied from interface:IHrcManagedtypesafe retrieval of HrcEntity parents plus entity itself. never return proxies. use this if you want access type special properties or use entity class, instead of safeCast to target type yourself- Specified by:
hrcPathin interfaceIHrcManaged<Navigation>- Overrides:
hrcPathin classHrcEntity- Returns:
- List of ancestors starting with root ancestor and including ourself at the end
- See Also: