public class Status
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Status.State
state can have values
active, blocked or deleted. |
| Constructor and Description |
|---|
Status() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getReason()
reason is a reason explaining why a media object has been blocked/deleted.
|
Status.State |
getState()
state can have values
active, blocked or deleted. |
int |
hashCode() |
void |
setReason(java.lang.String reason)
reason is a reason explaining why a media object has been blocked/deleted.
|
void |
setState(Status.State state)
state can have values
active, blocked or deleted. |
java.lang.String |
toString() |
public Status.State getState()
active, blocked or deleted.
active means a media object is active in the system, blocked means a media object is blocked by
the publisher, deleted means a media object has been deleted by the publisher.public void setState(Status.State state)
active, blocked or deleted.
active means a media object is active in the system, blocked means a media object is blocked by
the publisher, deleted means a media object has been deleted by the publisher.state - the statepublic java.lang.String getReason()
public void setReason(java.lang.String reason)
reason - plain text or URLpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2025. All rights reserved.