public class AccessPermission extends Object implements IDataTransferModel
Modifier and Type | Class and Description |
---|---|
static class |
AccessPermission.Article |
static class |
AccessPermission.Type |
Constructor and Description |
---|
AccessPermission() |
AccessPermission(AccessPermission.Article article,
long articleId,
AccessPermission.Type type,
long typeId,
String display) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AccessPermission access) |
AccountTransfer |
getAccount() |
AccessPermission.Article |
getArticle() |
long |
getArticleId() |
String |
getDisplay() |
UserGroup |
getGroup() |
long |
getId() |
RegistryPartner |
getPartner() |
String |
getSecret() |
AccessPermission.Type |
getType() |
long |
getTypeId() |
String |
getUserId() |
boolean |
isCanRead() |
boolean |
isCanWrite() |
boolean |
isEntry() |
boolean |
isFolder() |
boolean |
isUpload() |
void |
setAccount(AccountTransfer account) |
void |
setArticle(AccessPermission.Article article) |
void |
setArticleId(long id) |
void |
setDisplay(String display) |
void |
setGroup(UserGroup group) |
void |
setId(long id) |
void |
setPartner(RegistryPartner partner) |
void |
setSecret(String secret) |
void |
setType(AccessPermission.Type type) |
void |
setTypeId(long typeId) |
void |
setUserId(String userId) |
String |
toString() |
public AccessPermission()
public AccessPermission(AccessPermission.Article article, long articleId, AccessPermission.Type type, long typeId, String display)
public AccessPermission.Type getType()
public void setType(AccessPermission.Type type)
public long getTypeId()
public void setTypeId(long typeId)
public long getArticleId()
public void setArticleId(long id)
public void setDisplay(String display)
public String getDisplay()
public AccessPermission.Article getArticle()
public void setArticle(AccessPermission.Article article)
public AccountTransfer getAccount()
public void setAccount(AccountTransfer account)
public UserGroup getGroup()
public void setGroup(UserGroup group)
public boolean isCanRead()
public boolean isCanWrite()
public boolean isEntry()
public boolean isFolder()
public boolean isUpload()
public long getId()
public void setId(long id)
public String getUserId()
public void setUserId(String userId)
public String getSecret()
public void setSecret(String secret)
public RegistryPartner getPartner()
public void setPartner(RegistryPartner partner)
public boolean equals(AccessPermission access)
Copyright © 2017. All rights reserved.