com.liferay.portal.repository.capabilities
Class LiferaySyncCapability
java.lang.Object
com.liferay.portal.repository.capabilities.LiferaySyncCapability
- All Implemented Interfaces:
- Capability, SyncCapability
public class LiferaySyncCapability
- extends Object
- implements SyncCapability
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiferaySyncCapability
public LiferaySyncCapability()
addFileEntry
public void addFileEntry(FileEntry fileEntry)
- Specified by:
addFileEntry in interface SyncCapability
addFolder
public void addFolder(Folder folder)
- Specified by:
addFolder in interface SyncCapability
deleteFileEntry
public void deleteFileEntry(FileEntry fileEntry)
- Specified by:
deleteFileEntry in interface SyncCapability
deleteFolder
public void deleteFolder(Folder folder)
- Specified by:
deleteFolder in interface SyncCapability
destroyLocalRepository
public void destroyLocalRepository(LocalRepository localRepository)
throws PortalException
- Specified by:
destroyLocalRepository in interface SyncCapability
- Throws:
PortalException
moveFileEntry
public void moveFileEntry(FileEntry fileEntry)
- Specified by:
moveFileEntry in interface SyncCapability
moveFolder
public void moveFolder(Folder folder)
- Specified by:
moveFolder in interface SyncCapability
registerRepositoryEventListeners
public void registerRepositoryEventListeners(RepositoryEventRegistry repositoryEventRegistry)
restoreFileEntry
public void restoreFileEntry(FileEntry fileEntry)
- Specified by:
restoreFileEntry in interface SyncCapability
restoreFolder
public void restoreFolder(Folder folder)
- Specified by:
restoreFolder in interface SyncCapability
trashFileEntry
public void trashFileEntry(FileEntry fileEntry)
- Specified by:
trashFileEntry in interface SyncCapability
trashFolder
public void trashFolder(Folder folder)
- Specified by:
trashFolder in interface SyncCapability
updateFileEntry
public void updateFileEntry(FileEntry fileEntry)
- Specified by:
updateFileEntry in interface SyncCapability
updateFolder
public void updateFolder(Folder folder)
- Specified by:
updateFolder in interface SyncCapability
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)
registerRepositoryEventListener
protected <S extends RepositoryEventType,T> void registerRepositoryEventListener(RepositoryEventRegistry repositoryEventRegistry,
Class<S> repositoryEventTypeClass,
Class<T> modelClass,
String methodName)