mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-16 17:55:15 +00:00
Removed calls to getXXXPaths(). Changed mappings of properties and aspects on AVM Nodes to favor get all calls. Added getAspects() and getNodeProperties() which take AVMNodeDescriptors. Used these in AVM Indexing to reduce the number of redundant full lookups. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
29 lines
540 B
Java
29 lines
540 B
Java
package org.alfresco.repo.avm;
|
|
|
|
import org.alfresco.service.cmr.repository.ContentData;
|
|
|
|
/**
|
|
* Interface for Plain file nodes.
|
|
* @author britt
|
|
*/
|
|
interface PlainFileNode extends FileNode
|
|
{
|
|
/**
|
|
* Set the encoding of this file.
|
|
* @param encoding
|
|
*/
|
|
public void setEncoding(String encoding);
|
|
|
|
/**
|
|
* Set the mime type of this file.
|
|
* @param mimeType
|
|
*/
|
|
public void setMimeType(String mimeType);
|
|
|
|
/**
|
|
* Special case.
|
|
* @return
|
|
*/
|
|
public ContentData getContentData();
|
|
}
|