Interface IdTypeService
public interface IdTypeService
Allows performing operations related to
IdType-
Method Summary
Modifier and TypeMethodDescriptionReturns anIdTypegiven a type.voidCauses the IdType related configuration to be reloaded from the config store.typesWhichCanAddMember(IdType type) Returns the types which have the provided type added as a member.Returns the types which can be a member of the provided type.Returns the types which have the provided type as a member.
-
Method Details
-
typesWhichCanBeMembersOf
Returns the types which can be a member of the provided type. For example, a USER might be able to be a member of a GROUP.- Parameters:
type- The type to return information on- Returns:
- The types which can be members of the provided type
-
typesWhichCanHaveMember
Returns the types which have the provided type as a member. For example, a GROUP might be able to have a USER as a member.- Parameters:
type- The type to return information on- Returns:
- The types which have the provided type as a member
-
typesWhichCanAddMember
Returns the types which have the provided type added as a member. For example, a GROUP might be able to have a USER added as a member, but a FILTEREDROLE might not, even if a USER can be a member of a FILTEREDROLE.- Parameters:
type- The type to return information on- Returns:
- The types which have the provided type added as a member
-
reloadTypeCache
void reloadTypeCache()Causes the IdType related configuration to be reloaded from the config store. This may be useful if the configuration failed to load originally, and default configuration was loaded instead. -
getType
Returns anIdTypegiven a type.- Parameters:
type- the name of the type- Returns:
- the corresponding IdType
- Throws:
IdRepoException- if there are no corresponding types.
-