org.apache.turbine.om.security
Interface SecurityEntity

All Known Subinterfaces:
Group, Permission, Role, User
All Known Implementing Classes:
LDAPUser, TorqueGroup, TorqueObject, TorquePermission, TorqueRole, TorqueUser

public interface SecurityEntity

This class represents a Group of Users in the system that are associated with specific entity or resource. The users belonging to the Group may have various Roles. The Permissions to perform actions upon the resource depend on the Roles in the Group that they are assigned.

Version:
$Id: SecurityEntity.java 534527 2007-05-02 16:10:59Z tv $
Author:
Rafal Krzewski, Henning P. Schmiedehausen, Marco Knüttel

Method Summary
 int getId()
          Get the Id of the SecurityEntity.
 java.lang.Integer getIdAsObj()
          Get the Id of the SecurityEntity as an Integer object.
 java.lang.String getName()
          Get the Name of the SecurityEntity.
 void setId(int id)
          Sets the Id of the SecurityEntity.
 void setName(java.lang.String name)
          Sets the Name of the SecurityEntity.
 

Method Detail

getName

public java.lang.String getName()
Get the Name of the SecurityEntity.

Returns:
The Name of the SecurityEntity.

setName

public void setName(java.lang.String name)
Sets the Name of the SecurityEntity.

Parameters:
name - Name of the SecurityEntity.

getId

public int getId()
Get the Id of the SecurityEntity.

Returns:
The Id of the SecurityEntity.

getIdAsObj

public java.lang.Integer getIdAsObj()
Get the Id of the SecurityEntity as an Integer object.

Returns:
The Id of the SecurityEntity.

setId

public void setId(int id)
Sets the Id of the SecurityEntity.

Parameters:
id - The new Id of the SecurityEntity


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.