Tag Manager Node

What is it?

It is a bundle which allows the users to tag applications within a private scope.

Design

Connection with other bundles

TagManagerNode needs only the services of PersistencyManager, which allow it to store its data permanently: TagManagerNodeComponentsDiagram

Class diagram

The following diagram shows the most important classes: TagManagerNodeClassDiagram

Current interface

        /**
         * Creates a new private tag
         *
         * Adapted for Astra.
         *
         * @param name Tag name
         * @param appId Application identifier
         * @param userId User identifier
         *
         * @return True if the operation was successful, false otherwise.
         *
         * @author Christian Laverton, modified by David Rozas & Alfredo Perez
         */
        public boolean addTag(String name, String appId, String userId);
        /**
         * Finds and returns all the private tags for the given application for this user.
         *
         *
         * @param appId Application identifier
         * @param userId        User Identifier
         * @param limit Limit on number of results returned. If <=0, then all the results are returned
         *
         * @return List of private tags resulting from query, empty array if there no tags for it,
         *                      or null if there was any problem with the DB.
         *
         * @author Christian Laverton, modified by David Rozas & Alfredo Perez
         *
         */
        public String[] getTags(String appId, String userId, int limit);
        /**
         *
         * Deletes a private tag
         *
         * @param name  Tag name
         * @param appId Application identifier in standard ASTRA format
         * @param userId        User identifier
         *
         * @return      True if the process was successful, false otherwise.
         *
         *
         * @author David Rozas
         *
         */
        public boolean deleteTag(String name, String appId, String userId);

New functionalities:

+Info, contact, etc.:

AstraWiki: TagManagerNode (last edited 2009-08-07 10:46:46 by david.rozas)