@Entity @ClassBridge(name="permission", analyze=NO, impl=PermissionEntryBridge.class) public class Permission extends Object implements DataModel
Constructor and Description |
---|
Permission() |
Modifier and Type | Method and Description |
---|---|
Account |
getAccount() |
Entry |
getEntry() |
Folder |
getFolder() |
Group |
getGroup() |
long |
getId() |
RemoteShareModel |
getRemoteShare() |
BulkUpload |
getUpload() |
boolean |
isCanRead() |
boolean |
isCanWrite() |
void |
setAccount(Account account) |
void |
setCanRead(boolean canRead) |
void |
setCanWrite(boolean canWrite) |
void |
setEntry(Entry entry) |
void |
setFolder(Folder folder) |
void |
setGroup(Group group) |
void |
setRemoteShare(RemoteShareModel remoteShare) |
void |
setUpload(BulkUpload upload) |
AccessPermission |
toDataTransferObject() |
public Account getAccount()
public void setAccount(Account account)
public Group getGroup()
public void setGroup(Group group)
public BulkUpload getUpload()
public void setUpload(BulkUpload upload)
public boolean isCanRead()
public void setCanRead(boolean canRead)
public boolean isCanWrite()
public void setCanWrite(boolean canWrite)
public Entry getEntry()
public void setEntry(Entry entry)
public Folder getFolder()
public void setFolder(Folder folder)
public RemoteShareModel getRemoteShare()
public void setRemoteShare(RemoteShareModel remoteShare)
public AccessPermission toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.