public class FileModel extends com.extjs.gxt.ui.client.data.BaseModelData implements Serializable
Modifier and Type | Field and Description |
---|---|
protected GXTFolderItemTypeEnum |
folderItemType |
protected InfoContactModel |
infoContacts |
protected boolean |
isRoot |
protected boolean |
isSpecialFolder |
protected boolean |
isVreFolder |
Modifier | Constructor and Description |
---|---|
protected |
FileModel() |
|
FileModel(String identifier,
String name,
boolean isDirectory)
USED FOR ATTACHMENTS AND FolderBulkCreator
|
|
FileModel(String identifier,
String name,
FileModel parent,
boolean isDirectory,
boolean isShared) |
|
FileModel(String identifier,
String name,
String type,
GXTFolderItemTypeEnum folderItemTypeEnum,
boolean isDirectory,
boolean isShared) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.gwt.user.client.ui.AbstractImagePrototype |
getAbstractPrototypeIcon() |
String |
getDescription() |
GXTFolderItemTypeEnum |
getGXTFolderItemType() |
com.google.gwt.user.client.ui.Image |
getIcon() |
String |
getIdentifier() |
List<InfoContactModel> |
getListUserSharing() |
String |
getName() |
String |
getOwnerFullName() |
FileModel |
getParentFileModel() |
String |
getShortcutCategory() |
String |
getStatus() |
String |
getType() |
boolean |
isDirectory() |
boolean |
isRoot() |
boolean |
isShareable() |
boolean |
isShared() |
boolean |
isSpecialFolder() |
boolean |
isVreFolder() |
void |
setDescription(String description) |
void |
setFolderItemType(GXTFolderItemTypeEnum folderItemTypeEnum) |
void |
setIcon() |
void |
setIdentifier(String identifier) |
void |
setIsDirectory(boolean flag) |
void |
setIsRoot(boolean isRoot) |
void |
setListShareUser(List<InfoContactModel> listShareUsers) |
void |
setName(String name) |
void |
setOwnerFullName(String fullName) |
void |
setParentFileModel(FileModel parent) |
void |
setShareable(boolean bool) |
void |
setShared(boolean isShared) |
void |
setSharingValue(boolean isShared,
List<InfoContactModel> listShareUsers) |
void |
setShortcutCategory(String category) |
void |
setSpecialFolder(boolean bool) |
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) |
String |
toString() |
protected GXTFolderItemTypeEnum folderItemType
protected InfoContactModel infoContacts
protected boolean isRoot
protected boolean isVreFolder
protected boolean isSpecialFolder
protected FileModel()
public FileModel(String identifier, String name, FileModel parent, boolean isDirectory, boolean isShared)
identifier
- name
- parent
- isDirectory
- isShared
- public FileModel(String identifier, String name, boolean isDirectory)
identifier
- name
- isDirectory
- public FileModel(String identifier, String name, String type, GXTFolderItemTypeEnum folderItemTypeEnum, boolean isDirectory, boolean isShared)
identifier
- name
- type
- folderItemTypeEnum
- isDirectory
- isShared
- public void setShareable(boolean bool)
public void setDescription(String description)
public String getDescription()
public boolean isShareable()
public void setParentFileModel(FileModel parent)
public void setStatus(String status)
status
- public void setIcon()
public void setOwnerFullName(String fullName)
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 com.google.gwt.user.client.ui.Image getIcon()
public com.google.gwt.user.client.ui.AbstractImagePrototype getAbstractPrototypeIcon()
public String getStatus()
public void setIsDirectory(boolean flag)
public void setIdentifier(String identifier)
public String getIdentifier()
public void setShortcutCategory(String category)
public String getShortcutCategory()
public void setName(String name)
public String getName()
public FileModel getParentFileModel()
public boolean isDirectory()
public void setShared(boolean isShared)
isShared
- the isShared to setpublic void setType(String type)
type
- public String getType()
public void setFolderItemType(GXTFolderItemTypeEnum folderItemTypeEnum)
public GXTFolderItemTypeEnum getGXTFolderItemType()
public boolean isVreFolder()
public void setVreFolder(boolean isVreFolder)
public void setSpecialFolder(boolean bool)
b
- public boolean isSpecialFolder()
Copyright © 2016. All Rights Reserved.