Package wt.change2
Class DefaultChooseFolderDelegate
java.lang.Object
wt.change2.DefaultChooseFolderDelegate
- All Implemented Interfaces:
Externalizable,Serializable,ChooseFolderDelegate
public class DefaultChooseFolderDelegate
extends Object
implements ChooseFolderDelegate, Externalizable
This delegate assigns a location to or changes the location of (Folder
or Cabinet) an object to the location (Folder or Cabinet) of the other
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 Folder or Cabinet as the source CabinetMember object, as appropriate.assignLocation(CabinetMember target, Foldered source) Assign the target CabinetMember object to a Cabinet using the source Foldered object.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 a Folder using the source Foldered object.changeFolder(CabinetMember target, CabinetMember source) Change the target CabinetMember object to the same Folder or Cabinet as the source CabinetMember object, as appropriate.changeFolder(CabinetMember target, Foldered source) Change the target CabinetMember object to a Cabinet using the source Foldered object.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 a Folder using 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 Folder or Cabinet as the source CabinetMember object, as appropriate. Assign the target to the same Folder as the source if both are Foldered; assign it to the same Cabinet as the source if the target is a CabinetMember and the source is either a CabinetMember or Foldered; throw an exception otherwise.
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 a Folder using 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 a Cabinet using the source Foldered object.
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 Folder or Cabinet as the source CabinetMember object, as appropriate. Assign the target to the same Folder as the source if both are Foldered; assign it to the same Cabinet as the source if the target is a CabinetMember and the source is either a CabinetMember or Foldered; throw an exception otherwise.
Supported API: true- Specified by:
changeFolderin interfaceChooseFolderDelegate- Parameters:
target-source-- Returns:
- CabinetMember
- Throws:
WTExceptionChangeException2
-
changeFolder
Change the target Foldered object to a Folder using 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 a Cabinet using the source Foldered object.
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
-