OracleAS Syndication Services API Reference
10g (9.0.4)

Part No. B10399-01

oracle.syndicate.server.cp.message
Interface CPItemCommonAttributes

All Known Subinterfaces:
CPItem, CPItemGroup, CPItemRef

public interface CPItemCommonAttributes

Provides accessors for cp package item common attributes

Since:
9.0.4

Method Summary
 void addExtendedProperty(java.lang.String name, java.lang.Object value)
          Adds the extended property, if there is a property with the same name, the value will be overwriten.
 ISODateTime getActivation()
          Returns cp item activation date
 java.lang.String getContentFilename()
          Returns cp item content filename
 java.lang.String getContentType()
          Returns cp item content type
 ISODateTime getExpiration()
          Returns cp item expiration date
 java.util.Map getExtendedProperties()
          Returens the extended properties
 java.lang.Object getExtendedProperty(java.lang.String name)
          Returens the extended property by name
 java.lang.String getID()
          Returns cp item ID
 java.lang.String getIPStatus()
          Returns cp item intellectual status
 java.lang.String getLicense()
          Returns cp item license information
 java.lang.String getRightsHolder()
          Returns cp item rights holder
 boolean hasShowCredit()
          Returns true if the cp item show-credit attribute is set
 void setActivation(ISODateTime date)
          Sets the activation of the cp item
 void setContentFilename(java.lang.String filename)
          Sets the content filename of the cp item
 void setContentType(java.lang.String contentType)
          Sets the content type of the cp item
 void setExpiration(ISODateTime expiration)
          Sets the expiration date of the cp item
 void setID(java.lang.String id)
          Sets the ID of the cp item
 void setIPStatus(java.lang.String ipStatus)
          Sets the ip status of the cp item
 void setLicense(java.lang.String license)
          Sets the license information of the cp item
 void setRightsHolder(java.lang.String rightsHolder)
          Sets the rights holder of the cp item
 void setShowCredit(boolean showCredit)
          Sets the show credit attribute of the cp item

 

Method Detail

getID

public java.lang.String getID()
Returns cp item ID

getActivation

public ISODateTime getActivation()
Returns cp item activation date

getContentFilename

public java.lang.String getContentFilename()
Returns cp item content filename

getContentType

public java.lang.String getContentType()
Returns cp item content type

getExpiration

public ISODateTime getExpiration()
Returns cp item expiration date

getIPStatus

public java.lang.String getIPStatus()
Returns cp item intellectual status

getLicense

public java.lang.String getLicense()
Returns cp item license information

getRightsHolder

public java.lang.String getRightsHolder()
Returns cp item rights holder

hasShowCredit

public boolean hasShowCredit()
Returns true if the cp item show-credit attribute is set

getExtendedProperties

public java.util.Map getExtendedProperties()
Returens the extended properties

getExtendedProperty

public java.lang.Object getExtendedProperty(java.lang.String name)
Returens the extended property by name

setID

public void setID(java.lang.String id)
Sets the ID of the cp item
Parameters:
id, - the id of the cp item

setActivation

public void setActivation(ISODateTime date)
Sets the activation of the cp item
Parameters:
date, - the activation date of the cp item

setContentFilename

public void setContentFilename(java.lang.String filename)
Sets the content filename of the cp item
Parameters:
filename, - the filename of the cp item

setContentType

public void setContentType(java.lang.String contentType)
Sets the content type of the cp item
Parameters:
contentType, - the contentType of the cp item

setExpiration

public void setExpiration(ISODateTime expiration)
Sets the expiration date of the cp item
Parameters:
expiration, - the expiration date of the cp item

setIPStatus

public void setIPStatus(java.lang.String ipStatus)
Sets the ip status of the cp item
Parameters:
ipStatus, - the ip status of the cp item

setLicense

public void setLicense(java.lang.String license)
Sets the license information of the cp item
Parameters:
license, - the license information for the cp item

setRightsHolder

public void setRightsHolder(java.lang.String rightsHolder)
Sets the rights holder of the cp item
Parameters:
rightsHolder, - the rights holder of the cp item

setShowCredit

public void setShowCredit(boolean showCredit)
Sets the show credit attribute of the cp item
Parameters:
showCredit, - true if you want to set the show credit attribute

addExtendedProperty

public void addExtendedProperty(java.lang.String name,
                                java.lang.Object value)
Adds the extended property, if there is a property with the same name, the value will be overwriten.
Parameters:
name, - name of the property
value, - value of the property

Copyright © 2001, 2003, Oracle. All rights reserved.

Copyright © 2001, 2003, Oracle. All rights reserved.