|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.rightsmanagement.re.GetUsageRightsResult
public class GetUsageRightsResult
Represents information about the certificate that enables usage rights to be applied to a PDF document. For example, you can obtain the date after which, the certificate is no longer valid.
Constructor Summary | |
---|---|
GetUsageRightsResult(UsageRights rights,
java.util.Date notBefore,
java.util.Date notAfter,
boolean evaluation)
Not for use by a client application. |
Method Summary | |
---|---|
java.lang.String |
getIntendedUse()
Returns legal intended use notice of the certificate. |
java.lang.String |
getMessage()
Returns the message that is displayed within Adobe Reader when the PDF document is opened. |
java.util.Date |
getNotAfter()
Returns the date after which the certificate is no longer valid. |
java.util.Date |
getNotBefore()
Returns the date before which the certificate is not valid. |
java.lang.String |
getProfile()
Returns profile string of the certificate. |
UsageRights |
getRights()
Returns the UsageRights object that is enabled by the certificate. |
int |
getUseCount()
Returns the number of times a given credential has been used. |
boolean |
isEvaluation()
|
void |
setEvaluation(boolean evaluation)
|
void |
setIntendedUse(java.lang.String intendedUse)
Not for use by a client application. |
void |
setMessage(java.lang.String message)
Not for use by a client application. |
void |
setNotAfter(java.util.Date notAfter)
Set the date after which the certificate is no longer valid. |
void |
setNotBefore(java.util.Date notBefore)
Set the date before which the certificate is not valid. |
void |
setProfile(java.lang.String profile)
Not for use by a client application. |
void |
setRights(UsageRights rights)
Set the UsageRights object that is enabled by the certificate. |
void |
setUseCount(int useCount)
Not for use by a client application. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetUsageRightsResult(UsageRights rights, java.util.Date notBefore, java.util.Date notAfter, boolean evaluation)
rights
- the UsageRightsnotBefore
- the credential start datenotAfter
- the credential expiration dateevaluation
- whether this credential is evaluationMethod Detail |
---|
public java.util.Date getNotAfter()
public void setNotAfter(java.util.Date notAfter)
notAfter
- the notAfter to setpublic java.util.Date getNotBefore()
public void setNotBefore(java.util.Date notBefore)
notBefore
- the notBefore to setpublic UsageRights getRights()
UsageRights
object that is enabled by the certificate.
UsageRights
object that is enabled by the certificate.public void setRights(UsageRights rights)
UsageRights
object that is enabled by the certificate.
rights
- the rights to setpublic int getUseCount()
public void setUseCount(int useCount)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public java.lang.String getProfile()
public void setProfile(java.lang.String profile)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getIntendedUse()
public void setIntendedUse(java.lang.String intendedUse)
intendedUse
- the intended use messagepublic boolean isEvaluation()
public void setEvaluation(boolean evaluation)
evaluation
- the evaluation to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |