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 booleanequals(Object o)StringgetDescription()Long description of an operation.StringgetName()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.inthashCode()booleanisPermanent()Test to see if the object is a permanent object or not.voidsetDescription(String description)voidsetName(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.voidsetPermanent(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:Operationname 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:OperationSet 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:OperationLong description of an operation.- Specified by:
getDescriptionin interfaceOperation- Returns:
- String
-
setDescription
public void setDescription(String description)
- Specified by:
setDescriptionin interfaceOperation
-
isPermanent
public boolean isPermanent()
Description copied from interface:OperationTest to see if the object is a permanent object or not.- Specified by:
isPermanentin interfaceOperation- Returns:
- true if the object is permanent.
-
setPermanent
public void setPermanent(boolean permanent)
Description copied from interface:OperationSet flag indicating if the object is a permanent object or not.- Specified by:
setPermanentin interfaceOperation- Parameters:
permanent- true if the object is permanent.
-
-