public class FileModel extends com.extjs.gxt.ui.client.data.BaseModelData implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
isRoot |
protected boolean |
isVreFolder |
Modifier | Constructor and Description |
---|---|
protected |
FileModel() |
|
FileModel(String identifier,
String name,
boolean isDirectory) |
|
FileModel(String identifier,
String name,
FileModel parent,
boolean isDirectory,
boolean isShared) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
GXTFolderItemTypeEnum |
getGXTFolderItemType() |
String |
getIdentifier() |
List<InfoContactModel> |
getListUserSharing() |
String |
getName() |
InfoContactModel |
getOwner() |
String |
getOwnerFullName() |
FileModel |
getParentFileModel() |
String |
getStatus() |
String |
getType() |
boolean |
isDirectory() |
boolean |
isRoot() |
boolean |
isShared() |
boolean |
isVreFolder() |
void |
setDescription(String description) |
void |
setFolderItemType(GXTFolderItemTypeEnum folderItemTypeEnum) |
void |
setIdentifier(String identifier) |
void |
setIsRoot(boolean isRoot) |
void |
setListShareUser(List<InfoContactModel> listShareUsers) |
void |
setOwner(InfoContactModel owner) |
void |
setOwnerFullName(String fullName) |
void |
setParentFileModel(FileModel parent) |
void |
setShared(boolean isShared) |
void |
setSharingValue(boolean isShared,
List<InfoContactModel> listShareUsers) |
void |
setStatus(String status)
Status values ConstantsExplorer.FOLDERNOTLOAD = "notload";
ConstantsExplorer.FOLDERLOADED = "loaded";
|
void |
setType(String type)
It's: folder, mime type or unknown
|
void |
setVreFolder(boolean isVreFolder) |
protected FileModel()
public FileModel(String identifier, String name, FileModel parent, boolean isDirectory, boolean isShared)
identifier
- name
- parent
- isDirectory
- isShared
- public void setDescription(String description)
public String getDescription()
public void setParentFileModel(FileModel parent)
public void setStatus(String status)
status
- public void setOwner(InfoContactModel owner)
public void setOwnerFullName(String fullName)
public InfoContactModel getOwner()
public String getOwnerFullName()
public void setSharingValue(boolean isShared, List<InfoContactModel> listShareUsers)
public List<InfoContactModel> getListUserSharing()
public void setListShareUser(List<InfoContactModel> listShareUsers)
public boolean isShared()
public boolean isRoot()
public void setIsRoot(boolean isRoot)
public String getStatus()
public void setIdentifier(String identifier)
public String getIdentifier()
public String getName()
public FileModel getParentFileModel()
public boolean isDirectory()
public void setFolderItemType(GXTFolderItemTypeEnum folderItemTypeEnum)
public GXTFolderItemTypeEnum getGXTFolderItemType()
public void setShared(boolean isShared)
isShared
- the isShared to setpublic void setType(String type)
type
- public String getType()
public boolean isVreFolder()
public void setVreFolder(boolean isVreFolder)
Copyright © 2015. All Rights Reserved.