org.broadleafcommerce.openadmin.server.security.service.type
Class PermissionType

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.security.service.type.PermissionType
All Implemented Interfaces:
Serializable, BroadleafEnumerationType

public class PermissionType
extends Object
implements Serializable, BroadleafEnumerationType

An extendible enumeration of container permission types.

Author:
jfischer
See Also:
Serialized Form

Field Summary
static PermissionType ALL
           
static PermissionType CREATE
           
static PermissionType DELETE
           
static PermissionType OTHER
           
static PermissionType READ
           
static PermissionType UPDATE
           
 
Constructor Summary
PermissionType()
           
PermissionType(String type, String friendlyType)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getFriendlyType()
           
static PermissionType getInstance(String type)
           
 String getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

READ

public static final PermissionType READ

CREATE

public static final PermissionType CREATE

UPDATE

public static final PermissionType UPDATE

DELETE

public static final PermissionType DELETE

ALL

public static final PermissionType ALL

OTHER

public static final PermissionType OTHER
Constructor Detail

PermissionType

public PermissionType()

PermissionType

public PermissionType(String type,
                      String friendlyType)
Method Detail

getInstance

public static PermissionType getInstance(String type)

getType

public String getType()
Specified by:
getType in interface BroadleafEnumerationType

getFriendlyType

public String getFriendlyType()
Specified by:
getFriendlyType in interface BroadleafEnumerationType

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.