|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TagCreationContext<R>
CreationContext that exposes information common to all types of tagging creation context interfaces.
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getCategories()
Returns a set of categories the resource the tag is being associated to belongs to. |
java.util.Locale |
getLocale()
Returns the locale of the tag |
ObjectID |
getOwnerID()
Returns the ObjectID of the owner of this tag. |
R |
getResource()
Returns the resource this tag is associated to. |
java.lang.String |
getTagName()
Returns the name of this tag. |
boolean |
preserveCategories()
If a TagCreationContext was created without specifying
categories it is possible to preserve all categories that have been
assigned to the tagged resource. |
Method Detail |
---|
java.lang.String getTagName()
java.util.Locale getLocale()
null
if this creation
context must not consider a locale.ObjectID getOwnerID()
ObjectID
of the owner of this tag.
R getResource()
java.util.Set<java.lang.String> getCategories()
null
.
boolean preserveCategories()
TagCreationContext
was created without specifying
categories it is possible to preserve all categories that have been
assigned to the tagged resource.
true
if the categories already associated with the
resource to tag should be preserved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |