public class ProcessModelFolder extends Identity implements java.lang.Cloneable
ProcessModel
s
can be stored. Folders are organized hierarchically, and can
contain either process models or other process model folders.Modifier and Type | Field and Description |
---|---|
static java.lang.Long |
MY_MODELS_FOLDER_ID
The id of the My Models folder.
|
static java.lang.Integer |
SORT_BY_CREATOR
Sort by the Creator (username of the creator) field
|
static java.lang.Integer |
SORT_BY_DATE_CREATED
Sort by the Date Created field
|
static java.lang.Integer |
SORT_BY_DATE_MODIFIED
Sort by the Date Modified
|
static java.lang.Integer |
SORT_BY_DESCRIPTION
Sort by the Description field
|
static java.lang.Integer |
SORT_BY_ID
Sort by the ID field
|
static java.lang.Integer |
SORT_BY_NAME
Sort by the Name field
|
static java.lang.Integer |
SORT_BY_NUM_CHILD_FOLDERS
Sort by number of child folders
|
static java.lang.Integer |
SORT_BY_NUMBER_PROCESS_MODELS
Sort by the Number Process Models (number of process models that the
folder contains) field
|
static java.lang.Integer |
SORT_BY_PARENT_FOLDER_ID
Sort by the Parent Folder ID field
|
static java.lang.Integer |
SORT_BY_PARENT_FOLDER_NAME
Sort by the Parent Folder Name field
|
static java.lang.Integer |
SORT_BY_TYPE
Sort by the Type field
|
static int |
TYPE_COMMUNITY
Constant indicating that a folder is of type community.
|
static int |
TYPE_PRIVATE
Constant indicating that a folder is of type private.
|
Constructor and Description |
---|
ProcessModelFolder() |
ProcessModelFolder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long[] |
getAncestorFolderIds()
Gets the folder's ancestor folder ids
|
java.lang.String[] |
getAncestorFolderNames()
Gets the folder's ancestor folder names
|
java.lang.String |
getCreator()
Gets the user who created this folder.
|
java.sql.Timestamp |
getDateCreated()
Gets the date on which this folder was created.
|
java.sql.Timestamp |
getDateModified()
Gets the date on which this folder was modified.
|
java.lang.String |
getDescription()
Gets a description of this folder.
|
java.lang.String |
getNameEscapeJavascript()
Retrieve the folder name, escaped into its JavaScript String form (e.g.
|
java.lang.Long |
getNumberOfChildFolders()
Gets the number of child folders that this folder has.
|
java.lang.Long |
getNumberOfProcessModels()
Gets the number of process models that are in this folder.
|
int |
getObjectType()
Gets the type of this object, which should always be
TypedVariable.PROCESSMODEL_FOLDER . |
java.lang.Long |
getParentFolderId()
Gets the parent of this folder.
|
java.lang.String |
getParentFolderName()
Gets the name of the parent of this folder.
|
ProcessModelFolderPermissions |
getPermissions()
Gets the permissions that the currently logged-in user has on this folder.
|
static int |
getSortProperty(java.lang.String attribute_)
Gets the (zero-based) index of the sort property referred to by
the given attribute.
|
int |
getType()
Gets the type of this folder
|
java.lang.String |
getUuid()
Get the uuid of this process model folder.
|
boolean |
isSpecial()
Returns whether this is the special "My Models" folder.
|
void |
setAncestorFolderIds(java.lang.Long[] ancestorFolderIds_)
Sets the ancestor folder ids for this folder
|
void |
setAncestorFolderNames(java.lang.String[] ancestorFolderNames_)
Sets the ancestor folder names for this folder
|
void |
setCreator(java.lang.String creator_)
Sets the user who created this folder.
|
void |
setDateCreated(java.sql.Timestamp dateCreated_)
Sets the date on which this folder was created.
|
void |
setDateModified(java.sql.Timestamp dateModified_)
Sets the date on which this folder was modified.
|
void |
setDescription(java.lang.String description_)
Sets a description of this folder.
|
void |
setNumberOfChildFolders(java.lang.Long numberOfChildFolders_)
Sets the number of child folders that this folder has.
|
void |
setNumberOfProcessModels(java.lang.Long numberOfProcessModels_)
Sets the number of process models that are in this folder.
|
void |
setObjectType(int objectType_)
Sets the type of this object, which should always be
TypedVariable.PROCESSMODEL_FOLDER . |
void |
setParentFolderId(java.lang.Long parentFolderId_)
Sets the parent of this folder.
|
void |
setParentFolderName(java.lang.String parentFolderName_)
Sets the name of the parent of this folder.
|
void |
setPermissions(ProcessModelFolderPermissions permissions_)
Sets the permissions that the currently logged-in user has on this folder.
|
void |
setSpecial(boolean special_)
Sets whether this is the special "My Models" folder or not.
|
void |
setType(int type_)
Sets the type of this folder
|
void |
setUuid(java.lang.String uuid)
Set the uuid of this process model folder.
|
java.lang.String |
toString()
Returns a string representation of the
Identity . |
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_NAME
public static final java.lang.Integer SORT_BY_DESCRIPTION
public static final java.lang.Integer SORT_BY_PARENT_FOLDER_ID
public static final java.lang.Integer SORT_BY_PARENT_FOLDER_NAME
public static final java.lang.Integer SORT_BY_NUMBER_PROCESS_MODELS
public static final java.lang.Integer SORT_BY_DATE_CREATED
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_TYPE
public static final java.lang.Integer SORT_BY_DATE_MODIFIED
public static final java.lang.Integer SORT_BY_NUM_CHILD_FOLDERS
public static final int TYPE_COMMUNITY
public static final int TYPE_PRIVATE
public static final java.lang.Long MY_MODELS_FOLDER_ID
ProcessDesignService.getFolder(Long)
. The id is the
same for all users, because the service context used when invoking the API determines
the actual folder that is returned.public ProcessModelFolder()
public ProcessModelFolder(java.lang.String name)
@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getUuid()
getUuid
in class Identity
Identity.setUuid(String)
public void setUuid(java.lang.String uuid)
setUuid
in class Identity
uuid_
- The uuid.Identity.getUuid()
public java.lang.String[] getAncestorFolderNames()
public void setAncestorFolderNames(java.lang.String[] ancestorFolderNames_)
ancestorFolderNames_
- the names to be setgetAncestorFolderNames()
public java.lang.Long[] getAncestorFolderIds()
public void setAncestorFolderIds(java.lang.Long[] ancestorFolderIds_)
ancestorFolderIds_
- the ids to setgetAncestorFolderIds()
public java.lang.Long getNumberOfChildFolders()
public void setNumberOfChildFolders(java.lang.Long numberOfChildFolders_)
numberOfChildFolders_
- the number of child folders that this folder has.public java.lang.String getDescription()
public void setDescription(java.lang.String description_)
description_
- a description of this folder.public java.lang.Long getParentFolderId()
public void setParentFolderId(java.lang.Long parentFolderId_)
parentFolderId_
- the id of the folder that contains this folder.public java.lang.String getParentFolderName()
public void setParentFolderName(java.lang.String parentFolderName_)
parentFolderName_
- the id of the folder that contains this folder.public java.lang.Long getNumberOfProcessModels()
public void setNumberOfProcessModels(java.lang.Long numberOfProcessModels_)
numberOfProcessModels_
- the number of process models
that are in this folder.public java.sql.Timestamp getDateCreated()
public void setDateCreated(java.sql.Timestamp dateCreated_)
dateCreated_
- the date on which this folder was created.public java.sql.Timestamp getDateModified()
public void setDateModified(java.sql.Timestamp dateModified_)
dateModified_
- the date on which this folder was modified.public java.lang.String getCreator()
public void setCreator(java.lang.String creator_)
creator_
- the username of the user who created this folder.public ProcessModelFolderPermissions getPermissions()
public void setPermissions(ProcessModelFolderPermissions permissions_)
permissions_
- the permissions that the currently logged-in user has
on this folder.public int getType()
TYPE_XXX
constants.public void setType(int type_)
type_
- the type of this folder, which should be one of
the TYPE_XXX
constants.public boolean isSpecial()
public void setSpecial(boolean special_)
special_
- true
, if this is the special
"My Models" folder, and false
otherwise.public static int getSortProperty(java.lang.String attribute_)
attribute_
- the name of a property of this beanpublic int getObjectType()
TypedVariable.PROCESSMODEL_FOLDER
.public void setObjectType(int objectType_)
TypedVariable.PROCESSMODEL_FOLDER
.objectType_
- the type of this objectpublic java.lang.String getNameEscapeJavascript()
public java.lang.String toString()
Identity
Identity
. In general,
the toString method returns a string that "textually represents" this
object.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.