com.engiweb.event.common.interfaces

Interface IAutorization



  • public interface IAutorization
    The IAccount interface allows a client to retrieve and manage all information about account objects.
    Author:
    CrossIdeas developer group
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void addChildEntitlement(java.lang.String childName, EntitlementType childType, java.lang.String fatherName, EntitlementType fatherType, java.lang.String target, java.lang.String realm)
      Adds the child entitlement.
      void addEntitlement(java.lang.String userCode, java.lang.String nome, java.lang.String permissionType, java.lang.String desc, EntitlementType type, java.lang.String target, java.lang.String realm)
      Adds the entitlement.
      void addPermission(java.lang.String userCode, java.lang.String permission, java.lang.String permissionType, java.lang.String application, java.lang.String target, java.lang.String realm)
      Adds the permission.
      void createAccount(java.lang.String userCode, java.lang.String name, java.lang.String surname, java.lang.String target, java.lang.String realm)
      Creates the account.
      void disableAccount(java.lang.String userCode, java.lang.String target, java.lang.String realm)
      Disable account.
      void enableAccount(java.lang.String userCode, java.lang.String target, java.lang.String realm)
      Enable account.
      void removeAccount(java.lang.String userCode, java.lang.String name, java.lang.String surname, java.lang.String target, java.lang.String realm)
      Removes the account.
      void removeChildEntitlement(java.lang.String childName, EntitlementType childType, java.lang.String fatherName, EntitlementType fatherType, java.lang.String target, java.lang.String realm)
      Removes the child entitlement.
      void removeEntitlement(java.lang.String userCode, java.lang.String nome, java.lang.String permissionType, java.lang.String desc, EntitlementType type, java.lang.String target, java.lang.String realm)
      Removes the entitlement.
      void removePermission(java.lang.String userCode, java.lang.String permission, java.lang.String permissionType, java.lang.String application, java.lang.String target, java.lang.String realm)
      Removes the permission.
      void resetPassword(java.lang.String userCode, java.lang.String permission, java.lang.String realm)
      Reset password.
    • Method Detail

      • addPermission

        void addPermission(java.lang.String userCode,
                           java.lang.String permission,
                           java.lang.String permissionType,
                           java.lang.String application,
                           java.lang.String target,
                           java.lang.String realm)
                    throws com.engiweb.toolkit.common.BackendException
        Adds the permission.
        Parameters:
        userCode - the user code
        permission - the permission
        permissionType - the permission type
        application - the application
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removePermission

        void removePermission(java.lang.String userCode,
                              java.lang.String permission,
                              java.lang.String permissionType,
                              java.lang.String application,
                              java.lang.String target,
                              java.lang.String realm)
                       throws com.engiweb.toolkit.common.BackendException
        Removes the permission.
        Parameters:
        userCode - the user code
        permission - the permission
        permissionType - the permission type
        application - the application
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • resetPassword

        void resetPassword(java.lang.String userCode,
                           java.lang.String permission,
                           java.lang.String realm)
                    throws com.engiweb.toolkit.common.BackendException
        Reset password.
        Parameters:
        userCode - the user code
        permission - the permission
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • enableAccount

        void enableAccount(java.lang.String userCode,
                           java.lang.String target,
                           java.lang.String realm)
                    throws com.engiweb.toolkit.common.BackendException
        Enable account.
        Parameters:
        userCode - the user code
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • disableAccount

        void disableAccount(java.lang.String userCode,
                            java.lang.String target,
                            java.lang.String realm)
                     throws com.engiweb.toolkit.common.BackendException
        Disable account.
        Parameters:
        userCode - the user code
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • createAccount

        void createAccount(java.lang.String userCode,
                           java.lang.String name,
                           java.lang.String surname,
                           java.lang.String target,
                           java.lang.String realm)
                    throws com.engiweb.toolkit.common.BackendException
        Creates the account.
        Parameters:
        userCode - the user code
        name - the name
        surname - the surname
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeAccount

        void removeAccount(java.lang.String userCode,
                           java.lang.String name,
                           java.lang.String surname,
                           java.lang.String target,
                           java.lang.String realm)
                    throws com.engiweb.toolkit.common.BackendException
        Removes the account.
        Parameters:
        userCode - the user code
        name - the name
        surname - the surname
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • addEntitlement

        void addEntitlement(java.lang.String userCode,
                            java.lang.String nome,
                            java.lang.String permissionType,
                            java.lang.String desc,
                            EntitlementType type,
                            java.lang.String target,
                            java.lang.String realm)
                     throws com.engiweb.toolkit.common.BackendException
        Adds the entitlement.
        Parameters:
        userCode - the user code
        nome - the nome
        permissionType - the permission type
        desc - the desc
        type - the type
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeEntitlement

        void removeEntitlement(java.lang.String userCode,
                               java.lang.String nome,
                               java.lang.String permissionType,
                               java.lang.String desc,
                               EntitlementType type,
                               java.lang.String target,
                               java.lang.String realm)
                        throws com.engiweb.toolkit.common.BackendException
        Removes the entitlement.
        Parameters:
        userCode - the user code
        nome - the nome
        permissionType - the permission type
        desc - the desc
        type - the type
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • addChildEntitlement

        void addChildEntitlement(java.lang.String childName,
                                 EntitlementType childType,
                                 java.lang.String fatherName,
                                 EntitlementType fatherType,
                                 java.lang.String target,
                                 java.lang.String realm)
                          throws com.engiweb.toolkit.common.BackendException
        Adds the child entitlement.
        Parameters:
        childName - the child name
        childType - the child type
        fatherName - the father name
        fatherType - the father type
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception
      • removeChildEntitlement

        void removeChildEntitlement(java.lang.String childName,
                                    EntitlementType childType,
                                    java.lang.String fatherName,
                                    EntitlementType fatherType,
                                    java.lang.String target,
                                    java.lang.String realm)
                             throws com.engiweb.toolkit.common.BackendException
        Removes the child entitlement.
        Parameters:
        childName - the child name
        childType - the child type
        fatherName - the father name
        fatherType - the father type
        target - the target
        realm - the realm
        Throws:
        com.engiweb.toolkit.common.BackendException - the backend exception