wt.fc
Class IdentityServiceFwd
java.lang.Object
wt.fc.IdentityServiceFwd
- All Implemented Interfaces:
- IdentityService, RemoteAccess, Serializable
- public class IdentityServiceFwd
- extends Object
- implements RemoteAccess, IdentityService, Serializable
Remote interface with public identity service methods.
Supported API: false
Extendable: false
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER
static final boolean SERVER
FC_RESOURCE
private static final String FC_RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
IdentityServiceFwd
public IdentityServiceFwd()
getManager
private static Manager getManager()
throws WTException
- Returns:
- Manager
- Throws:
WTException
changeIdentity
public Identified changeIdentity(Identified obj,
IdentificationObject identity)
throws WTException
- Changes the identity of the object to the one held by the Identification
object. The identity change is performed after identity constraints
have been checked (including uniqueness constraints). The change
is performed as a single operation, even if the identity is composed
of several attributes.
Supported API: false
- Specified by:
changeIdentity
in interface IdentityService
- Parameters:
obj
- identity
-
- Returns:
- Identified
- Throws:
WTException
changeIdentities
public WTCollection changeIdentities(WTKeyedMap identifiedToIdentificationObjectMap)
throws WTException
- Changes the identities of all the Identied objects (the keys) to the
ones of the IdentificationObjects (the values). Checks the validity
of the changes including uniqueness constraints. If the changes are
allowed, performs them and saves the changed objects in the database.
Returns the changed objects or throws an exception if the change
is not allowed. Posts PRE and POST change identity events.
Supported API: false
- Specified by:
changeIdentities
in interface IdentityService
- Parameters:
identifiedToIdentificationObjectMap
-
- Returns:
- WTCollection
- Throws:
WTException
changeMasterIdentity
public Master changeMasterIdentity(Master master,
String name,
String number,
WTOrganization org)
throws WTPropertyVetoException,
UniquenessException,
WTException
- Change the Mastered object identity with the new name, number and
organization.
Supported API: false
- Specified by:
changeMasterIdentity
in interface IdentityService
- Parameters:
master
- name
- number
- org
-
- Returns:
- Master
- Throws:
WTPropertyVetoException
UniquenessException
WTException