com.adobe.flashaccess.sdk.rights
Class ApplicationRequirements

java.lang.Object
  extended by com.adobe.flashaccess.sdk.rights.ApplicationRequirements
All Implemented Interfaces:
java.lang.Cloneable

public class ApplicationRequirements
extends java.lang.Object
implements java.lang.Cloneable

This class contains a white-list of applications allowed to consume protected content.


Constructor Summary
ApplicationRequirements()
          Creates an ApplicationRequirements object.
 
Method Summary
 java.util.Collection getAllowedApplications()
          Retrieves a list of applications which may be used.
 void setAllowedApplications(java.util.Collection appList)
          Sets a list of applications which may be used.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationRequirements

public ApplicationRequirements()
Creates an ApplicationRequirements object. Initially, there are no applications in the white-list.

Method Detail

getAllowedApplications

public java.util.Collection getAllowedApplications()
Retrieves a list of applications which may be used. The user must use an application in this list for a right to be usable. Note that the order of items in the list may not be preserved.

Returns:
Collection<ApplicationIdentifier> containing application identifiers for allowed applications.

setAllowedApplications

public void setAllowedApplications(java.util.Collection appList)
Sets a list of applications which may be used. The user must use an application in this list for a right to be usable. Note that the order of items in the list may not be preserved.

Parameters:
appList - Collection<ApplicationIdentifier> containing application identifiers for allowed applications.


[an error occurred while processing this directive] [an error occurred while processing this directive]