com.eruces.teadmin.ACLTemplate
The ACLTemplate class represents an ACL template.
Inheritance
- Inherits com.eruces.teadmin.UpdatableObject
Static Public Attributes
| Type | Name | Description |
|---|---|---|
| final int | ACL_CREATOR_OWNER | A flag for setting the creator as owner in ACL. |
| final int | ACL_CREATOR_INCLUDED | A flag for including the creator in ACL. |
Public Member Functions
| Member | Description |
|---|---|
ACLTemplate() | The ACLTemplat constructor is the default class constructor. |
long getACLTemplateID() | The getACLTemplateID method gets an ACL template ID. |
void setACLTemplateID(long id) | The setACLTemplateID method sets an ACL template ID. |
int getFlag() | The getFlag method gets an ACL Template Flag. |
void addMember(ACLTemplateMember m) | The addMember method adds an ACL template member. |
void removeMember(ACLTemplateMember m) | The removeMember method removes an ACL template member. |
TreeSet getAllMembers() | The getAllMembers method gets all ACL template members. |
String getName() | The getName method gets an ACL template name. |
void setName(String name) | The setName method sets an ACL template name. |
String toString() | The toString method converts an ACL Template object to a string. |
Member Function Documentation
ACLTemplate()
The ACLTemplat constructor is the default class constructor.
long getACLTemplateID()
The getACLTemplateID method gets an ACL template ID.
Returns: long ACL Template ID
void setACLTemplateID(long id)
The setACLTemplateID method sets an ACL template ID.
Parameters
| Parameter | Description |
|---|---|
id | long ACL Template ID |
int getFlag()
The getFlag method gets an ACL Template Flag.
Returns: An integer representing the ACL Template Flag value. Typically 1.
See also: ACL_CREATOR_OWNER
void addMember(ACLTemplateMember m)
The addMember method adds an ACL template member.
Parameters
| Parameter | Description |
|---|---|
m | ACLTemplateMember ACL template member to be added |
void removeMember(ACLTemplateMember m)
The removeMember method removes an ACL template member.
Parameters
| Parameter | Description |
|---|---|
m | ACLTemplateMember ACL template member to be removed |
TreeSet getAllMembers()
The getAllMembers method gets all ACL template members.
Returns: TreeSet ACL template members
String getName()
The getName method gets an ACL template name.
Returns: String ACL template name
void setName(String name)
The setName method sets an ACL template name.
Parameters
| Parameter | Description |
|---|---|
name | String ACL template name |
String toString()
The toString method converts an ACL Template object to a string.
Returns: A string representing the ACL Template object.