org.alfresco.repo.tagging
Class TagScopeImpl

java.lang.Object
  extended by org.alfresco.repo.tagging.TagScopeImpl
All Implemented Interfaces:
TagScope

public class TagScopeImpl
extends java.lang.Object
implements TagScope

Tag Scope. Represents the roll up of tags within the scope of a node tree.


Method Summary
 boolean equals(java.lang.Object obj)
           
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Get the node reference of the tag scope
 TagDetails getTag(java.lang.String tag)
           
 java.util.List getTags()
           
 java.util.List getTags(int topN)
           
 int hashCode()
           
 boolean isTagInScope(java.lang.String tag)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Get the node reference of the tag scope

Specified by:
getNodeRef in interface TagScope
Returns:
node reference of the tag scope

getTags

public java.util.List getTags()
Specified by:
getTags in interface TagScope
See Also:
TagScope.getTags()

getTags

public java.util.List getTags(int topN)
Specified by:
getTags in interface TagScope
See Also:
TagScope.getTags(int)

getTag

public TagDetails getTag(java.lang.String tag)
Specified by:
getTag in interface TagScope
See Also:
TagScope.getTag(java.lang.String)

isTagInScope

public boolean isTagInScope(java.lang.String tag)
Specified by:
isTagInScope in interface TagScope
See Also:
TagScope.isTagInScope(java.lang.String)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.