Class ObjectService

    • Constructor Detail

      • ObjectService

        public ObjectService()
    • Method Detail

      • serviceConfig

        @Deprecated(forRemoval=true,
                    since="4.0")
        public org.json.JSONObject serviceConfig()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use getConfig
      • load

        public ObjectDB load​(Grant grant)
        Description copied from class: ObjectDB
        Object definition loading
        Overrides:
        load in class ObjectDB
        Parameters:
        grant - User rights
        Returns:
        Object definition
      • loadServiceConfig

        public void loadServiceConfig()
        Load configuration
      • countService

        public long countService()
        Count service
        Returns:
        Count
      • searchService

        public java.util.List<java.lang.String[]> searchService​(boolean pagine)
        Search service
        Parameters:
        pagine - Pagine?
        Returns:
        List of rows
      • selectService

        public boolean selectService​(java.lang.String rowId,
                                     boolean copy)
        Select item
        Parameters:
        rowId - Row ID
        copy - For copy?
        Returns:
        True if item was found
      • dbdocService

        public DocumentDB dbdocService​(java.lang.String rowId,
                                       java.lang.String fieldName)
        Document service
        Parameters:
        rowId - Row ID
        fieldName - Document field ID
        Returns:
        Document or null
      • createService

        public java.lang.String createService()
        Create service
        Returns:
        Error message or null
      • updateService

        public java.lang.String updateService()
        Update service
        Returns:
        Error message or null
      • deleteService

        public java.lang.String deleteService()
        Delete service
        Returns:
        Error message or null
      • actionService

        public java.lang.Object actionService​(java.lang.String action)
        Action service
        Parameters:
        action - Action name
        Returns:
        Action result or error message