gr.uoa.di.madgik.rr.element.data
Class DataLanguage

java.lang.Object
  extended by gr.uoa.di.madgik.rr.element.data.DataLanguage
All Implemented Interfaces:
gr.uoa.di.madgik.rr.element.IRRElement

public class DataLanguage
extends java.lang.Object
implements gr.uoa.di.madgik.rr.element.IRRElement


Constructor Summary
DataLanguage()
           
 
Method Summary
 void delete(boolean loadDetails)
           
 void delete(boolean loadDetails, gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
           
 boolean exists()
           
 boolean exists(gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
           
 java.lang.String getCollection()
           
 java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> getFieldLanguages()
           
 java.lang.String getID()
           
 gr.uoa.di.madgik.rr.RRContext getISContext()
           
 gr.uoa.di.madgik.rr.element.IDaoElement getItem()
           
static java.util.List<DataLanguage> getLanguages()
           
static DataLanguage getLanguages(java.lang.String collection)
           
static java.util.Set<java.lang.String> getLanguages(java.lang.String collection, java.lang.String field)
           
 boolean isEqual(gr.uoa.di.madgik.rr.element.IRRElement target, boolean includeDetails)
           
 boolean load(boolean loadDetails)
           
 boolean load(boolean loadDetails, gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
           
 void setCollection(java.lang.String collection)
           
 void setID(java.lang.String id)
           
 void store(boolean storeDetails)
           
 void store(boolean storeDetails, gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataLanguage

public DataLanguage()
             throws gr.uoa.di.madgik.rr.ResourceRegistryException
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException
Method Detail

getISContext

public gr.uoa.di.madgik.rr.RRContext getISContext()
Specified by:
getISContext in interface gr.uoa.di.madgik.rr.element.IRRElement

getCollection

public java.lang.String getCollection()

setCollection

public void setCollection(java.lang.String collection)

getFieldLanguages

public java.util.HashMap<java.lang.String,java.util.Set<java.lang.String>> getFieldLanguages()

getID

public java.lang.String getID()
Specified by:
getID in interface gr.uoa.di.madgik.rr.element.IRRElement

setID

public void setID(java.lang.String id)
Specified by:
setID in interface gr.uoa.di.madgik.rr.element.IRRElement

getItem

public gr.uoa.di.madgik.rr.element.IDaoElement getItem()
Specified by:
getItem in interface gr.uoa.di.madgik.rr.element.IRRElement

isEqual

public boolean isEqual(gr.uoa.di.madgik.rr.element.IRRElement target,
                       boolean includeDetails)
                throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
isEqual in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

load

public boolean load(boolean loadDetails)
             throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
load in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

load

public boolean load(boolean loadDetails,
                    gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
             throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
load in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

store

public void store(boolean storeDetails)
           throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
store in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

store

public void store(boolean storeDetails,
                  gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
           throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
store in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

delete

public void delete(boolean loadDetails)
            throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
delete in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

delete

public void delete(boolean loadDetails,
                   gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
            throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
delete in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

exists

public boolean exists()
               throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
exists in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

exists

public boolean exists(gr.uoa.di.madgik.rr.RRContext.DatastoreType persistencyType)
               throws gr.uoa.di.madgik.rr.ResourceRegistryException
Specified by:
exists in interface gr.uoa.di.madgik.rr.element.IRRElement
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

getLanguages

public static java.util.List<DataLanguage> getLanguages()
                                                 throws gr.uoa.di.madgik.rr.ResourceRegistryException
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

getLanguages

public static DataLanguage getLanguages(java.lang.String collection)
                                 throws gr.uoa.di.madgik.rr.ResourceRegistryException
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException

getLanguages

public static java.util.Set<java.lang.String> getLanguages(java.lang.String collection,
                                                           java.lang.String field)
                                                    throws gr.uoa.di.madgik.rr.ResourceRegistryException
Throws:
gr.uoa.di.madgik.rr.ResourceRegistryException