- java.lang.Object
-
- aeonics.template.Item<Role.Type>
-
- aeonics.entity.security.Role
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRole.TypeSuperclass for all role entities.
-
Field Summary
Fields Modifier and Type Field Description static Role.TypeSUPERADMIN
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<? extends Role>category()Returns the target entity category.protected java.util.function.Supplier<? extends Role.Type>defaultCreator()Returns the default target entity creator.protected java.lang.Class<? extends Role.Type>defaultTarget()Returns the default target entity type.Template<? extends Role.Type>template()Returns the template to build the target entity.
-
-
-
Field Detail
-
SUPERADMIN
public static final Role.Type SUPERADMIN
-
-
Method Detail
-
defaultTarget
protected java.lang.Class<? extends Role.Type> defaultTarget()
Description copied from class:ItemReturns the default target entity type. This method should be implemented by subclasses to specify the target entity type.- Specified by:
defaultTargetin classItem<Role.Type>- Returns:
- the default target entity type
-
defaultCreator
protected java.util.function.Supplier<? extends Role.Type> defaultCreator()
Description copied from class:ItemReturns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.- Specified by:
defaultCreatorin classItem<Role.Type>- Returns:
- the default target entity creator
-
category
protected java.lang.Class<? extends Role> category()
Description copied from class:ItemReturns the target entity category. This method should be implemented by subclasses to specify the entity category.
-
-