[
http://jira.nuxeo.org/browse/NXP-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53784#action_53784
]
Radu Darlea commented on NXP-3430:
----------------------------------
The service is located in nuxeo-features. It consists in 3 modules: api, core,
facade. In the future, a fourth one will hold the webengine integration.
A new Tag document type is created. The service offers support for creating the
Tag documents anywhere in the document space or in a RootTag hidden document.
The service is connecting to default Nuxeo DB and works on a Tagging table with
the columns:
tagId - the ID of the tag applied
targetId - the ID of the document tagged
author - who tagged
isPrivate - flag
The service offers standard API for creating tags, tagging documents, remove
tagging, listing and querying tags and documents, retrieve the clouds. Not all
clouds are yet implemented, when other cloud flavors are needed it is a matter
of adapting existing code. The popular cloud is offered already.
The DB operations are performed through native and named queries and through
JPA updates.
The DB connection is right now hardcoded, it will be stored in a property file
in the config.
If the decision will be to move the service back as addon, the webengine module
will be required.
> Tag Service
> -----------
>
> Key: NXP-3430
> URL: http://jira.nuxeo.org/browse/NXP-3430
> Project: Nuxeo Enterprise Platform
> Issue Type: New Feature
> Affects Versions: 5.2 RC
> Reporter: Radu Darlea
> Fix For: 5.2.1
>
>
> Implement a simple Tag Service to tag a webpage or blog post (coming later)
> 1/ Tagging
> The user can choose an existing tag or write a new one.
> The Tag Service can be used from WebEngine *and* from Nuxeo EP web client
> Only authentified users with write rights can tag a webpage
> A user can fill one or several tags for a webpage
> He clicks on link 'tagger' and fills the field with a keyword. If he wants to
> fill several tags, he can separate it with a coma.
> 2/Tag cloud
> Tags are displayed, in a fragment in left margin, in a tag cloud.
> The size of police of the word is proportionnal on the number of occurence of
> the tag.
> The display of this tag cloud is contextual to a mini site.
> If you click on a tag, the list of corresponding pages is displayed (just
> like a search result -see search ticket)
> 3/Display of tags of the page :
> on the right margin, in a new fragment, we want to have the tags of this
> webpage displayed, as a list (see mockup)
> The fragment has title "Tags".
> Acceptance tests
> a)User is on a webpage (or wikipage, or , later , blogpost) called "webpage1"
> He clicks on the link to add tags
> He enters a new tag 'graphic design'
> He goes on another webpage : webpage2
> He enters the same tag for webpage2
> He enters another tag for this webpage2 : 'nature'
> The tag cloud displays 'graphic design' bigger than nature
> He enters tags 'graphic design' and 'nature' for a new page, webpage3 (by
> separating the 2 tags by a coma)
> b)User clicks on tag "graphic design"
> The list of webpages tagged "graphic design" is displayed : webpage1,
> webpage2, webpage3
> When he clicks on any of those pages, he can do usual actions (edit, view,
> navigation, tag, search etc.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets