ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (AMBARI-5554) Ambari Views : Persistence Data Store
Date Fri, 25 Apr 2014 17:03:14 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tom Beerbower reopened AMBARI-5554:
-----------------------------------


> Ambari Views : Persistence Data Store
> -------------------------------------
>
>                 Key: AMBARI-5554
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5554
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>
> The view context will expose a data store object with the following interface ...
> {code}
> public interface DataStore {
>  
>   public void store(Object entity) throws PersistenceException;
>   public void remove(Object entity) throws PersistenceException;
>  
>   public <T> T find(Class<T> clazz, Object primaryKey) 
>     throws PersistenceException;
>   public <T> Collection<T> findAll(Class<T> clazz, String whereClause)

>     throws PersistenceException;
> }
> {code}
> This will allow a view to persist any Java Bean as application data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message