Class Tags


public class Tags extends ModelRequest<Tags>
  • Constructor Details

  • Method Details

    • getTags

      public RestTagModelsCollection getTags()
      Retrieves 100 tags (this is the default size when maxItems is not specified) from Alfresco using GET call on "/tags"
      Returns:
      Throws:
      JsonToModelConversionException
    • getTag

      public RestTagModel getTag()
      Retrieves a tag with ID using GET call on using GET call on "/tags/{tagId}"
      Parameters:
      tag -
      Returns:
    • update

      public RestTagModel update(String newTag)
      Update a tag using PUT call on tags/{tagId}
      Parameters:
      tag -
      newTag -
      Returns:
      Throws:
      JsonToModelConversionException
    • deleteTag

      public void deleteTag()
      Delete tag. - DELETE /tags/{tagId}