org.openmdx.base.accessor.generic.spi
Interface ViewObject_1_0

All Known Implementing Classes:
ViewObject_1

public interface ViewObject_1_0

ViewObject_1_0


Method Summary
 Collection allStates(Boolean invalidated, Boolean deleted)
          Retrieve all states of an object
 void cloneSourceDelegate(XMLGregorianCalendar validFrom, XMLGregorianCalendar validTo)
           
 boolean exists()
          Tells whether there exist underlying valid states
 Object_1_0 getSourceDelegate()
          Retrieve the object's delegate
 InteractionSpec getViewContext()
           
 boolean isReadable()
          Tells whether one may read the object's features
 void objSetClass(String objectClass)
          Set the object's model class.
 

Method Detail

isReadable

boolean isReadable()
                   throws ServiceException
Tells whether one may read the object's features

Returns:
true if the object's features are readable
Throws:
ServiceException

getSourceDelegate

Object_1_0 getSourceDelegate()
                             throws ServiceException
Retrieve the object's delegate

Returns:
the object's delegate
Throws:
ServiceException

objSetClass

void objSetClass(String objectClass)
                 throws ServiceException
Set the object's model class.

Parameters:
objectCLass - the object's model class
Throws:
ServiceException

allStates

Collection allStates(Boolean invalidated,
                     Boolean deleted)
                     throws ServiceException
Retrieve all states of an object

Parameters:
invalidated - tells whether one looks for valid or invalid states
deleted - tells whether one looks for persistent or persistent-deleted states
Returns:
all states of an object
Throws:
ServiceException

cloneSourceDelegate

void cloneSourceDelegate(XMLGregorianCalendar validFrom,
                         XMLGregorianCalendar validTo)
                         throws ServiceException
Throws:
ServiceException

getViewContext

InteractionSpec getViewContext()

exists

boolean exists()
               throws ServiceException
Tells whether there exist underlying valid states

Returns:
true if there exists at least one underlying valid state
Throws:
ServiceException


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.