Package wt.change2
Class SynchronizedDomainChooseFolderDelegate
java.lang.Object
wt.change2.SynchronizedDomainChooseFolderDelegate
- All Implemented Interfaces:
Externalizable,Serializable,ChooseFolderDelegate
public class SynchronizedDomainChooseFolderDelegate
extends Object
implements ChooseFolderDelegate, Externalizable
This delegate has similar semantics to those of DefaultChooseFolderDelegate,
but forces the administrative domain of each non-foldered change object
to be synchronized with that of its associated foldered change object.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionassignLocation(CabinetMember target, CabinetMember source) Assign the target CabinetMember object to the same Cabinet as the source CabinetMember object; force the domain of the target to match that of the source; set inheritedDomain=false for the target.assignLocation(CabinetMember target, Foldered source) Assign the target CabinetMember object to the same Cabinet as the source Foldered object; force the domain of the target to match that of the source; set inheritedDomain=false for the target.assignLocation(Foldered target) Assign the target Foldered object to a Folder using the property file resource entry:assignLocation(Foldered target, CabinetMember source) Assign the target Foldered object to a Folder using the source CabinetMember object.assignLocation(Foldered target, Foldered source) Assign the target Foldered object to the same Folder as the source Foldered object.changeFolder(CabinetMember target, CabinetMember source) Change the target CabinetMember object to the same Cabinet as the source CabinetMember object, and explicitly change the domain, if needed.changeFolder(CabinetMember target, Foldered source) Change the target CabinetMember object to the same Cabinet as the source Foldered object; force the domain of the target to match that of the source.changeFolder(Foldered target, CabinetMember source) Change the target Foldered object to a Folder using the source CabinetMember object.changeFolder(Foldered target, Foldered source) Change the target Foldered object to the same Folder as the source Foldered object.
-
Method Details
-
assignLocation
public CabinetMember assignLocation(CabinetMember target, CabinetMember source) throws WTException, ChangeException2 Assign the target CabinetMember object to the same Cabinet as the source CabinetMember object; force the domain of the target to match that of the source; set inheritedDomain=false for the target.
Supported API: true- Specified by:
assignLocationin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- CabinetMember
- Throws:
WTExceptionChangeException2
-
assignLocation
public Foldered assignLocation(Foldered target, Foldered source) throws WTException, ChangeException2 Assign the target Foldered object to the same Folder as the source Foldered object.
Supported API: true- Specified by:
assignLocationin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- Foldered
- Throws:
WTExceptionChangeException2
-
assignLocation
public CabinetMember assignLocation(CabinetMember target, Foldered source) throws WTException, ChangeException2 Assign the target CabinetMember object to the same Cabinet as the source Foldered object; force the domain of the target to match that of the source; set inheritedDomain=false for the target.
Supported API: true- Specified by:
assignLocationin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- CabinetMember
- Throws:
WTExceptionChangeException2
-
assignLocation
public CabinetMember assignLocation(Foldered target, CabinetMember source) throws WTException, ChangeException2 Assign the target Foldered object to a Folder using the source CabinetMember object. This method is not implemented, so it throws a ChangeException2 all the time; it is intended that customizers may want to use this signature.
Supported API: true- Specified by:
assignLocationin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- CabinetMember
- Throws:
WTExceptionChangeException2
-
assignLocation
Assign the target Foldered object to a Folder using the property file resource entry:wt.services/rsc/default/FolderedChangeItemLocation
.
Supported API: true- Specified by:
assignLocationin interfaceChooseFolderDelegate- Parameters:
target-- Returns:
- Foldered
- Throws:
WTExceptionChangeException2
-
changeFolder
public CabinetMember changeFolder(CabinetMember target, CabinetMember source) throws WTException, ChangeException2 Change the target CabinetMember object to the same Cabinet as the source CabinetMember object, and explicitly change the domain, if needed.
Supported API: true- Specified by:
changeFolderin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- CabinetMember
- Throws:
WTExceptionChangeException2
-
changeFolder
Change the target Foldered object to the same Folder as the source Foldered object.
Supported API: true- Specified by:
changeFolderin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- Foldered
- Throws:
WTExceptionChangeException2
-
changeFolder
public CabinetMember changeFolder(CabinetMember target, Foldered source) throws WTException, ChangeException2 Change the target CabinetMember object to the same Cabinet as the source Foldered object; force the domain of the target to match that of the source.
Supported API: true- Specified by:
changeFolderin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- CabinetMember
- Throws:
WTExceptionChangeException2
-
changeFolder
public Foldered changeFolder(Foldered target, CabinetMember source) throws WTException, ChangeException2 Change the target Foldered object to a Folder using the source CabinetMember object. This method is not implemented, so it throws a ChangeException2 all the time; it is intended that customizers may want to use this signature.
Supported API: true- Specified by:
changeFolderin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- Foldered
- Throws:
WTExceptionChangeException2
-