JBoss.orgCommunity Documentation
Package org.exoplatform.services.cms.folksonomy.NewFolksonomyService;
| Method | Return | Prototype | Description |
|---|---|---|---|
| addPrivateTag(String[] tagsName, Node documentNode, String repository, String workspace, String userName) throws Exception ; |
| void | Add a private tag to a document. A folksonomy link will be created in a tag node. |
| addGroupsTag(String[] tagsName, Node documentNode,String repository, String workspace, String[] roles) throws Exception ; |
| void | Add a group tag to a document. A folksonomy link will be created in a tag node. |
| addPublicTag(String treePath, String[] tagsName, Node documentNode, String repository, String workspace) throws Exception ; |
| void | Add a public tag to a document. A folksonomy link will be created in a tag node. |
| addSiteTag(String siteName, String[] tagsName, Node node, String repository, String workspace) throws Exception ; |
| void | Add a site tag to a document. A folksonomy link will be created in a tag node. |
| getAllPrivateTags(String userName, String repository, String workspace) throws Exception ; |
| List<Node> | Get all private tags. |
| getAllPublicTags(String treePath, String repository, String workspace) throws Exception ; |
| List<Node> | Get all public tags. |
| getAllGroupTagsString[] roles, String repository, String workspace) throws Exception ; |
| List<Node> | Get all tags by groups. |
| getAllGroupTags(String role, String repository, String workspace) throws Exception ; |
| List<Node> | Get all tags by a group. |
| getAllSiteTags(String siteName, String repository, String workspace) throws Exception ; |
| List<Node> | Get all tags of Site. |
| getAllDocumentsByTag(String tagPath, String repository, String workspace, SessionProvider sessionProvider) throws Exception ; |
| List<Node>
| Get all documents which are stored in a tag and return a list of documents in a tag. |
| getTagStyle(String tagPath, String repository, String workspace) throws Exception ; |
| string | Get HTML_STYLE_PROP property in styleName node in the repository. |
| addTagStyle(String styleName, String tagRange, String htmlStyle, String repository, String workspace) throws Exception ; |
| void | Update the properties TAG_RATE_PROP and HTML_STYLE_PROP, following the values tagRate, htmlStyle for a node in tagPath in repository. |
| updateTagStyle(String styleName, String tagRange, String htmlStyle, String repository, String workspace) throws Exception ; |
| void | Update the properties TAG_RATE_PROP and HTML_STYLE_PROP, following the value tagRate, htmlStyle for a node in tagPath in repository. |
| getAllTagStyle(String repository, String workspace) throws Exception ; |
| List<Node> | Get all tag style bases of a folksonomy tree. |
| init(String repository) throws Exception ; |
repository: The repository name. | void | Initialize all TagStylePlugin with session in repository name. |
| removeTagOfDocument(String tagPath, Node document, String repository, String workspace) throws Exception; |
| void | Remove a tag of a given document. |
| removeTag(String tagPath, String repository, String workspace) throws Exception; |
| void | Remove a tag. |
| modifyTagName(String tagPath, String newTagName, String repository, String workspace) throws Exception; |
| Node | Modify the tag name. |
| getLinkedTagsOfDocument(Node documentNode, String repository, String workspace) throws Exception; |
| List<Node> | Get all tags linked to a given document. |
| getLinkedTagsOfDocumentByScope(int scope, String value, Node documentNode, String repository, String workspace) throws Exception; |
| List<Node> | Get all tags linked to a given document by scope. |
| removeTagsOfNodeRecursively(Node node, String repository, String workspace, String username, String groups) throws Exception; |
| void | Remove all tags linked to the child nodes of a given node. |
| addTagPermission(String usersOrGroups); |
usersOrGroups | void | Add given users or groups to tagPermissionList. |
| removeTagPermission(String usersOrGroups); |
usersOrGroups | void | Remove given users or groups from tagPermissionList. |
| getTagPermissionList(); | N/A | List<String> | Return tagPermissionList. |
| canEditTag(int scope, List<String> memberships); |
| boolean | Set the permission to edit a tag for a user. |
| getAllTagNames(String repository, String workspace, int scope, String value) throws Exception; |
| List<String> | Get all tag names which start within a given scope. |