List Info

Thread: Re: org.eclipse.corona.container.repository.IMultiRepositoryAdapter




Re: org.eclipse.corona.container.repository .IMultiRepositoryAdapter
user name
2007-03-19 10:09:30
Don't know if checkout operation should be done with
fetchResource().

I wonder if we have repository adapter factory, if we could
have for 
instance "IImportableRepository". If you can get
an adapter 
"IImportableRepository" then you can perform
import operation with 
simply IImportableRepository.import()...

I think this approach is much more safer than semantic
overload of methods.

Marcin


Jaworowski, Piotr wrote:
>
> 1) I managed to get rid of IUIRepositoryAdapter,
>
> 2) I’ll try to get rid of this IMultiRepositoryAdapter;
just need some 
> more time.
>
> The reason for creating the IMultiRepositoryAdapter was
to be able to 
> perform some operations like fetchResource(); open();
close() on 
> several RepositoryDescriptors in one open(); close();
fetchResource() 
> call in the background; and than inform listeners that
the operation 
> was completed, (please check the WpRepositoryAdapter
class, and inner 
> class AdapterCheckoutOperation).
>
> Cheers,
>
> Piotr
>
> Ps. I’m trying to get rid of this. I’ll let you know
about the status.
>
>
------------------------------------------------------------
------------
>
> *From
corona-dev-bounceseclipse.org 
> [mailto:corona-dev-bounceseclipse.org] *On Behalf Of
*Everitt, Glenn
> *Sent Monday,
March 19, 2007 3:17 PM
> *To Corona
development
> *Subject
[corona-dev] 
>
org.eclipse.corona.container.repository.IMultiRepositoryAdap
ter
>
> Could someone write something up about the role of 
> IMultiRepositoryAdapter? I’m afraid I don’t understand
its purpose.
>
> Glenn
>
>
> The contents of this e-mail are intended for the named
addressee only. 
> It contains information that may be confidential.
Unless you are the 
> named addressee or an authorized designee, you may not
copy or use it, 
> or disclose it to anyone else. If you received it in
error please 
> notify us immediately and then destroy it.
>
>
> The contents of this e-mail are intended for the named
addressee only. 
> It contains information that may be confidential.
Unless you are the 
> named addressee or an authorized designee, you may not
copy or use it, 
> or disclose it to anyone else. If you received it in
error please 
> notify us immediately and then destroy it.
>
------------------------------------------------------------
------------
>
> _______________________________________________
> corona-dev mailing list
> corona-deveclipse.org
> h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev
>   
The contents of this e-mail are intended for the named
addressee only. It contains information that may be
confidential. Unless you are the named addressee or an
authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify
us immediately and then destroy it. 
_______________________________________________
corona-dev mailing list
corona-deveclipse.org
h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev

Re: org.eclipse.corona.container.repository .IMultiRepositoryAdapter
user name
2007-03-19 10:18:51
Rewriting the paragraph below, since it isn't understandable.

If we have repository adapter factory which takes a type of desired adapter as an attribute, we could have for instance an interface "IImportableRepository" for repository import operation (checkout). Then if you can get an adapter of type "IImportableRepository" then you can perform import operation with simply IImportableRepository.import()...

pl.compuware.com" type="cite">I wonder if we have repository adapter factory, if we could have for instance "IImportableRepository". If you can get an adapter "IImportableRepository" then you can perform import operation with simply IImportableRepository.import()...

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
RE: org.eclipse.corona.container.repository .IMultiRepositoryAdapter
user name
2007-03-19 12:17:49
I've managed to get rid of IMultiRepositoryAdapter, but I
agree with
Marcin that we should create an interface like
IImportableRepository.

Cheers,
Piotr

Ps. I've removed following classes/interfaces from
org.eclipse.corona.container (connected with
IMultiRepositoryInterface):
	IMultiRepositoryAdapter
	IUIRepositoryAdapter
	IUIRepositoryAdapterListener
	UIRepositoryAdapterEvent

> -----Original Message-----
> From: corona-dev-bounceseclipse.org
[mailto:corona-dev-
> bounceseclipse.org] On Behalf Of Marcin Okraszewski
> Sent: Monday, March 19, 2007 4:10 PM
> To: Corona development
> Subject: Re: [corona-dev]
>
org.eclipse.corona.container.repository.IMultiRepositoryAdap
ter
> 
> Don't know if checkout operation should be done with
fetchResource().
> 
> I wonder if we have repository adapter factory, if we
could have for
> instance "IImportableRepository". If you can
get an adapter
> "IImportableRepository" then you can perform
import operation with
> simply IImportableRepository.import()...
> 
> I think this approach is much more safer than semantic
overload of
> methods.
> 
> Marcin
> 
> 
> Jaworowski, Piotr wrote:
> >
> > 1) I managed to get rid of IUIRepositoryAdapter,
> >
> > 2) I'll try to get rid of this
IMultiRepositoryAdapter; just need
some
> > more time.
> >
> > The reason for creating the
IMultiRepositoryAdapter was to be able
to
> > perform some operations like fetchResource();
open(); close() on
> > several RepositoryDescriptors in one open();
close();
fetchResource()
> > call in the background; and than inform listeners
that the operation
> > was completed, (please check the
WpRepositoryAdapter class, and
inner
> > class AdapterCheckoutOperation).
> >
> > Cheers,
> >
> > Piotr
> >
> > Ps. I'm trying to get rid of this. I'll let you
know about the
status.
> >
> >
------------------------------------------------------------
------------
> >
> > *From
corona-dev-bounceseclipse.org
> > [mailto:corona-dev-bounceseclipse.org] *On Behalf Of
*Everitt,
Glenn
> > *Sent Monday,
March 19, 2007 3:17 PM
> > *To Corona
development
> > *Subject
[corona-dev]
> >
org.eclipse.corona.container.repository.IMultiRepositoryAdap
ter
> >
> > Could someone write something up about the role
of
> > IMultiRepositoryAdapter? I'm afraid I don't
understand its purpose.
> >
> > Glenn
> >
> >
> > The contents of this e-mail are intended for the
named addressee
only.
> > It contains information that may be confidential.
Unless you are the
> > named addressee or an authorized designee, you may
not copy or use
it,
> > or disclose it to anyone else. If you received it
in error please
> > notify us immediately and then destroy it.
> >
> >
> > The contents of this e-mail are intended for the
named addressee
only.
> > It contains information that may be confidential.
Unless you are the
> > named addressee or an authorized designee, you may
not copy or use
it,
> > or disclose it to anyone else. If you received it
in error please
> > notify us immediately and then destroy it.
> >
------------------------------------------------------------
------------
> >
> > _______________________________________________
> > corona-dev mailing list
> > corona-deveclipse.org
> > h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev
> >
> The contents of this e-mail are intended for the named
addressee only.
It
> contains information that may be confidential. Unless
you are the
named
> addressee or an authorized designee, you may not copy
or use it, or
> disclose it to anyone else. If you received it in error
please notify
us
> immediately and then destroy it.
> _______________________________________________
> corona-dev mailing list
> corona-deveclipse.org
> h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev

The contents of this e-mail are intended for the named
addressee only. It contains information that may be
confidential. Unless you are the named addressee or an
authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify
us immediately and then destroy it. 
_______________________________________________
corona-dev mailing list
corona-deveclipse.org
h
ttps://dev.eclipse.org/mailman/listinfo/corona-dev

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )