fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/form/FormContainerClient.java
public Form unLockFormContainer(
            Form formParam,
            User userToUnLockAsParam,
            boolean unlockAsyncParam,
            boolean removeFromPersonalInventoryParam) {
        if(this.serviceTicket != null && formParam != null) {
            formParam.setServiceTicket(this.serviceTicket);
        }

        Long unLockAsUserId = (userToUnLockAsParam == null) ?
                null : userToUnLockAsParam.getId();

        try {
            return new Form(this.postJson(
                    formParam,
                    WS.Path.FormContainer.Version1.unLockFormContainer(
                            unLockAsUserId,
                            unlockAsyncParam,
                            removeFromPersonalInventoryParam)));
        }
        //rethrow as a Fluid Client exception.
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public Form unLockFormContainer(
            Form formParam,
            User userToUnLockAsParam,
            boolean unlockAsyncParam,
            boolean removeFromPersonalInventoryParam) {
        if(this.serviceTicket != null && formParam != null) {
            formParam.setServiceTicket(this.serviceTicket);
        }

        Long unLockAsUserId = (userToUnLockAsParam == null) ?
                null : userToUnLockAsParam.getId();

        try {
            return new Form(this.postJson(
                    formParam,
                    WS.Path.FormContainer.Version1.unLockFormContainer(
                            unLockAsUserId,
                            unlockAsyncParam,
                            removeFromPersonalInventoryParam)));
        }
        //rethrow as a Fluid Client exception.
        catch (JSONException jsonExcept) {
            throw new FluidClientException(jsonExcept.getMessage(),
                    FluidClientException.ErrorCode.JSON_PARSING);
        }
    }
public Form unLockFormContainer ( Form formParam , User userToUnLockAsParam , boolean unlockAsyncParam , boolean removeFromPersonalInventoryParam ) { if ( this . serviceTicket != null && formParam != null ) { formParam . setServiceTicket ( this . serviceTicket ) ; } Long unLockAsUserId = ( userToUnLockAsParam == null ) ? null : userToUnLockAsParam . getId ( ) ; try { return new Form ( this . postJson ( formParam , WS . Path . FormContainer . Version1 . unLockFormContainer ( unLockAsUserId , unlockAsyncParam , removeFromPersonalInventoryParam ) ) ) ; } //rethrow as a Fluid Client exception. catch ( JSONException jsonExcept ) { throw new FluidClientException ( jsonExcept . getMessage ( ) , FluidClientException . ErrorCode . JSON_PARSING ) ; } }
Unlock the provided form container from the logged in user.

@param formParam The form to unlock.
@param userToUnLockAsParam The form will be un-locked as this user.
The logged in user must have permission to perform this action.
@param unlockAsyncParam Should the unlock be performed asynchronous.
@param removeFromPersonalInventoryParam Remove from Personal Inventory when unlocked.

@return The un-locked form.
Unlock the provided form container from the logged in user .