|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.template.containercopy.AbstractContainerCopyHandler
com.ptc.netmarkets.nmixb.FolderStructureCopyHelper
Supported API: false
Extendable: false
Field Summary | |
private Map |
aclOnlyMap
|
private static String |
CLASSNAME
|
private Map |
deathListMap
|
private Object[] |
DEF_PARAMS
|
private Map |
folderAcls
|
private String |
newFoldersRoot
|
private String |
origFoldersRoot
|
private static String |
RESOURCE
|
private ContainerOrderedFolders |
sourceContainerFolders
|
private ContainerOrderedFolders |
targetContainerFolders
|
private static boolean |
VERBOSE
|
private CommonCopyWorklist |
workList
|
Fields inherited from class wt.inf.template.containercopy.AbstractContainerCopyHandler |
|
Constructor Summary | |
FolderStructureCopyHelper()
|
Method Summary | |
protected void |
copyAddedObjects()
Most of the time this is the only method that needs to be over-ridden. |
private void |
copySharedObjects()
|
private void |
doAccessRules(WTContainerRef contRef,
SubFolder folder,
String subPath)
|
private ObjectIdentifier |
getOid(Object obj)
|
private void |
initAccessRules(ContainerOrderedFolders contFolders)
|
protected void |
initialize()
This method provides an opportunity to do any initializion beyond setting the three target member variables that is performed in at the start of the method. |
void |
postPostCopyFeedback()
Posts post copy feedback. |
void |
postPreCopyFeedback()
Posts pre-copy user feedback. |
void |
printPostCopyVerbose()
Prints verbose post-copy statements. |
void |
printPreCopyVerbose()
Prints verbose pre-copy statements. |
protected void |
pruneObjects()
This is not necessary for every type of object, but there are times when it is most efficient to prune objects that are present in the target container, but are absent in the source container. |
protected void |
rememberSourceContainerObjects()
Depending on the template being employed it may be necessary to to remember what was in the source container in order to do pruning. |
protected void |
rememberTargetContainerObjects()
If you need to prune the container, you had better know what the template left you with. |
void |
setWorklist(ContainerCopyWorklist a_worklist)
Supported API: false |
static String |
showAdHocAcl(Object object)
Returns a String representation of the ad hoc acl contained in the object. |
private void |
updateAclMap(List groups,
AdHocControlled folder,
String commonPath)
|
Methods inherited from class wt.inf.template.containercopy.AbstractContainerCopyHandler |
copyObjects, getCopier, getSourceContainer, getTargetContainer, getWorklist, postFeedback, setCopier, setSourceContainer, setTargetContainer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final boolean VERBOSE
private ContainerOrderedFolders sourceContainerFolders
private ContainerOrderedFolders targetContainerFolders
private String origFoldersRoot
private String newFoldersRoot
private Object[] DEF_PARAMS
private Map folderAcls
private Map aclOnlyMap
private CommonCopyWorklist workList
private Map deathListMap
Constructor Detail |
public FolderStructureCopyHelper()
Method Detail |
protected void initialize() throws WTException
initialize
in class AbstractContainerCopyHandler
WTException
public void printPreCopyVerbose() throws WTException
printPreCopyVerbose
in interface ContainerCopyHandler
printPreCopyVerbose
in class AbstractContainerCopyHandler
WTException
public void postPreCopyFeedback() throws WTException
postPreCopyFeedback
in interface ContainerCopyHandler
postPreCopyFeedback
in class AbstractContainerCopyHandler
WTException
protected void rememberSourceContainerObjects() throws WTException
rememberSourceContainerObjects
in class AbstractContainerCopyHandler
WTException
protected void rememberTargetContainerObjects() throws WTException
rememberTargetContainerObjects
in class AbstractContainerCopyHandler
WTException
protected void pruneObjects() throws WTException
WTException
protected void copyAddedObjects() throws WTException
copyAddedObjects
in class AbstractContainerCopyHandler
WTException
public void postPostCopyFeedback() throws WTException
postPostCopyFeedback
in interface ContainerCopyHandler
postPostCopyFeedback
in class AbstractContainerCopyHandler
WTException
public void printPostCopyVerbose() throws WTException
printPostCopyVerbose
in interface ContainerCopyHandler
printPostCopyVerbose
in class AbstractContainerCopyHandler
WTException
public void setWorklist(ContainerCopyWorklist a_worklist)
setWorklist
in interface ContainerCopyHandler
setWorklist
in class AbstractContainerCopyHandler
a_worklist
- private void doAccessRules(WTContainerRef contRef, SubFolder folder, String subPath) throws WTException
WTException
private void initAccessRules(ContainerOrderedFolders contFolders) throws WTException
WTException
private void updateAclMap(List groups, AdHocControlled folder, String commonPath) throws WTException
WTException
private ObjectIdentifier getOid(Object obj) throws WTException
WTException
public static String showAdHocAcl(Object object) throws WTException
WTException
private void copySharedObjects() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |