Class PNResource<T>
- java.lang.Object
-
- com.pubnub.api.models.consumer.access_manager.v3.PNResource<T>
-
- Direct Known Subclasses:
ChannelGrant,ChannelGroupGrant,SpacePermissions,UserPermissions,UUIDGrant
public abstract class PNResource<T> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancreateprotected booleandeleteprotected booleangetprotected booleanjoinprotected booleanmanageprotected booleanreadprotected java.lang.StringresourceNameprotected java.lang.StringresourcePatternprotected booleanupdateprotected booleanwrite
-
Constructor Summary
Constructors Constructor Description PNResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Tcreate()protected Tdelete()protected Tget()java.lang.StringgetId()booleanisCreate()booleanisDelete()booleanisGet()booleanisJoin()booleanisManage()booleanisPatternResource()booleanisRead()booleanisUpdate()booleanisWrite()protected Tjoin()protected Tmanage()protected Tread()protected Tupdate()protected Twrite()
-
-
-
Field Detail
-
resourceName
protected java.lang.String resourceName
-
resourcePattern
protected java.lang.String resourcePattern
-
read
protected boolean read
-
write
protected boolean write
-
create
protected boolean create
-
delete
protected boolean delete
-
manage
protected boolean manage
-
get
protected boolean get
-
update
protected boolean update
-
join
protected boolean join
-
-
Method Detail
-
read
protected T read()
-
write
protected T write()
-
create
protected T create()
-
delete
protected T delete()
-
manage
protected T manage()
-
get
protected T get()
-
update
protected T update()
-
join
protected T join()
-
isPatternResource
public boolean isPatternResource()
-
getId
public java.lang.String getId()
-
isRead
public boolean isRead()
-
isWrite
public boolean isWrite()
-
isCreate
public boolean isCreate()
-
isDelete
public boolean isDelete()
-
isManage
public boolean isManage()
-
isGet
public boolean isGet()
-
isUpdate
public boolean isUpdate()
-
isJoin
public boolean isJoin()
-
-