|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DRMPolicy is an object to describe a Digital Rights Policy object in the DRM repository.
Method Summary | |
java.lang.String |
getDescription() Get the description of the api restriction policy |
org.w3c.dom.Document |
getDigitalRightsDocument() Get the Digital Rights ODRL Document |
long |
getId() Get the Api restriction policy internal object id |
java.lang.String |
getName() Get the name of the api restriction policy |
java.util.Properties |
getPackagerClassInitProperties() Get the custom init property values for the packager class |
java.lang.String |
getPackagerClassName() Get the api restriction policy XML document in a string format |
java.lang.String[] |
getSupportedMimeTypes() Get the list of mime types this policy is meant for |
boolean |
isPolicyValid() Check if the Digital Rights policy is valid |
void |
setDescription(java.lang.String description) Set the policy description |
void |
setName(java.lang.String name) Set the name |
void |
setPackagerClassInitProperties(java.util.Properties prop) Set the custom initialization property values for the DRMPackager class |
void |
setPolicyValid(boolean isValid) Set the Digital Rights policy valid flag |
void |
setSupportedMimeTypes(java.lang.String[] mimeTypes) Set the list of mime types this policy is meant for |
Method Detail |
public java.lang.String getDescription()
public org.w3c.dom.Document getDigitalRightsDocument()
public long getId()
public java.lang.String getName()
public java.util.Properties getPackagerClassInitProperties()
public java.lang.String getPackagerClassName()
public java.lang.String[] getSupportedMimeTypes()
public boolean isPolicyValid()
public void setDescription(java.lang.String description)
description
- String the policy descriptionpublic void setName(java.lang.String name)
name
- the name of the policypublic void setPackagerClassInitProperties(java.util.Properties prop)
prop
- Properties new values for the DRMPackager class init propertiespublic void setPolicyValid(boolean isValid)
isValid
- boolean indicate the policy is valid or notpublic void setSupportedMimeTypes(java.lang.String[] mimeTypes)
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |