public interface IStructureSyncManager
Modifier and Type | Method and Description |
---|---|
void |
syncIn(String rootChannelId,
Set<String> selectedElements,
String processId,
boolean clearHtmlCache)
Synchronizes a structure from the file system to the portal
database.
|
void |
syncIn(String rootChannelId,
Set<String> selectedElements,
String processId,
File structureRoot,
boolean clearHtmlCache)
Deprecated.
since 8.0.0 replaced by
syncIn(String, Set, String, IFile, boolean) |
void |
syncIn(String rootChannelId,
Set<String> selectedElements,
String processId,
IFile structureRoot,
boolean clearHtmlCache)
Synchronizes a structure from the file system to the portal
database.
|
void |
syncOut(String rootChannelId,
String processId,
Set<String> globalGroupsToBeExported)
Synchronizes a structure from the portal database to the file system.
|
void syncIn(String rootChannelId, Set<String> selectedElements, String processId, boolean clearHtmlCache) throws PortalException
rootChannelId
- the root of the structure tree to be
synchronized.selectedElements
- the path of the elements,
within the tree, selected to be synchronized. A directory selected
implies the synchronization of its children. The paths are relative to
the structure root (e.g.: "portal/mychannel/pg_mypage.xml").processId
- the process identifier for progress bar updates.clearHtmlCache
- indicates whether the HTML cache should be cleared.PortalException
@Deprecated void syncIn(String rootChannelId, Set<String> selectedElements, String processId, File structureRoot, boolean clearHtmlCache) throws PortalException
syncIn(String, Set, String, IFile, boolean)
rootChannelId
- the root of the structure tree to be
synchronized.selectedElements
- the path of the elements,
within the tree, selected to be synchronized. A directory selected
implies the synchronization of its children. The paths are relative to
the structure root (e.g.: "portal/mychannel/pg_mypage.xml").processId
- the process identifier for progress bar updates.structureRoot
- the directory that is the root of the structure file
system to be used.clearHtmlCache
- indicates whether the HTML cache should be cleared.IllegalArgumentException
- if the given tructure root couldn't be relativized using the portal known base folders.PortalException
void syncOut(String rootChannelId, String processId, Set<String> globalGroupsToBeExported) throws PortalException
rootChannelId
- the root of the structure tree to be
synchronized.processId
- the process identifier for progress bar updates.globalGroupsToBeExported
- the identifiers of the global groups that should be exported.PortalException
void syncIn(String rootChannelId, Set<String> selectedElements, String processId, IFile structureRoot, boolean clearHtmlCache) throws PortalException
rootChannelId
- the root of the structure tree to be
synchronized.selectedElements
- the path of the elements,
within the tree, selected to be synchronized. A directory selected
implies the synchronization of its children. The paths are relative to
the structure root (e.g.: "portal/mychannel/pg_mypage.xml").processId
- the process identifier for progress bar updates.structureRoot
- the directory that is the root of the structure file
system to be used.clearHtmlCache
- indicates whether the HTML cache should be cleared.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.