Class urn_perun_user_facility_attribute_def_def_shell_passwd_scp
java.lang.Object
cz.metacentrum.perun.core.implApi.modules.attributes.AttributesModuleAbstract
cz.metacentrum.perun.core.implApi.modules.attributes.UserFacilityAttributesModuleAbstract
cz.metacentrum.perun.core.impl.modules.attributes.urn_perun_user_facility_attribute_def_def_shell_passwd_scp
- All Implemented Interfaces:
AttributesModuleImplApi, UserFacilityAttributesModuleImplApi
public class urn_perun_user_facility_attribute_def_def_shell_passwd_scp
extends UserFacilityAttributesModuleAbstract
implements UserFacilityAttributesModuleImplApi
- Author:
- Slavek Licehammer <glory@ics.muni.cz>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckAttributeSemantics(PerunSessionImpl sess, User user, Facility facility, Attribute attribute) Checks if value of assigned attribute in relationship between those two entities has a correct semantics.voidcheckAttributeSyntax(PerunSessionImpl sess, User user, Facility facility, Attribute attribute) Checks if value of assigned attribute in relationship between those two entities has a correct syntax.fillAttribute(PerunSessionImpl sess, User user, Facility facility, AttributeDefinition attributeDefinition) Tries to fill an attribute in the relationship between a facility and userReturn attributes definition which is represented by the moduleMethods inherited from class UserFacilityAttributesModuleAbstract
changedAttributeHookMethods inherited from class AttributesModuleAbstract
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AttributesModuleImplApi
getAuthorizedRoles, getDependencies, resolveVirtualAttributeValueChangeMethods inherited from interface UserFacilityAttributesModuleImplApi
changedAttributeHook
-
Constructor Details
-
urn_perun_user_facility_attribute_def_def_shell_passwd_scp
public urn_perun_user_facility_attribute_def_def_shell_passwd_scp()
-
-
Method Details
-
checkAttributeSemantics
public void checkAttributeSemantics(PerunSessionImpl sess, User user, Facility facility, Attribute attribute) throws WrongReferenceAttributeValueException Description copied from interface:UserFacilityAttributesModuleImplApiChecks if value of assigned attribute in relationship between those two entities has a correct semantics.- Specified by:
checkAttributeSemanticsin interfaceUserFacilityAttributesModuleImplApi- Overrides:
checkAttributeSemanticsin classUserFacilityAttributesModuleAbstract- Parameters:
sess- Perun sessionuser- User of the facility.facility- Facility to be used by a user.attribute- Attribute in relationship between facility and user.- Throws:
WrongReferenceAttributeValueException- if the attribute value has wrong/illegal semantics
-
checkAttributeSyntax
public void checkAttributeSyntax(PerunSessionImpl sess, User user, Facility facility, Attribute attribute) throws WrongAttributeValueException Description copied from interface:UserFacilityAttributesModuleImplApiChecks if value of assigned attribute in relationship between those two entities has a correct syntax.- Specified by:
checkAttributeSyntaxin interfaceUserFacilityAttributesModuleImplApi- Overrides:
checkAttributeSyntaxin classUserFacilityAttributesModuleAbstract- Parameters:
sess- Perun sessionuser- User of the facility.facility- Facility to be used by a user.attribute- Attribute in relationship between facility and user.- Throws:
WrongAttributeValueException- if the attribute value has wrong/illegal syntax
-
fillAttribute
public Attribute fillAttribute(PerunSessionImpl sess, User user, Facility facility, AttributeDefinition attributeDefinition) throws WrongAttributeAssignmentException Description copied from interface:UserFacilityAttributesModuleImplApiTries to fill an attribute in the relationship between a facility and user- Specified by:
fillAttributein interfaceUserFacilityAttributesModuleImplApi- Overrides:
fillAttributein classUserFacilityAttributesModuleAbstract- Parameters:
sess- Perun Sessionuser- User of the facilityfacility- Facility to be used by user.attributeDefinition- Attribute in relationship between facility and user to be filled in.- Returns:
- Attribute which MAY be filled in
- Throws:
WrongAttributeAssignmentException
-
getAttributeDefinition
Description copied from interface:AttributesModuleImplApiReturn attributes definition which is represented by the module- Specified by:
getAttributeDefinitionin interfaceAttributesModuleImplApi- Overrides:
getAttributeDefinitionin classAttributesModuleAbstract- Returns:
- attribute definition
-