public class StorePseudoFile extends PseudoFile
Represents an AVM store as a folder.
_creationDateTime| Constructor and Description |
|---|
StorePseudoFile(AVMStoreDescriptor storeDesc,
String relPath,
int storeType)
Class constructor
|
StorePseudoFile(String storeName,
String relPath)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
NetworkFile |
getFile(String netPath)
Return a network file for reading/writing the pseudo file
|
FileInfo |
getFileInfo()
Return the file information for the pseudo file
|
String |
getUserName()
Get the owner of this sandbox
|
String |
getWebProject()
Get the web project that this store links to, or null if not linked
|
boolean |
hasUserName()
Check if this store is an author sandbox
|
boolean |
hasWebProject()
Check if this store is linked to a web project
|
int |
isStoreType()
Return the store type
|
void |
setStoreType(int storeType)
Set the store type
|
void |
setUserName(String userName)
Set the owner of this sandbox
|
void |
setWebProject(String webProject)
Set the web project that this store is linked to
|
getAttributes, getFileName, getInfo, isDirectory, isFile, isHidden, isReadOnly, setFileInfo, toStringpublic StorePseudoFile(AVMStoreDescriptor storeDesc, String relPath, int storeType)
storeDesc - AVMStoreDescriptorrelPath - StringstoreType - intpublic NetworkFile getFile(String netPath)
getFile in class PseudoFilenetPath - Stringpublic FileInfo getFileInfo()
getFileInfo in class PseudoFilepublic final int isStoreType()
public final boolean hasWebProject()
public final String getWebProject()
public final void setWebProject(String webProject)
webProject - Stringpublic final boolean hasUserName()
public final String getUserName()
public final void setUserName(String userName)
userName - Stringpublic final void setStoreType(int storeType)
storeType - intCopyright © 2005–2014 Alfresco Software. All rights reserved.