com.adobe.livecycle.rightsmanagement.client.infomodel
Class LicenseSearchFilter

java.lang.Object
  extended by com.adobe.livecycle.rightsmanagement.client.infomodel.LicenseSearchFilter

public class LicenseSearchFilter
extends java.lang.Object

The LicenseSearchFilter class is used to specify search criteria when searching for licenses.

This class provides methods for setting and retrieving the values of parameters for searching for licenses by the name of the document and the identification of the policy associated with the license, the name of the publisher, and the date when the license was issued:

The getLicenses method uses LicenseSearchFilter objects to perfom searches.


Constructor Summary
LicenseSearchFilter()
          A constructor that creates a LicenseSearchFilter object.
 
Method Summary
 java.lang.String getDocumentName()
          Retrieves the value of the parameter used for searching for licenses by the name of the document associated with the licenses.
 java.util.Date getLicenseIssueBeginDate()
          Retrieves the value of the parameter used for searching for licenses by the date after which they were issued.
 java.util.Date getLicenseIssueEndDate()
          Retrieves the value of the parameter used for searching for licenses by the date before which they were issued.
 java.lang.String getPolicyId()
          Returns the value of the parameter used for searching for licenses by the identification of the policy associated with the licenses.
 Principal getPublisher()
          Retrieves the value of the parameter used for searching for licenses by the publisher of the documents associated with the licenses.
 void setDocumentName(java.lang.String name)
          Sets the value of the parameter used for searching for licenses by the name of the document associated with the licenses.
 void setLicenseIssueBeginDate(java.util.Date beginDate)
          Sets the value of the parameter used for searching for licenses by the date after which they were issued.
 void setLicenseIssueEndDate(java.util.Date endDate)
          Sets the value of the parameter used for searching for licenses by the date before which they were issued.
 void setPolicyId(java.lang.String policyId)
          Sets the value of the parameter used for searching for licenses by the identification of the policy associated with the licenses.
 void setPublisher(Principal publisher)
          Sets the value of the parameter used for searching for licenses by the publisher of the documents associated with the licenses.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseSearchFilter

public LicenseSearchFilter()
A constructor that creates a LicenseSearchFilter object.

Method Detail

getDocumentName

public java.lang.String getDocumentName()
Retrieves the value of the parameter used for searching for licenses by the name of the document associated with the licenses.

Returns:
A java.lang.String that holds the name of the document to search or null if no document name is set.

getLicenseIssueBeginDate

public java.util.Date getLicenseIssueBeginDate()
Retrieves the value of the parameter used for searching for licenses by the date after which they were issued.

Returns:
A java.util.Date object that holds the issuing date after which the licenses were issued or null if no date is set.

getLicenseIssueEndDate

public java.util.Date getLicenseIssueEndDate()
Retrieves the value of the parameter used for searching for licenses by the date before which they were issued.

Returns:
A java.util.Date object that holds the issuing date before which the licenses were issued or null if no date is set.

getPublisher

public Principal getPublisher()
Retrieves the value of the parameter used for searching for licenses by the publisher of the documents associated with the licenses.

Returns:
A Principal object that represents the publisher of the licenses or null if no publisher is set.

setDocumentName

public void setDocumentName(java.lang.String name)
Sets the value of the parameter used for searching for licenses by the name of the document associated with the licenses.

Parameters:
name - A java.lang.String that holds the entire name or part of the name of the document associated with the licenses.

setLicenseIssueBeginDate

public void setLicenseIssueBeginDate(java.util.Date beginDate)
Sets the value of the parameter used for searching for licenses by the date after which they were issued.

Parameters:
beginDate - A java.util.Date object that represents the date after which the licenses were issued.

setLicenseIssueEndDate

public void setLicenseIssueEndDate(java.util.Date endDate)
Sets the value of the parameter used for searching for licenses by the date before which they were issued.

Parameters:
endDate - A java.util.Date object that represents the date before which the licenses were issued.

setPublisher

public void setPublisher(Principal publisher)
Sets the value of the parameter used for searching for licenses by the publisher of the documents associated with the licenses.

Parameters:
publisher - A Principal object that represents the publisher of the licenses.

setPolicyId

public void setPolicyId(java.lang.String policyId)
Sets the value of the parameter used for searching for licenses by the identification of the policy associated with the licenses.

Parameters:
policyId - A java.lang.String that holds the unique identification of the policy associated with the licenses.

getPolicyId

public java.lang.String getPolicyId()
Returns the value of the parameter used for searching for licenses by the identification of the policy associated with the licenses.

Returns:
A java.lang.String that holds the identification of the policy associated with the licenses.


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