Class FileSystemContentManager.Metadata

    • Method Detail

      • isMetadataProperty

        public static boolean isMetadataProperty​(String name)
        Determines if the property name is a standard metadata property. This method returns the inverse result of isCustomProperty(String)
        Parameters:
        name - A property name (cannot be null).
        Returns:
        true when the property name is recognized as a standard metadata property, otherwise false.
      • isCustomProperty

        public static boolean isCustomProperty​(String name)
        Determines if the property name is a custom content property. This method returns the inverse result of isMetadataProperty(String)
        Parameters:
        name - A property name (cannot be null).
        Returns:
        true when the property name is not recognized as a standard metadata property, otherwise false.
      • getMetadataProperty

        public final String getMetadataProperty​(String key)
      • setCustomProperty

        public final void setCustomProperty​(String key,
                                            String dataType,
                                            String value)
      • getCustomPropertyDataType

        public final String getCustomPropertyDataType​(String key)
      • getCustomPropertyValue

        public final String getCustomPropertyValue​(String key)
      • customContentEntrySet

        public Set<Map.Entry<String,​com.aquima.interactions.portal.content.FileSystemContentManager.Tuple>> customContentEntrySet()
      • getId

        public GUID getId()
        Description copied from interface: IContentMetadata
        Returns the id of the content, never null
        Specified by:
        getId in interface IContentMetadata
        Returns:
        the id of the content, never null
      • getName

        public String getName()
        Description copied from interface: IContentMetadata
        Returns the name of the content, never null
        Specified by:
        getName in interface IContentMetadata
        Returns:
        the name of the content, never null
      • getContentType

        public final String getContentType()
        Description copied from interface: IContentMetadata
        Returns the content type of the content, may be null if no content type was specified
        Specified by:
        getContentType in interface IContentMetadata
        Returns:
        the content type of the content, may be null if no content type was specified
      • getSize

        public long getSize()
        Description copied from interface: IContentMetadata
        Returns the size of the content
        Specified by:
        getSize in interface IContentMetadata
        Returns:
        the size of the content
      • getCreatedBy

        public String getCreatedBy()
        Description copied from interface: IContentMetadata
        Returns the user id of the user that created the content, never null
        Specified by:
        getCreatedBy in interface IContentMetadata
        Returns:
        the user id of the user that created the content, never null
      • getLastUpdatedBy

        public String getLastUpdatedBy()
        Description copied from interface: IContentMetadata
        Returns the user id of the last user that updated the content, may be null
        Specified by:
        getLastUpdatedBy in interface IContentMetadata
        Returns:
        the user id of the last user that updated the content, may be null
      • setCaseId

        public void setCaseId​(Long caseId)
        Sets the optionally provided case id.
      • getCaseId

        public Long getCaseId()
        Description copied from interface: IContentMetadata
        Returns the optionally set case id, may be null
        Specified by:
        getCaseId in interface IContentMetadata
        Returns:
        The optionally provided caseId.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object