public class ProjectCategory extends DefaultTraversableAmetysObject<ProjectCategoryFactory> implements ProjectsTreeNode
AmetysObject
for storing a project category.Modifier and Type | Field and Description |
---|---|
private static String |
__METADATA_DESCRIPTION |
private static String |
__METADATA_TITLE |
static String |
NODE_TYPE
Project node type name.
|
Constructor and Description |
---|
ProjectCategory(Node node,
String parentPath,
ProjectCategoryFactory factory)
Creates a
ProjectCategory . |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Retrieves the description.
|
String |
getTitle()
Retrieves the title.
|
void |
setDescription(String description)
Set the description.
|
void |
setTitle(String title)
Set the title.
|
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, createChild, getAllowedGroups, getAllowedProfilesForAnonymous, getAllowedProfilesForAnyConnectedUser, getAllowedProfilesForGroups, getAllowedProfilesForUser, getAllowedProfilesForUsers, getAllowedUsers, getChild, getChildren, getDeniedGroups, getDeniedProfilesForAnonymous, getDeniedProfilesForAnyConnectedUser, getDeniedProfilesForGroups, getDeniedProfilesForUser, getDeniedProfilesForUsers, getDeniedUsers, hasChild, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsers
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getNode, getParent, getParentPath, getPath, needsSave, remove, rename, revertChanges, saveChanges
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProjectsTreePath
getChild, getChildAt, getChildPosition, getChildren, hasChild
equals, getId, getName, getParent, getParentPath, getPath, hashCode
getNode
getMetadataHolder
needsSave, rename, revertChanges, saveChanges
remove
public static final String NODE_TYPE
private static final String __METADATA_TITLE
private static final String __METADATA_DESCRIPTION
public ProjectCategory(Node node, String parentPath, ProjectCategoryFactory factory)
ProjectCategory
.node
- the node backing this AmetysObject
.parentPath
- the parent path in the Ametys hierarchy.factory
- the ProjectFactory
which creates the AmetysObject.public String getTitle() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.public void setTitle(String title) throws AmetysRepositoryException
title
- the title.AmetysRepositoryException
- if an error occurs.public String getDescription() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.public void setDescription(String description) throws AmetysRepositoryException
description
- the description.AmetysRepositoryException
- if an error occurs.