Class JpaOperation
- java.lang.Object
-
- org.apache.archiva.redback.rbac.jpa.model.JpaOperation
-
- All Implemented Interfaces:
Serializable
,Operation
@Entity public class JpaOperation extends Object implements Operation, Serializable
Created by martin on 25.09.16.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDescription()
Long description of an operation.String
getName()
name of the operation that is used in the act of authorization 'modify-foo', 'change-password' NOTE: This field is considered the Primary Key for this object.int
hashCode()
boolean
isPermanent()
Test to see if the object is a permanent object or not.void
setDescription(String description)
void
setName(String name)
Set name of the operation that is used in the act of authorization 'modify-foo', 'change-password' NOTE: This field is considered the Primary Key for this object.void
setPermanent(boolean permanent)
Set flag indicating if the object is a permanent object or not.
-
-
-
Constructor Detail
-
JpaOperation
public JpaOperation()
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Operation
name of the operation that is used in the act of authorization 'modify-foo', 'change-password' NOTE: This field is considered the Primary Key for this object.
-
setName
public void setName(String name)
Description copied from interface:Operation
Set name of the operation that is used in the act of authorization 'modify-foo', 'change-password' NOTE: This field is considered the Primary Key for this object.
-
getDescription
public String getDescription()
Description copied from interface:Operation
Long description of an operation.- Specified by:
getDescription
in interfaceOperation
- Returns:
- String
-
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interfaceOperation
-
isPermanent
public boolean isPermanent()
Description copied from interface:Operation
Test to see if the object is a permanent object or not.- Specified by:
isPermanent
in interfaceOperation
- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:Operation
Set flag indicating if the object is a permanent object or not.- Specified by:
setPermanent
in interfaceOperation
- Parameters:
permanent
- true if the object is permanent.
-
-