com.eruces.teadmin.TemplatedDirectory
The TemplatedDirectory class represents a templated directory.
Inheritance
- Inherits com.eruces.teadmin.UpdatableObject
Public Member Functions
| Member | Description |
|---|---|
TemplatedDirectory() | The TemplatedDirectory constructor is the default class constructor. |
long getTemplatedDirectoryId() | The getTemplatedDirectoryId method gets a templated directory ID. |
void setTemplatedDirectoryId(long id) | The setTemplatedDirectoryId method sets the templated directory ID. |
void setHostId(long id) | The setHostId method sets the host ID. |
long getHostId() | The getHostId method gets the host ID. |
long getAclTemplateId() | The getAclTemplateId method gets the ACL tempalte ID. |
void setAclTemplateId(long id) | The setAclTemplateId sets the ACL tempalte ID. |
int getFlag() | The getFlag method gets the tempalted directory flag. |
void setFlag(int flag) | The setFlag method sets the templated directory flag. |
String getPath() | The getPath method gets the path of the templated directory. |
void setPath(String path) | The setPath method sets the path of the templated directory. |
String getAlias() | The getAlias method gets the alias name of the templated directory. |
void setAlias(String alias) | The setAlias method sets the alias name of the templated directory. |
String toString() | The toString method converts a TemplatedDirectory object to a string. |
Member Function Documentation
TemplatedDirectory()
The TemplatedDirectory constructor is the default class constructor.
long getTemplatedDirectoryId()
The getTemplatedDirectoryId method gets a templated directory ID.
Returns: A long integer representing the ID of templated directory.
void setTemplatedDirectoryId(long id)
The setTemplatedDirectoryId method sets the templated directory ID.
Parameters
| Parameter | Description |
|---|---|
id | A long integer representing the ID of templated directory. |
void setHostId(long id)
The setHostId method sets the host ID.
Parameters
| Parameter | Description |
|---|---|
id | A long integer representing the host ID. |
long getHostId()
The getHostId method gets the host ID.
Returns: A long integer representing the host ID.
long getAclTemplateId()
The getAclTemplateId method gets the ACL tempalte ID.
Returns: long A long integer representing the ACL template ID.
void setAclTemplateId(long id)
The setAclTemplateId sets the ACL tempalte ID.
Parameters
| Parameter | Description |
|---|---|
id | A long integer representing the ACL template ID. |
int getFlag()
The getFlag method gets the tempalted directory flag.
ENABLE = 0 to Enable the directory, DISABLE = 1 to Disable the directory.
Returns: int An integer representing the templated directory flag.
void setFlag(int flag)
The setFlag method sets the templated directory flag.
ENABLE = 0 to Enable the directory, DISABLE = 1 to Disable the directory.
Parameters
| Parameter | Description |
|---|---|
flag | An integer representing the templated directory flag. |
String getPath()
The getPath method gets the path of the templated directory.
Returns: A string representing the path of the templated directory.
void setPath(String path)
The setPath method sets the path of the templated directory.
Parameters
| Parameter | Description |
|---|---|
path | A string representing the path of the templated directory. |
String getAlias()
The getAlias method gets the alias name of the templated directory.
Returns: A string representing the alias name of templated directory.
void setAlias(String alias)
The setAlias method sets the alias name of the templated directory.
Parameters
| Parameter | Description |
|---|---|
alias | A string representing the alias name of templated directory. |
String toString()
The toString method converts a TemplatedDirectory object to a string.
Returns: a string of TemplatedDirectory