com.crossideas.certification.common.interfaces

Interface ITemplate



  • public interface ITemplate
    The ITemplate interface allows a client to retrieve and manage all information about template objects Warning. Il parametro int type dei metodi indica se l'operazione deve essere fatta su una black o un white list. type == 0 white list | 1 black list
    Author:
    CrossIdeas developer group
    • Method Detail

      • insert

        TemplateBean insert(TemplateBean templateBean,
                            java.lang.String cod_oper,
                            java.lang.String token,
                            java.lang.String realm)
                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Returns:
        Throws:
        com.engiweb.toolkit.common.BackendException
      • find

        com.engiweb.pm.entity.BeanList<TemplateBean> find(TemplateBean templateBean,
                                                          com.engiweb.pm.entity.Paging paging,
                                                          java.lang.String token,
                                                          java.lang.String realm)
                                                   throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        paging - Paging
        token - String Authorization string
        realm - String Realm name
        Returns:
        Throws:
        com.engiweb.toolkit.common.BackendException
      • update

        void update(TemplateBean templateBean,
                    java.lang.String cod_oper,
                    java.lang.String token,
                    java.lang.String realm)
             throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • delete

        void delete(TemplateBean templateBean,
                    java.lang.String cod_oper,
                    java.lang.String token,
                    java.lang.String realm)
             throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addGroup

        void addGroup(GroupBean groupBean,
                      TemplateBean templateBean,
                      int addMode,
                      int type,
                      java.lang.String cod_oper,
                      java.lang.String token,
                      java.lang.String reame)
               throws com.engiweb.toolkit.common.BackendException
        Parameters:
        groupBean - GroupBean mandatory
        templateBean - TemplateBean
        addMode -
        type - int type == 1 white list | 0 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeGroup

        void removeGroup(GroupBean groupBean,
                         TemplateBean templateBean,
                         boolean hier,
                         int type,
                         java.lang.String cod_oper,
                         java.lang.String token,
                         java.lang.String realm)
                  throws com.engiweb.toolkit.common.BackendException
        Parameters:
        groupBean - GroupBean mandatory
        templateBean - TemplateBean
        hier -
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addApplication

        void addApplication(com.engiweb.pm.entity.BeanList<ApplicationBean> listBean,
                            TemplateBean templateBean,
                            int type,
                            java.lang.String cod_oper,
                            java.lang.String token,
                            java.lang.String realm)
                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - in type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeApplication

        void removeApplication(com.engiweb.pm.entity.BeanList<ApplicationBean> listBean,
                               TemplateBean templateBean,
                               int type,
                               java.lang.String cod_oper,
                               java.lang.String token,
                               java.lang.String realm)
                        throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addEntitlement

        void addEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> listBean,
                            TemplateBean templateBean,
                            int type,
                            java.lang.String cod_oper,
                            java.lang.String token,
                            java.lang.String realm)
                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeEntitlement

        void removeEntitlement(com.engiweb.pm.entity.BeanList<EntitlementBean> listBean,
                               TemplateBean templateBean,
                               int type,
                               java.lang.String cod_oper,
                               java.lang.String token,
                               java.lang.String realm)
                        throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addPerson

        void addPerson(com.engiweb.pm.entity.BeanList<UserBean> listBean,
                       TemplateBean templateBean,
                       int type,
                       java.lang.String cod_oper,
                       java.lang.String token,
                       java.lang.String realm)
                throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 1 white list | 0 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removePerson

        void removePerson(com.engiweb.pm.entity.BeanList<UserBean> listBean,
                          TemplateBean templateBean,
                          int type,
                          java.lang.String cod_oper,
                          java.lang.String token,
                          java.lang.String reame)
                   throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addAccount

        void addAccount(com.engiweb.pm.entity.BeanList<PwdCfgBean> listBean,
                        TemplateBean templateBean,
                        int type,
                        java.lang.String cod_oper,
                        java.lang.String token,
                        java.lang.String reame)
                 throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean - BeanList of PwdCfgBean
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAccount

        void removeAccount(com.engiweb.pm.entity.BeanList<PwdCfgBean> listBean,
                           TemplateBean templateBean,
                           int type,
                           java.lang.String cod_oper,
                           java.lang.String token,
                           java.lang.String reame)
                    throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean - BeanList of PwdCfgBean
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findPerson

        com.engiweb.pm.entity.BeanList<UserBean> findPerson(UserBean userBean,
                                                            TemplateBean templateBean,
                                                            int type,
                                                            com.engiweb.pm.entity.Paging paging,
                                                            java.lang.String token,
                                                            java.lang.String reame)
                                                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        userBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        paging - Paging
        token - String Authorization string
        realm - String Realm name
        Returns:
        BeanList of UserBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findEntitlement

        com.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(EntitlementBean entBean,
                                                                        TemplateBean templateBean,
                                                                        int type,
                                                                        com.engiweb.pm.entity.Paging paging,
                                                                        java.lang.String token,
                                                                        java.lang.String reame)
                                                                 throws com.engiweb.toolkit.common.BackendException
        Parameters:
        entBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        paging - Paging
        token - String Authorization string
        realm - String Realm name
        Returns:
        BeanList of EntitlementBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findApplication

        com.engiweb.pm.entity.BeanList<ApplicationBean> findApplication(ApplicationBean appBean,
                                                                        TemplateBean templateBean,
                                                                        int type,
                                                                        com.engiweb.pm.entity.Paging paging,
                                                                        java.lang.String token,
                                                                        java.lang.String reame)
                                                                 throws com.engiweb.toolkit.common.BackendException
        Parameters:
        appBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        paging - Paging
        token - String Authorization string
        realm - String Realm name
        Returns:
        BeanList of ApplicationBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findGroup

        com.engiweb.pm.entity.BeanList<GroupBean> findGroup(GroupBean groupBean,
                                                            HierarchyBean hierarchyBean,
                                                            TemplateBean templateBean,
                                                            int type,
                                                            com.engiweb.pm.entity.Paging paging,
                                                            java.lang.String token,
                                                            java.lang.String reame)
                                                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        groupBean - GroupBean used as filter
        hierarchyBean - HierarchyBean mandatory
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        paging - Paging
        token - String Authorization string
        realm - String Realm name
        Returns:
        BeanList of OrgUnitBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findAccount

        com.engiweb.pm.entity.BeanList<PwdCfgBean> findAccount(PwdCfgBean pwdCfgBean,
                                                               TemplateBean templateBean,
                                                               int type,
                                                               com.engiweb.pm.entity.Paging paging,
                                                               java.lang.String token,
                                                               java.lang.String reame)
                                                        throws com.engiweb.toolkit.common.BackendException
        Parameters:
        pwdCfgBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        paging -
        token -
        reame -
        Returns:
        BeanList of PwdCfgBean
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllEntitlement

        void removeAllEntitlement(TemplateBean templateBean,
                                  int type,
                                  java.lang.String cod_oper,
                                  java.lang.String token,
                                  java.lang.String reame)
                           throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllPerson

        void removeAllPerson(TemplateBean templateBean,
                             int type,
                             java.lang.String cod_oper,
                             java.lang.String token,
                             java.lang.String reame)
                      throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllOU

        @Deprecated
        void removeAllOU(TemplateBean templateBean,
                                     int type,
                                     java.lang.String cod_oper,
                                     java.lang.String token,
                                     java.lang.String realm)
                              throws com.engiweb.toolkit.common.BackendException
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllGroup

        void removeAllGroup(TemplateBean templateBean,
                            int type,
                            java.lang.String cod_oper,
                            java.lang.String token,
                            java.lang.String realm)
                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllApplication

        void removeAllApplication(TemplateBean templateBean,
                                  int type,
                                  java.lang.String cod_oper,
                                  java.lang.String token,
                                  java.lang.String realm)
                           throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findRisk

        com.engiweb.pm.entity.BeanList<RiskBean> findRisk(RiskBean riskBean,
                                                          TemplateBean templateBean,
                                                          int type,
                                                          com.engiweb.pm.entity.Paging paging,
                                                          java.lang.String token,
                                                          java.lang.String realm)
                                                   throws com.engiweb.toolkit.common.BackendException
        Parameters:
        riskBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        paging - Paging
        token - String Authorization string
        realm - String Realm name
        Returns:
        Throws:
        com.engiweb.toolkit.common.BackendException
      • addRisk

        void addRisk(com.engiweb.pm.entity.BeanList<RiskBean> listBean,
                     TemplateBean templateBean,
                     int type,
                     java.lang.String cod_oper,
                     java.lang.String token,
                     java.lang.String realm)
              throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeRisk

        void removeRisk(com.engiweb.pm.entity.BeanList<RiskBean> listBean,
                        TemplateBean templateBean,
                        int type,
                        java.lang.String cod_oper,
                        java.lang.String token,
                        java.lang.String realm)
                 throws com.engiweb.toolkit.common.BackendException
        Parameters:
        listBean -
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllRisk

        void removeAllRisk(TemplateBean templateBean,
                           int type,
                           java.lang.String cod_oper,
                           java.lang.String token,
                           java.lang.String reame)
                    throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • removeAllAccount

        void removeAllAccount(TemplateBean templateBean,
                              int type,
                              java.lang.String cod_oper,
                              java.lang.String token,
                              java.lang.String reame)
                       throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templateBean - TemplateBean
        type - int type == 0 white list | 1 black list
        cod_oper - String Code operation. If null PM generates it automatically
        token - String Authorization string
        realm - String Realm name
        Throws:
        com.engiweb.toolkit.common.BackendException
      • findProperty

        com.engiweb.pm.entity.BeanList<TemplatePropBean> findProperty(TemplatePropBean templatePropBean,
                                                                      TemplateBean templateBean,
                                                                      com.engiweb.pm.entity.Paging paging,
                                                                      java.lang.String token,
                                                                      java.lang.String reame)
                                                               throws com.engiweb.toolkit.common.BackendException
        Parameters:
        templatePropBean -
        templateBean - TemplateBean
        paging -
        token -
        reame -
        Returns:
        Throws:
        com.engiweb.toolkit.common.BackendException
      • updateProperty

        void updateProperty(com.engiweb.pm.entity.BeanList<TemplatePropBean> propertyBeans,
                            TemplateBean templateBean,
                            java.lang.String cod_oper,
                            java.lang.String token,
                            java.lang.String reame)
                     throws com.engiweb.toolkit.common.BackendException
        Parameters:
        propertyBeans -
        templateBean - TemplateBean
        cod_oper -
        token -
        reame -
        Throws:
        com.engiweb.toolkit.common.BackendException