Interface IResourceProperties


public interface IResourceProperties
System properties of given resource.

The meaning of last changed in connection with resource with older revision is dependent on implementation of IRepositoryService.

Author:
Stepan Roh, Polarion Software
  • Field Details

  • Method Details

    • getLocation

      ILocation getLocation()
      Absolute location with revision.
      Returns:
      location
    • getResourceKind

      String getResourceKind()
      Resource kind. One of KIND_* constants (file or folder).
      Returns:
      kind
    • getFileSize

      long getFileSize()
      File size (valid only for KIND_FILE, garbage otherwise).
      Returns:
      file size
    • getLastChangedDate

      Date getLastChangedDate()
      Date of last change.
      Returns:
      change date (may be null)
    • getLastChangedRevision

      String getLastChangedRevision()
      Revision of last change.
      Returns:
      change revision (may be null)
    • getLastChangedAuthor

      String getLastChangedAuthor()
      Author of last change.
      Returns:
      change author (may be null)
    • hasCustomProperties

      boolean hasCustomProperties()
      Whether this resource has some custom properties set.
      Returns:
      true if it has some custom properties
    • getAccessibleURI

      String getAccessibleURI()
      Universally accessible URI of this resource.

      May return null if there is no such URI available or not supported by storage.

      Returns:
      URI (as a String or null