Liferay 7.0-ce-b4

com.liferay.portal.repository.capabilities
Class LiferaySyncCapability

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

public class LiferaySyncCapability
extends Object
implements RepositoryEventAware, SyncCapability


Constructor Summary
LiferaySyncCapability(GroupServiceAdapter groupServiceAdapter, DLSyncEventLocalService dlSyncEventLocalService)
           
 
Method Summary
protected  boolean isStagingGroup(long groupId)
           
protected  void registerDLSyncEventCallback(String event, FileEntry fileEntry)
           
protected  void registerDLSyncEventCallback(String event, Folder folder)
           
protected  void registerDLSyncEventCallback(String event, String type, long typePK)
           
 void registerRepositoryEventListeners(RepositoryEventRegistry repositoryEventRegistry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiferaySyncCapability

public LiferaySyncCapability(GroupServiceAdapter groupServiceAdapter,
                             DLSyncEventLocalService dlSyncEventLocalService)
Method Detail

registerRepositoryEventListeners

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

isStagingGroup

protected boolean isStagingGroup(long groupId)

registerDLSyncEventCallback

protected void registerDLSyncEventCallback(String event,
                                           FileEntry fileEntry)

registerDLSyncEventCallback

protected void registerDLSyncEventCallback(String event,
                                           Folder folder)

registerDLSyncEventCallback

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

Liferay 7.0-ce-b4