Class RegistrarAdapterImpl
java.lang.Object
cz.metacentrum.perun.core.blImpl.RegistrarAdapterImpl
- All Implemented Interfaces:
RegistrarAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetInviteUrlForGroup(Group group) getInviteUrlForVo(Vo vo) booleanhasOpenAppInVo(PerunSession sess, Vo vo) voidinit()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) voidsetPerunBl(PerunBl perunBl)
-
Constructor Details
-
RegistrarAdapterImpl
public RegistrarAdapterImpl()
-
-
Method Details
-
init
public void init() -
setPerunBl
-
onDeleteUser
Description copied from interface:RegistrarAdapterReject all applications of user (consider deleting?), while freeing all reserved logins. Probably skip rejection notifications for this?- Specified by:
onDeleteUserin interfaceRegistrarAdapter- Parameters:
sess-user-
-
onDeleteMember
Description copied from interface:RegistrarAdapterReject all applications of member - vo and its groups (consider deleting?), while freeing all reserved logins. Probably skip rejection notifications for this?- Specified by:
onDeleteMemberin interfaceRegistrarAdapter- Parameters:
sess-member-
-
onRemoveMemberFromGroup
Description copied from interface:RegistrarAdapterReject 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?- Specified by:
onRemoveMemberFromGroupin interfaceRegistrarAdapter- Parameters:
sess-group-member-
-
onDeleteGroup
Description copied from interface:RegistrarAdapterReject 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?- Specified by:
onDeleteGroupin interfaceRegistrarAdapter- Parameters:
sess-group-
-
onDeleteVo
public void onDeleteVo(PerunSession sess, Vo vo) throws PasswordOperationTimeoutException, InvalidLoginException, PasswordDeletionFailedException Description copied from interface:RegistrarAdapterReject 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?- Specified by:
onDeleteVoin interfaceRegistrarAdapter- Parameters:
sess-vo-- Throws:
PasswordOperationTimeoutExceptionInvalidLoginExceptionPasswordDeletionFailedException
-
onDeleteAttributeDefinition
public void onDeleteAttributeDefinition(PerunSession sess, AttributeDefinition attributeDefinition) throws RelationExistsException Description copied from interface:RegistrarAdapterCheck that the attribute is not used in any form items as source/destination. If it is, throw an exception.- Specified by:
onDeleteAttributeDefinitionin interfaceRegistrarAdapter- Parameters:
sess-attributeDefinition-- Throws:
RelationExistsException
-
onUserIdentityJoined
- Specified by:
onUserIdentityJoinedin interfaceRegistrarAdapter
-
onRejectApplication
- Specified by:
onRejectApplicationin interfaceRegistrarAdapter
-
mailValidated
- Specified by:
mailValidatedin interfaceRegistrarAdapter
-
hasOpenAppInVo
- Specified by:
hasOpenAppInVoin interfaceRegistrarAdapter
-
doesVoHaveExtensionForm
- Specified by:
doesVoHaveExtensionFormin interfaceRegistrarAdapter
-
getInviteUrlForVo
- Specified by:
getInviteUrlForVoin interfaceRegistrarAdapter
-
getFormItemDataValue
- Specified by:
getFormItemDataValuein interfaceRegistrarAdapter
-
getInviteUrlForGroup
- Specified by:
getInviteUrlForGroupin interfaceRegistrarAdapter
-