Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.store
Class StoreProxyBean

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.proxy.BaseProxyBean
      extended by com.liferay.portlet.documentlibrary.store.StoreProxyBean
All Implemented Interfaces:
Store

public class StoreProxyBean
extends BaseProxyBean
implements Store


Field Summary
 
Fields inherited from interface com.liferay.portlet.documentlibrary.store.Store
VERSION_DEFAULT
 
Constructor Summary
StoreProxyBean()
           
 
Method Summary
 void addDirectory(long companyId, long repositoryId, String dirName)
           
 void addFile(long companyId, long repositoryId, String fileName, byte[] bytes)
           
 void addFile(long companyId, long repositoryId, String fileName, File file)
           
 void addFile(long companyId, long repositoryId, String fileName, InputStream is)
           
 void checkRoot(long companyId)
           
 void copyFileVersion(long companyId, long repositoryId, String fileName, String fromVersionLabel, String toVersionLabel)
           
 void deleteDirectory(long companyId, long repositoryId, String dirName)
           
 void deleteFile(long companyId, long repositoryId, String fileName)
           
 void deleteFile(long companyId, long repositoryId, String fileName, String versionLabel)
           
 File getFile(long companyId, long repositoryId, String fileName)
           
 File getFile(long companyId, long repositoryId, String fileName, String versionLabel)
           
 byte[] getFileAsBytes(long companyId, long repositoryId, String fileName)
           
 byte[] getFileAsBytes(long companyId, long repositoryId, String fileName, String versionLabel)
           
 InputStream getFileAsStream(long companyId, long repositoryId, String fileName)
           
 InputStream getFileAsStream(long companyId, long repositoryId, String fileName, String versionLabel)
           
 String[] getFileNames(long companyId, long repositoryId)
           
 String[] getFileNames(long companyId, long repositoryId, String dirName)
           
 long getFileSize(long companyId, long repositoryId, String fileName)
           
 boolean hasDirectory(long companyId, long repositoryId, String dirName)
           
 boolean hasFile(long companyId, long repositoryId, String fileName)
           
 boolean hasFile(long companyId, long repositoryId, String fileName, String versionLabel)
           
 void move(String srcDir, String destDir)
           
 void reindex(String[] ids)
           
 void updateFile(long companyId, long repositoryId, long newRepositoryId, String fileName)
           
 void updateFile(long companyId, long repositoryId, String fileName, String newFileName)
           
 void updateFile(long companyId, long repositoryId, String fileName, String versionLabel, byte[] bytes)
           
 void updateFile(long companyId, long repositoryId, String fileName, String versionLabel, File file)
           
 void updateFile(long companyId, long repositoryId, String fileName, String versionLabel, InputStream is)
           
 void updateFileVersion(long companyId, long repositoryId, String fileName, String fromVersionLabel, String toVersionLabel)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.proxy.BaseProxyBean
getSingleDestinationMessageSender, getSingleDestinationSynchronousMessageSender, setSingleDestinationMessageSender, setSingleDestinationSynchronousMessageSender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreProxyBean

public StoreProxyBean()
Method Detail

addDirectory

public void addDirectory(long companyId,
                         long repositoryId,
                         String dirName)
Specified by:
addDirectory in interface Store

addFile

public void addFile(long companyId,
                    long repositoryId,
                    String fileName,
                    byte[] bytes)
Specified by:
addFile in interface Store

addFile

public void addFile(long companyId,
                    long repositoryId,
                    String fileName,
                    File file)
Specified by:
addFile in interface Store

addFile

public void addFile(long companyId,
                    long repositoryId,
                    String fileName,
                    InputStream is)
Specified by:
addFile in interface Store

checkRoot

public void checkRoot(long companyId)
Specified by:
checkRoot in interface Store

copyFileVersion

public void copyFileVersion(long companyId,
                            long repositoryId,
                            String fileName,
                            String fromVersionLabel,
                            String toVersionLabel)
Specified by:
copyFileVersion in interface Store

deleteDirectory

public void deleteDirectory(long companyId,
                            long repositoryId,
                            String dirName)
Specified by:
deleteDirectory in interface Store

deleteFile

public void deleteFile(long companyId,
                       long repositoryId,
                       String fileName)
Specified by:
deleteFile in interface Store

deleteFile

public void deleteFile(long companyId,
                       long repositoryId,
                       String fileName,
                       String versionLabel)
Specified by:
deleteFile in interface Store

getFile

public File getFile(long companyId,
                    long repositoryId,
                    String fileName)
Specified by:
getFile in interface Store

getFile

public File getFile(long companyId,
                    long repositoryId,
                    String fileName,
                    String versionLabel)
Specified by:
getFile in interface Store

getFileAsBytes

public byte[] getFileAsBytes(long companyId,
                             long repositoryId,
                             String fileName)
Specified by:
getFileAsBytes in interface Store

getFileAsBytes

public byte[] getFileAsBytes(long companyId,
                             long repositoryId,
                             String fileName,
                             String versionLabel)
Specified by:
getFileAsBytes in interface Store

getFileAsStream

public InputStream getFileAsStream(long companyId,
                                   long repositoryId,
                                   String fileName)
Specified by:
getFileAsStream in interface Store

getFileAsStream

public InputStream getFileAsStream(long companyId,
                                   long repositoryId,
                                   String fileName,
                                   String versionLabel)
Specified by:
getFileAsStream in interface Store

getFileNames

public String[] getFileNames(long companyId,
                             long repositoryId)
Specified by:
getFileNames in interface Store

getFileNames

public String[] getFileNames(long companyId,
                             long repositoryId,
                             String dirName)
Specified by:
getFileNames in interface Store

getFileSize

public long getFileSize(long companyId,
                        long repositoryId,
                        String fileName)
Specified by:
getFileSize in interface Store

hasDirectory

public boolean hasDirectory(long companyId,
                            long repositoryId,
                            String dirName)
Specified by:
hasDirectory in interface Store

hasFile

public boolean hasFile(long companyId,
                       long repositoryId,
                       String fileName)
Specified by:
hasFile in interface Store

hasFile

public boolean hasFile(long companyId,
                       long repositoryId,
                       String fileName,
                       String versionLabel)
Specified by:
hasFile in interface Store

move

public void move(String srcDir,
                 String destDir)
Specified by:
move in interface Store

reindex

public void reindex(String[] ids)

updateFile

public void updateFile(long companyId,
                       long repositoryId,
                       long newRepositoryId,
                       String fileName)
Specified by:
updateFile in interface Store

updateFile

public void updateFile(long companyId,
                       long repositoryId,
                       String fileName,
                       String newFileName)
Specified by:
updateFile in interface Store

updateFile

public void updateFile(long companyId,
                       long repositoryId,
                       String fileName,
                       String versionLabel,
                       byte[] bytes)
Specified by:
updateFile in interface Store

updateFile

public void updateFile(long companyId,
                       long repositoryId,
                       String fileName,
                       String versionLabel,
                       File file)
Specified by:
updateFile in interface Store

updateFile

public void updateFile(long companyId,
                       long repositoryId,
                       String fileName,
                       String versionLabel,
                       InputStream is)
Specified by:
updateFile in interface Store

updateFileVersion

public void updateFileVersion(long companyId,
                              long repositoryId,
                              String fileName,
                              String fromVersionLabel,
                              String toVersionLabel)
Specified by:
updateFileVersion in interface Store

Liferay 6.1.2-ce-ga3