Interface RegistrarAdapter
- All Known Implementing Classes:
RegistrarAdapterImpl
public interface RegistrarAdapter
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetInviteUrlForGroup(Group group) getInviteUrlForVo(Vo vo) booleanhasOpenAppInVo(PerunSession sess, Vo vo) booleanmailValidated(PerunSession sess, UUID formItemDataId) voidonDeleteAttributeDefinition(PerunSession sess, AttributeDefinition attributeDefinition) Check that the attribute is not used in any form items as source/destination.voidonDeleteGroup(PerunSession sess, Group group) Reject all applications into the group and all its subgroups (consider deleting?)voidonDeleteMember(PerunSession sess, Member member) Reject all applications of member - vo and its groups (consider deleting?)voidonDeleteUser(PerunSession sess, User user) Reject all applications of user (consider deleting?)voidonDeleteVo(PerunSession sess, Vo vo) Reject all applications into the Vo and all its groups (consider deleting?)voidonRejectApplication(PerunSession sess, Application application) voidonRemoveMemberFromGroup(PerunSession sess, Group group, Member member) Reject all applications of member in the group (consider deleting?)voidonUserIdentityJoined(PerunSession sess, UserExtSource userExtSource)
-
Method Details
-
onDeleteUser
Reject all applications of user (consider deleting?), while freeing all reserved logins. Probably skip rejection notifications for this?- Parameters:
sess-user-
-
onDeleteMember
Reject all applications of member - vo and its groups (consider deleting?), while freeing all reserved logins. Probably skip rejection notifications for this?- Parameters:
sess-member-
-
onRemoveMemberFromGroup
Reject all applications of member in the group (consider deleting?) Probably skip rejection notifications for this? TODO is there a reason why Old reg did not do this?- Parameters:
sess-group-member-
-
onDeleteGroup
Reject all applications into the group and all its subgroups (consider deleting?) not already rejected by deleting the subgroups and members. Free the logins. Probably skip rejection notifications for this?- Parameters:
sess-group-
-
onDeleteVo
void onDeleteVo(PerunSession sess, Vo vo) throws PasswordOperationTimeoutException, InvalidLoginException, PasswordDeletionFailedException Reject all applications into the Vo and all its groups (consider deleting?) not already rejected by deleting the groups and members. Free the logins. Probably skip rejection notifications for this?- Parameters:
sess-vo-- Throws:
PasswordOperationTimeoutExceptionInvalidLoginExceptionPasswordDeletionFailedException
-
onDeleteAttributeDefinition
void onDeleteAttributeDefinition(PerunSession sess, AttributeDefinition attributeDefinition) throws RelationExistsException Check that the attribute is not used in any form items as source/destination. If it is, throw an exception.- Parameters:
sess-attributeDefinition-- Throws:
RelationExistsException
-
onUserIdentityJoined
-
onRejectApplication
-
mailValidated
-
hasOpenAppInVo
-
doesVoHaveExtensionForm
-
getInviteUrlForVo
-
getInviteUrlForGroup
-
getFormItemDataValue
-