Skip to main content

com.eruces.teadmin.ACLTemplate

The ACLTemplate class represents an ACL template.

Inheritance

Static Public Attributes

TypeNameDescription
final intACL_CREATOR_OWNERA flag for setting the creator as owner in ACL.
final intACL_CREATOR_INCLUDEDA flag for including the creator in ACL.

Public Member Functions

MemberDescription
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

ParameterDescription
idlong 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

ParameterDescription
mACLTemplateMember ACL template member to be added

void removeMember(ACLTemplateMember m)

The removeMember method removes an ACL template member.

Parameters

ParameterDescription
mACLTemplateMember 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

ParameterDescription
nameString ACL template name

String toString()

The toString method converts an ACL Template object to a string.

Returns: A string representing the ACL Template object.