Commit 07f6ac62 by Tuomas Riihimäki

Hmm. vähän kaikkea, kai..

1 parent ed9d448f
Showing with 277 additions and 171 deletions
......@@ -4,6 +4,7 @@ HUOM!!!!
Stablessa glasfishiss on ainakin kirjoitushetkell bugi nemaed queryjen kanssa. 3.1 betassa tm on korjattu!
################################################
......@@ -11,7 +12,7 @@ bortal realmin lisminen glassfishiin.
1. Lis code/LanBortalAuthModule.jar tiedosto hakemistoon glassfish/glassfish/domains/domain1/lib/
2. Lis postgres JDBC library glassfisg/glassfish/lib/ hakemistoon
2. Lis postgres JDBC library glassfish/glassfish/lib/ hakemistoon
3. lis tiedostoon glassfish/glassfish/domains/domain1/config/login.conf tiedostoon:
......
......@@ -31,5 +31,11 @@
<dependent-module archiveName="log4j.jar" deploy-path="/lib" handle="module:/classpath/lib/LanBortal/ExtraLibs/log4j.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="granite-cdi.jar" deploy-path="/lib" handle="module:/classpath/lib/LanBortal/ExtraLibs/granite-cdi.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="granite-beanvalidation.jar" deploy-path="/lib" handle="module:/classpath/lib/LanBortal/ExtraLibs/granite-beanvalidation.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>
</project-modules>
No preview for this file type
......@@ -2,11 +2,11 @@
<graniteProperties version="2.0">
<gas3 uid="uid" as3TypeFactory="org.granite.generator.as3.DefaultAs3TypeFactory" entityFactory="org.granite.generator.as3.DefaultEntityFactory" remoteDestinationFactory="org.granite.generator.as3.DefaultRemoteDestinationFactory" debugEnabled="false" flexConfig="false">
<source path="src" includes="" excludes="" output="as3;"/>
<template kind="ENTITY" uris="class:org/granite/generator/template/entity.gsp;class:org/granite/generator/template/entityBase.gsp"/>
<template kind="BEAN" uris="class:org/granite/generator/template/bean.gsp;class:org/granite/generator/template/beanBase.gsp"/>
<template kind="REMOTE_DESTINATION" uris="class:org/granite/generator/template/remote.gsp;class:org/granite/generator/template/remoteBase.gsp"/>
<template kind="INTERFACE" uris="class:org/granite/generator/template/interface.gsp"/>
<template kind="ENUM" uris="class:org/granite/generator/template/enum.gsp"/>
<template kind="ENTITY" uris="class:org/granite/generator/template/entity.gsp;class:org/granite/generator/template/entityBase.gsp"/>
<template kind="REMOTE_DESTINATION" uris="class:org/granite/generator/template/remote.gsp;class:org/granite/generator/template/remoteBase.gsp"/>
<transformer type="org.granite.generator.as3.JavaAs3GroovyTransformer"/>
</gas3>
</graniteProperties>
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
......
<?xml version="1.0" encoding="UTF-8"?>
<graniteProperties version="2.0">
<gas3 uid="uid" as3TypeFactory="org.granite.generator.as3.DefaultAs3TypeFactory" entityFactory="org.granite.generator.as3.DefaultEntityFactory" remoteDestinationFactory="org.granite.generator.as3.DefaultRemoteDestinationFactory" debugEnabled="false" flexConfig="false">
<source path="ejbModule" includes="" excludes="" output="../LanBortalWeb/as3;"/>
<gas3 uid="uid" as3TypeFactory="org.granite.generator.as3.DefaultAs3TypeFactory" entityFactory="org.granite.generator.as3.DefaultEntityFactory" remoteDestinationFactory="org.granite.generator.as3.DefaultRemoteDestinationFactory" debugEnabled="false" flexConfig="false" externalizeLong="false" externalizeBigInteger="false" externalizeBigDecimal="false">
<source path="ejbModule" includes="" excludes="" output="as3;"/>
<project path="LanBortalAuthModuleClient"/>
<project path="LanBortalBeansClient"/>
<template kind="INTERFACE" uris="class:org/granite/generator/template/interface.gsp"/>
<template kind="ENTITY" uris="class:org/granite/generator/template/entity.gsp;class:org/granite/generator/template/entityBase.gsp"/>
<template kind="INTERFACE" uris="class:org/granite/generator/template/interface.gsp"/>
<template kind="REMOTE_DESTINATION" uris="class:org/granite/generator/template/remote.gsp;class:org/granite/generator/template/remoteBase.gsp"/>
<template kind="BEAN" uris="class:org/granite/generator/template/bean.gsp;class:org/granite/generator/template/beanBase.gsp"/>
<template kind="ENUM" uris="class:org/granite/generator/template/enum.gsp"/>
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (AccessRightBean.as).
......@@ -13,7 +13,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class AccessRightBeanBase implements IExternalizable, AccessRightBeanLocal {
public class AccessRightBeanBase implements IExternalizable {
private var _accessRightFacade:AccessRightFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (BillBean.as).
......@@ -14,7 +14,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class BillBeanBase implements IExternalizable, BillBeanLocal {
public class BillBeanBase implements IExternalizable {
private var _authbean:AuthorisationBeanLocal;
private var _billFacade:BillFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (BillLineBean.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......@@ -7,8 +7,15 @@
package fi.insomnia.bortal.beans {
import fi.insomnia.bortal.model.LanEvent;
[Bindable]
[RemoteClass(alias="fi.insomnia.bortal.beans.EventBean")]
public class EventBean extends EventBeanBase {
override public function get currentEvent():LanEvent {
// TODO: Gas3 default generated getter.
return null;
}
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventBean.as).
......@@ -13,20 +13,19 @@ package fi.insomnia.bortal.beans {
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
import javax.persistence.EntityManager;
[Bindable]
public class EventBeanBase implements IExternalizable, EventBeanLocal {
public class EventBeanBase implements IExternalizable {
private var _em:EntityManager;
private var _eventFacade:EventFacade;
private var _eventOrganiserFacade:EventOrganiserFacade;
private var _eventStatusBean:EventStatusBeanLocal;
private var _userFacade:UserFacade;
public function get currentEvent():Event {
return null;
}
public function readExternal(input:IDataInput):void {
_em = input.readObject() as EntityManager;
_eventFacade = input.readObject() as EventFacade;
_eventOrganiserFacade = input.readObject() as EventOrganiserFacade;
_eventStatusBean = input.readObject() as EventStatusBeanLocal;
......@@ -34,6 +33,7 @@ package fi.insomnia.bortal.beans {
}
public function writeExternal(output:IDataOutput):void {
output.writeObject(_em);
output.writeObject(_eventFacade);
output.writeObject(_eventOrganiserFacade);
output.writeObject(_eventStatusBean);
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventStatusBean.as).
......@@ -13,7 +13,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class EventStatusBeanBase implements IExternalizable, EventStatusBeanLocal {
public class EventStatusBeanBase implements IExternalizable {
private var _eventStatusFacade:EventStatusFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (JaasBean.as).
......@@ -13,7 +13,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class JaasBeanBase implements IExternalizable, JaasBeanLocal, JaasBeanRemote {
public class JaasBeanBase implements IExternalizable {
private var _secubean:SecurityBeanLocal;
private var _userbean:UserBean;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (PlaceBean.as).
......@@ -13,7 +13,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class PlaceBeanBase implements IExternalizable, PlaceBeanLocal {
public class PlaceBeanBase implements IExternalizable {
private var _placeFacade:PlaceFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (PlaceMapBean.as).
......@@ -14,7 +14,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class PlaceMapBeanBase implements IExternalizable, PlaceMapBeanLocal {
public class PlaceMapBeanBase implements IExternalizable {
private var _eventMapFacade:EventMapFacade;
private var _eventbean:EventBeanLocal;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (ProductBean.as).
......@@ -13,7 +13,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class ProductBeanBase implements IExternalizable, ProductBeanLocal {
public class ProductBeanBase implements IExternalizable {
protected var _productFacade:ProductFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (RoleBean.as).
......@@ -15,7 +15,7 @@ package fi.insomnia.bortal.beans {
import flash.utils.IExternalizable;
[Bindable]
public class RoleBeanBase implements IExternalizable, RoleBeanLocal {
public class RoleBeanBase implements IExternalizable {
private var _accessrightFacade:AccessRightFacade;
private var _arf:AccessRightFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (SecurityBean.as).
......@@ -15,7 +15,7 @@ package fi.insomnia.bortal.beans {
import org.slf4j.Logger;
[Bindable]
public class SecurityBeanBase implements IExternalizable, SecurityBeanLocal {
public class SecurityBeanBase implements IExternalizable {
private var _entryFacade:LogEntryFacade;
private var _logger:Logger;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (TestDataBean.as).
......@@ -20,7 +20,7 @@ package fi.insomnia.bortal.beans {
import javax.persistence.EntityManager;
[Bindable]
public class TestDataBeanBase implements IExternalizable, TestDataBeanLocal {
public class TestDataBeanBase implements IExternalizable {
private var _billFacade:BillFacade;
private var _billLineFacade:BillLineFacade;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......@@ -7,12 +7,23 @@
package fi.insomnia.bortal.beans {
import fi.insomnia.bortal.model.User;
import mx.collections.ListCollectionView;
[Bindable]
[RemoteClass(alias="fi.insomnia.bortal.beans.UserBean")]
public class UserBean extends UserBeanBase {
override public function get currentUser():User {
// TODO: Gas3 default generated getter.
return null;
}
override public function get defaultUser():User {
// TODO: Gas3 default generated getter.
return null;
}
override public function get users():ListCollectionView {
// TODO: Gas3 default generated getter.
return null;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (UserBean.as).
......@@ -15,7 +15,7 @@ package fi.insomnia.bortal.beans {
import javax.ejb.SessionContext;
[Bindable]
public class UserBeanBase implements IExternalizable, UserBeanLocal {
public class UserBeanBase implements IExternalizable {
private var _accessRightBeanLocal:AccessRightBeanLocal;
private var _context:SessionContext;
......@@ -24,18 +24,6 @@ package fi.insomnia.bortal.beans {
private var _secubean:SecurityBeanLocal;
private var _userFacade:UserFacade;
public function get currentUser():User {
return null;
}
public function get defaultUser():User {
return null;
}
public function get users():ListCollectionView {
return null;
}
public function readExternal(input:IDataInput):void {
_accessRightBeanLocal = input.readObject() as AccessRightBeanLocal;
_context = input.readObject() as SessionContext;
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (FlashMapBean.as).
*/
package fi.insomnia.bortal.beans.flash {
import fi.insomnia.bortal.beans.EventBeanLocal;
import fi.insomnia.bortal.facade.EventFacade;
import fi.insomnia.bortal.facade.EventMapFacade;
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
import javax.enterprise.event.Event;
import javax.persistence.EntityManagerFactory;
[Bindable]
public class FlashMapBeanBase implements IExternalizable, FlashMapBeanLocal {
private var _emf:EntityManagerFactory;
private var _eventFacade:EventFacade;
private var _eventbean:EventBeanLocal;
protected var _greetingEvent:Event;
private var _mapFacade:EventMapFacade;
public function readExternal(input:IDataInput):void {
_emf = input.readObject() as EntityManagerFactory;
_eventFacade = input.readObject() as EventFacade;
_eventbean = input.readObject() as EventBeanLocal;
_greetingEvent = input.readObject() as Event;
_mapFacade = input.readObject() as EventMapFacade;
}
public function writeExternal(output:IDataOutput):void {
output.writeObject(_emf);
output.writeObject(_eventFacade);
output.writeObject(_eventbean);
output.writeObject(_greetingEvent);
output.writeObject(_mapFacade);
}
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package fi.insomnia.bortal.beans.flash {
public interface RemoteLoggerLocal {
[RemoteClass(alias="fi.insomnia.bortal.beans.flash.HelloWorldBean")]
public class HelloWorldBean extends HelloWorldBeanBase {
}
}
\ No newline at end of file
}
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (PlaceBeanLocal.as).
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (HelloWorldBean.as).
*/
package fi.insomnia.bortal.beans {
package fi.insomnia.bortal.beans.flash {
import fi.insomnia.bortal.model.Place;
import mx.messaging.ChannelSet;
import mx.messaging.config.ServerConfig;
import mx.rpc.remoting.mxml.RemoteObject;
public class PlaceBeanLocalBase extends RemoteObject {
public class HelloWorldBeanBase extends RemoteObject {
private var _initRemote:Boolean = false;
private function initRemote():void {
destination = "";
channelSet = new ChannelSet();
channelSet.addChannel(ServerConfig.getChannel(""));
channelSet.addChannel(ServerConfig.getChannel("graniteamf"));
_initRemote = true;
}
public function mergeChanges(arg0:Place):void {
public function hello(arg0:String):void {
if (!_initRemote)
initRemote();
getOperation("mergeChanges").send(arg0);
getOperation("hello").send(arg0);
}
public function addOperationListener(op:Function, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void {
if (op == this.mergeChanges)
this.getOperation("mergeChanges").addEventListener(type, handler, useCapture, priority, useWeakReference);
if (op == this.hello)
this.getOperation("hello").addEventListener(type, handler, useCapture, priority, useWeakReference);
}
public function removeOperationListener(op:Function, event:String, handler:Function):void {
if (op == this.mergeChanges)
this.getOperation("mergeChanges").removeEventListener(event, handler);
if (op == this.hello)
this.getOperation("hello").removeEventListener(event, handler);
}
}
}
\ No newline at end of file
}
/**
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package fi.insomnia.bortal.beans.flash {
[Bindable]
[RemoteClass(alias="fi.insomnia.bortal.beans.flash.MapTest")]
public class MapTest extends MapTestBase {
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (Dummyclass.as).
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (MapTest.as).
*/
package fi.insomnia.bortal.beans.flash {
......@@ -12,33 +12,13 @@ package fi.insomnia.bortal.beans.flash {
import flash.utils.IExternalizable;
[Bindable]
public class DummyclassBase implements IExternalizable {
public class MapTestBase implements IExternalizable {
private var _id:Number;
private var _name:String;
public function set id(value:Number):void {
_id = value;
}
public function get id():Number {
return _id;
}
public function set name(value:String):void {
_name = value;
}
public function get name():String {
return _name;
}
public function readExternal(input:IDataInput):void {
_id = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
_name = input.readObject() as String;
}
public function writeExternal(output:IDataOutput):void {
output.writeObject(_id);
output.writeObject(_name);
}
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (RemoteLogger.as).
......@@ -18,7 +18,7 @@ package fi.insomnia.bortal.beans.flash {
private function initRemote():void {
destination = "";
channelSet = new ChannelSet();
channelSet.addChannel(ServerConfig.getChannel(""));
channelSet.addChannel(ServerConfig.getChannel("graniteamf"));
_initRemote = true;
}
......@@ -68,4 +68,4 @@ package fi.insomnia.bortal.beans.flash {
this.getOperation("warn").removeEventListener(event, handler);
}
}
}
\ No newline at end of file
}
/**
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package fi.insomnia.bortal.beans.flash {
[Bindable]
[RemoteClass(alias="fi.insomnia.bortal.beans.flash.TestStr")]
public class TestStr extends TestStrBase {
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (TestStr.as).
*/
package fi.insomnia.bortal.beans.flash {
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
[Bindable]
public class TestStrBase implements IExternalizable {
private var _arvo:String;
public function set arvo(value:String):void {
_arvo = value;
}
public function get arvo():String {
return _arvo;
}
public function readExternal(input:IDataInput):void {
_arvo = input.readObject() as String;
}
public function writeExternal(output:IDataOutput):void {
output.writeObject(_arvo);
}
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (AuthorisationBean.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (PdfPrinter.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (AccessRightFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (AccountEventFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (BillFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (BillLineFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (CardTemplateFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (CompoEntryFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (CompoEntryFileFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (CompoEntryParticipantFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (CompoFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (DiscountFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (DiscountInstanceFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventChildGenericFacade.as).
......@@ -9,17 +9,20 @@ package fi.insomnia.bortal.facade {
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
import java.lang.Class;
[Bindable]
public class EventChildGenericFacadeBase extends GenericFacade {
public class EventChildGenericFacadeBase implements IExternalizable {
private var _entClass:Class;
override public function readExternal(input:IDataInput):void {
super.readExternal(input);
public function readExternal(input:IDataInput):void {
_entClass = input.readObject() as Class;
}
override public function writeExternal(output:IDataOutput):void {
super.writeExternal(output);
public function writeExternal(output:IDataOutput):void {
output.writeObject(_entClass);
}
}
}
\ No newline at end of file
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventMapFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventOrganiserFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (EventStatusFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (FoodWaveFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (FoodWaveTemplateFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (GenericFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (GroupMembershipFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (IntegerPkGenericFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (LocationFacade.as).
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
......
/**
* Generated by Gas3 v2.1.0 (Granite Data Services).
* Generated by Gas3 v2.2.0 (Granite Data Services).
*
* WARNING: DO NOT CHANGE THIS FILE. IT MAY BE OVERWRITTEN EACH TIME YOU USE
* THE GENERATOR. INSTEAD, EDIT THE INHERITED CLASS (LogEntryFacade.as).
......
No preview for this file type
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!