public interface Promotable extends Accessible
Modifier and Type | Interface and Description |
---|---|
static class |
Promotable.Impl
Implementation of complex methods.
|
Modifier and Type | Field and Description |
---|---|
static String |
PROMOTION_SCORE |
Modifier and Type | Method and Description |
---|---|
void |
addDemotion(UserProfile user) |
void |
addPromotion(UserProfile user) |
Iterable<UserProfile> |
getDemoters() |
Iterable<UserProfile> |
getPromoters() |
int |
getPromotionScore() |
boolean |
isPromotable() |
boolean |
isPromoted() |
boolean |
isPromotedBy(UserProfile user) |
void |
removeDemotion(UserProfile user) |
void |
removePromotion(UserProfile user) |
addAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScope
getPermissionGrants
as, getId, getProperty, getProperty, getPropertyKeys, getType
static final String PROMOTION_SCORE
Iterable<UserProfile> getPromoters()
Iterable<UserProfile> getDemoters()
void addPromotion(UserProfile user)
void addDemotion(UserProfile user)
void removePromotion(UserProfile user)
void removeDemotion(UserProfile user)
boolean isPromoted()
boolean isPromotedBy(UserProfile user)
boolean isPromotable()
int getPromotionScore()
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.