|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.EntityMetadata
public class EntityMetadata
The EntityMetadata
class provides access to the metadata properties
of a corresponding entity. Use Entity.getMetadata
to obtain an
instance of this class.
Method Summary | |
---|---|
boolean |
canChangePermissions()
Indicates whether this entity's permission can be changed. |
boolean |
canShareApp()
Indicates whether this entity can be shared via an app. |
boolean |
canShareGlobal()
Indicates whether the entity can be shared globally. |
boolean |
canShareUser()
Indicates whether the entity can be shared to a specific user. |
boolean |
canWrite()
Indicates whether this entity can be modified. |
java.lang.String |
getApp()
Returns the app context of this entity. |
java.lang.String |
getOwner()
Returns the username of the entity owner. |
Record |
getPermissions()
Returns this entity's permissions, which represent an allowable inclusive action:list-of-roles map. |
java.lang.String |
getSharing()
Returns how this entity is shared (app, global, and/or user). |
boolean |
isModifiable()
Indicates whether this entity can be modified. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean canChangePermissions()
true
if this entity's permission can be changed,
false
if not.public boolean canShareApp()
true
if this entity can be shared via an app,
false
if not.public boolean canShareGlobal()
true
if this entity can be shared globally,
false
if not.public boolean canShareUser()
true
if this entity can be shared to a specific user,
false
if not.public boolean canWrite()
true
if this entity can be modified,
false
if not.public java.lang.String getApp()
public java.lang.String getOwner()
public Record getPermissions()
public java.lang.String getSharing()
public boolean isModifiable()
true
if this entity can be modified,
false
if not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |