Liferay 7.0-ce-m6

com.liferay.portal.repository.capabilities
Class LiferaySyncCapability

java.lang.Object
  extended by com.liferay.portal.repository.capabilities.LiferaySyncCapability
All Implemented Interfaces:
Capability, SyncCapability, RepositoryEventAware, RepositoryWrapperAware

public class LiferaySyncCapability
extends Object
implements RepositoryEventAware, RepositoryWrapperAware, SyncCapability


Constructor Summary
LiferaySyncCapability(BulkOperationCapability bulkOperationCapability)
           
 
Method Summary
 void destroyDocumentRepository()
           
protected static boolean isStagingGroup(long groupId)
           
protected static void registerDLSyncEventCallback(String event, FileEntry fileEntry)
           
protected static void registerDLSyncEventCallback(String event, Folder folder)
           
protected static void registerDLSyncEventCallback(String event, String type, long typePK)
           
 void registerRepositoryEventListeners(RepositoryEventRegistry repositoryEventRegistry)
           
 LocalRepository wrapLocalRepository(LocalRepository localRepository)
           
 Repository wrapRepository(Repository repository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferaySyncCapability

public LiferaySyncCapability(BulkOperationCapability bulkOperationCapability)
Method Detail

destroyDocumentRepository

public void destroyDocumentRepository()
                               throws PortalException
Specified by:
destroyDocumentRepository in interface SyncCapability
Throws:
PortalException

registerRepositoryEventListeners

public void registerRepositoryEventListeners(RepositoryEventRegistry repositoryEventRegistry)
Specified by:
registerRepositoryEventListeners in interface RepositoryEventAware

wrapLocalRepository

public LocalRepository wrapLocalRepository(LocalRepository localRepository)
Specified by:
wrapLocalRepository in interface RepositoryWrapperAware

wrapRepository

public Repository wrapRepository(Repository repository)
Specified by:
wrapRepository in interface RepositoryWrapperAware

isStagingGroup

protected static boolean isStagingGroup(long groupId)

registerDLSyncEventCallback

protected static void registerDLSyncEventCallback(String event,
                                                  FileEntry fileEntry)

registerDLSyncEventCallback

protected static void registerDLSyncEventCallback(String event,
                                                  Folder folder)

registerDLSyncEventCallback

protected static void registerDLSyncEventCallback(String event,
                                                  String type,
                                                  long typePK)

Liferay 7.0-ce-m6