Class MemoryPermission
- java.lang.Object
-
- org.apache.archiva.redback.rbac.memory.MemoryPermission
-
- All Implemented Interfaces:
Serializable
,Permission
public class MemoryPermission extends Object implements Permission, Serializable
MemoryPermission- Author:
- Joakim Erdfelt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
Method equalsString
getDescription()
Get nullString
getName()
Get nullOperation
getOperation()
Get nullResource
getResource()
Get nullint
hashCode()
Method hashCodeboolean
isPermanent()
Test to see if the object is a permanent object or not.void
setDescription(String description)
Set nullvoid
setName(String name)
Set nullvoid
setOperation(Operation operation)
Set nullvoid
setPermanent(boolean permanent)
Set flag indicating if the object is a permanent object or not.void
setResource(Resource resource)
Set nullString
toString()
Method toString
-
-
-
Constructor Detail
-
MemoryPermission
public MemoryPermission()
-
-
Method Detail
-
getDescription
public String getDescription()
Get null- Specified by:
getDescription
in interfacePermission
-
getName
public String getName()
Get null- Specified by:
getName
in interfacePermission
- Returns:
- the short name for this permission.
-
getOperation
public Operation getOperation()
Get null- Specified by:
getOperation
in interfacePermission
-
getResource
public Resource getResource()
Get null- Specified by:
getResource
in interfacePermission
- Returns:
- the Resource.
-
setDescription
public void setDescription(String description)
Set null- Specified by:
setDescription
in interfacePermission
- Parameters:
description
-
-
setName
public void setName(String name)
Set null- Specified by:
setName
in interfacePermission
- Parameters:
name
-
-
setOperation
public void setOperation(Operation operation)
Set null- Specified by:
setOperation
in interfacePermission
- Parameters:
operation
-
-
setResource
public void setResource(Resource resource)
Set null- Specified by:
setResource
in interfacePermission
- Parameters:
resource
-
-
isPermanent
public boolean isPermanent()
Description copied from interface:Permission
Test to see if the object is a permanent object or not.- Specified by:
isPermanent
in interfacePermission
- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:Permission
Set flag indicating if the object is a permanent object or not.- Specified by:
setPermanent
in interfacePermission
- Parameters:
permanent
- true if the object is permanent.
-
-