Interface MAPCreateDeviceModel

    • Method Detail

      • getCreateDevicePropertyXML

        String getCreateDevicePropertyXML​(String profileName,
                                          String style)
                                   throws AMConsoleException
        Returns the XML for create device property sheet.
        Parameters:
        profileName - Name of Profile.
        style - Name of Style.
        Returns:
        XML for create device property sheet.
        Throws:
        AMConsoleException - if there are no attributes to display.
      • getCreateDeviceDefaultValues

        Map getCreateDeviceDefaultValues()
        Returns a map of attribute name to its default values.
        Returns:
        a map of attribute name to its default values.
      • getCreateDeviceAttributeNames

        Set getCreateDeviceAttributeNames()
        Returns a set of attriute names for device creation.
        Returns:
        a set of attriute names for device creation.
      • createDevice

        void createDevice​(Map values)
                   throws AMConsoleException
        Create new device.
        Parameters:
        values - Attribute Values for the new device.
        Throws:
        AMConsoleException - if device cannot be created.
      • cloneDevice

        void cloneDevice​(String origClientType,
                         String clientType,
                         String deviceName)
                  throws AMConsoleException
        Clones a device.
        Parameters:
        origClientType - Original Client Type.
        clientType - New Client Type.
        deviceName - Device Name.
        Throws:
        AMConsoleException - if device cannot be clone