com.sapportals.wcm.repository

Interface IEntityMetadata

All Known Subinterfaces:
IMutableEntityMetadata
All Known Implementing Classes:
Content

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

public 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

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

getLanguage

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

getLastModified

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


Copyright 2006 SAP AG Complete Copyright Notice