com.adobe.flashaccess.sdk.policyupdate
Class PolicyRevocationEntry

java.lang.Object
  extended by com.adobe.flashaccess.sdk.policyupdate.PolicyEntry
      extended by com.adobe.flashaccess.sdk.policyupdate.PolicyRevocationEntry

public class PolicyRevocationEntry
extends PolicyEntry

This class contains information pertaining to a revoked policy. Information contained within this class is immutable upon construction.


Field Summary
static int UNDEFINED_REVOCATION_REASON
          Undefined revocation reason.
 
Constructor Summary
PolicyRevocationEntry(java.lang.String policyID, java.util.Date revocationDate, int reason, java.lang.String reasonText, java.lang.String reasonURL)
          This constructor creates a revoked policy entry using the specified information.
 
Method Summary
 java.lang.String getPolicyId()
          Retrieves the revoked policy identifier.
 java.util.Date getRevocationDate()
          Retrieves the date on which this policy was revoked.
 
Methods inherited from class com.adobe.flashaccess.sdk.policyupdate.PolicyEntry
getReason, getReasonText, getReasonURL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDEFINED_REVOCATION_REASON

public static final int UNDEFINED_REVOCATION_REASON
Undefined revocation reason.

See Also:
Constant Field Values
Constructor Detail

PolicyRevocationEntry

public PolicyRevocationEntry(java.lang.String policyID,
                             java.util.Date revocationDate,
                             int reason,
                             java.lang.String reasonText,
                             java.lang.String reasonURL)
This constructor creates a revoked policy entry using the specified information.

Parameters:
policyID - The identifier of the affected policy.
revocationDate - The date and time this policy was revoked.
reason - A reason code identifying why this policy is affected. Reason codes can be any valid non-negative integer and are defined by the issuer of the policy update list. A value of UNDEFINED_REVOCATION_REASON indicates that no reason code has been supplied. The SDK does not use the reason values, but server implementations may make use of this information.
reasonText - User-friendly text describing the reason code. (optional)
reasonURL - A URL that can be queried for additional information. (optional)
Method Detail

getRevocationDate

public java.util.Date getRevocationDate()
Retrieves the date on which this policy was revoked.

Returns:
The date on which this policy was revoked.

getPolicyId

public java.lang.String getPolicyId()
Retrieves the revoked policy identifier.

Returns:
The revoked policy identifier.


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