com.adobe.edc.server.spi.authorization
Class ExternalAuthOperationType

java.lang.Object
  extended by com.adobe.edc.server.spi.authorization.ExternalAuthOperationType
All Implemented Interfaces:
java.io.Serializable

public class ExternalAuthOperationType
extends java.lang.Object
implements java.io.Serializable

The ExternalAuthOperationType class is used by the Rights Management Service during the evaluate() call to the External Authorizer SPI. It provides information on the operation type being performed by the user.

See Also:
Serialized Form

Field Summary
static ExternalAuthOperationType secure
          The secure document operation type.
static ExternalAuthOperationType view
          The view document operation type.
 
Method Summary
 java.lang.String getOperationType()
          Retrieves the operation type.
 boolean isOperationSecureDocument()
          Determines whether the operation is securing the document.
 boolean isOperationViewDocument()
          Determines whether the operation is viewing the document.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

secure

public static final ExternalAuthOperationType secure
The secure document operation type.


view

public static final ExternalAuthOperationType view
The view document operation type.

Method Detail

getOperationType

public java.lang.String getOperationType()
Retrieves the operation type.

Returns:
A java.lang.String containing the operation type.

isOperationSecureDocument

public boolean isOperationSecureDocument()
Determines whether the operation is securing the document.

Returns:
true if the operation is securing the document, false otherwise.

isOperationViewDocument

public boolean isOperationViewDocument()
Determines whether the operation is viewing the document.

Returns:
true if the operation is viewing the document, false otherwise.