com.sapportals.wcm.repository

Interface IEntityMetadata

All Known Subinterfaces:
IMutableEntityMetadata
All Known Implementing Classes:
Content, VaryingContent

public interface IEntityMetadata

Additional content meta data.

Copyright (c) SAP AG 2002-2004


Method Summary
 String getEntityTag()
          Returns the the entity-tag for the content (see RFC2616, section 3.11) and RFC2616, section 14.19).
 Date getExpiryDate()
           
 String getLanguage()
           
 Date getLastModified()
           
 

Method Detail

getEntityTag

String getEntityTag()
                    throws ResourceException
Returns the the entity-tag for the content (see RFC2616, section 3.11) and RFC2616, section 14.19). Note that the entity tag may be a weak entity tag (indicated by a leading "W/"). Only strong entity tags can be used to assert octet-by-octet entity body identity, though.

The Format MUST be either:

Note that the double quotes are part of the entity tag.

Returns:
entity tag or null when not known
Throws:
ResourceException

getExpiryDate

Date getExpiryDate()
                   throws ResourceException
Returns:
the expiry date for the content (see RFC2616, section 14.21) or null when not specified
Throws:
ResourceException

getLanguage

String getLanguage()
                   throws ResourceException
Returns:
the content language (see RFC2616, section 14.12) or null when not known
Throws:
ResourceException

getLastModified

Date getLastModified()
                     throws ResourceException
Returns:
the last modification date (see RFC2616, section 14.29) or null when not known
Throws:
ResourceException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice