@Deprecated public class MenuTree extends java.lang.Object implements LocalId, java.lang.Cloneable
This class represents a fragment of the collaboration application's navigation bar menutree, and corresponds to an entity in the application (a knowledge center, community, folder, or document)
Copyright: Copyright (c) 2002, 2003
Company: Appian Corporation
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_CREATOR
Deprecated.
Sort by the Creator property
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
Sort by the ID property
|
static java.lang.Integer |
SORT_BY_KNOWLEDGE_CENTER_ID
Deprecated.
Sort by the Knowledge Center ID property
|
static java.lang.Integer |
SORT_BY_NAME
Deprecated.
Sort by the Name property
|
static java.lang.Integer |
SORT_BY_PARENT_ID
Deprecated.
Sort by the Parent ID property
|
static java.lang.Integer |
SORT_BY_TYPE
Deprecated.
Sort by the Type property
|
static java.lang.Integer |
SORT_BY_USER_ACCESS
Deprecated.
Sort by the User Access property
|
Constructor and Description |
---|
MenuTree()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
|
java.lang.String |
getCreator()
Deprecated.
Gets the user who created the entity
|
java.lang.Long |
getId()
Deprecated.
Gets the unique ID of the entity that this
MenuTree
represents |
java.lang.Long |
getKnowledgeCenterId()
Deprecated.
Gets the unique ID of the knowledge center which the entity belongs to.
|
java.lang.String |
getName()
Deprecated.
Gets the name of the entity that this
MenuTree
represents |
java.lang.Long |
getParentId()
Deprecated.
Gets the unique ID of the parent of the entity that this
MenuTree
represents |
java.lang.Long |
getType()
Deprecated.
Gets the type of the entity that this
MenuTree
represents. |
java.lang.Long |
getUserAccess()
Deprecated.
Retrieves the access permissions that the user has for the entity that
this
MenuTree represents. |
void |
setCreator(java.lang.String creator)
Deprecated.
Gets the user who created the entity
|
void |
setId(java.lang.Long id)
Deprecated.
Gets the unique ID of the entity that this
MenuTree
represents |
void |
setKnowledgeCenterId(java.lang.Long kcid)
Deprecated.
Sets the unique ID of the knowledge center which the entity belongs to.
|
void |
setName(java.lang.String name)
Deprecated.
Gets the name of the entity that this
MenuTree
represents |
void |
setParentId(java.lang.Long pid)
Deprecated.
Sets the unique ID of the parent of the entity that this
MenuTree
represents |
void |
setType(java.lang.Long type)
Deprecated.
Sets the type of the entity that this
MenuTree
represents. |
void |
setUserAccess(java.lang.Long useraccess)
Deprecated.
Sets the access permissions that the user has for the entity that
this
MenuTree represents. |
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_PARENT_ID
public static final java.lang.Integer SORT_BY_NAME
public static final java.lang.Integer SORT_BY_TYPE
public static final java.lang.Integer SORT_BY_KNOWLEDGE_CENTER_ID
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_USER_ACCESS
public java.lang.String getCreator()
public java.lang.Long getId()
MenuTree
representsgetId
in interface LocalId
LocalId.setId(Long)
public java.lang.Long getKnowledgeCenterId()
public java.lang.String getName()
MenuTree
representspublic java.lang.Long getParentId()
MenuTree
representspublic java.lang.Long getType()
MenuTree
represents.0 = knowledge center
, 1 = community
,
2 = normal folder
, 3 = top-level folder
public java.lang.Long getUserAccess()
MenuTree
represents.0 = read-only
, 1 = author (read/write)
,
2 = adminstrator
, 3 = no access
public void setCreator(java.lang.String creator)
creator
- the unique ID of the user who created the entitypublic void setId(java.lang.Long id)
MenuTree
representssetId
in interface LocalId
id
- the unique ID of the entityLocalId.getId()
public void setKnowledgeCenterId(java.lang.Long kcid)
kcid
- the unique ID of the knowledge centerpublic void setName(java.lang.String name)
MenuTree
representsname
- the name of the entitypublic void setParentId(java.lang.Long pid)
MenuTree
representspid
- the unique ID of the parent of the entitypublic void setType(java.lang.Long type)
MenuTree
represents.type
- a number corresponding to one of the following values :
0 = knowledge center
, 1 = community
,
2 = normal folder
, 3 = top-level folder
public void setUserAccess(java.lang.Long useraccess)
MenuTree
represents.useraccess
- a number corresponding to one of the following values :
0 = read-only
, 1 = author (read/write)
,
2 = adminstrator
, 3 = no access
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.