|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlApplication
fr.cnes.sitools.common.application.SitoolsApplication
fr.cnes.sitools.datasource.jdbc.dbexplorer.DBExplorerApplication
public final class DBExplorerApplication
Finder mapping a database resource
Field Summary | |
---|---|
static java.lang.String |
CONTEXT_KEY
Context key |
Constructor Summary | |
---|---|
DBExplorerApplication(org.restlet.Context context,
SitoolsSQLDataSource dataSource)
Constructor |
Method Summary | |
---|---|
org.restlet.Restlet |
createInboundRoot()
-------------------------------------------------------------------------- ----------------------- |
SitoolsSQLDataSource |
getDataSource()
Get the DataSource |
org.restlet.security.MemoryRealm |
getRealms()
Gets the realms value |
boolean |
isDeleteAllowed()
Check if delete is allowed |
boolean |
isInsertAllowed()
Check if insert is allowed |
boolean |
isModifiable()
Indicates if modifications to local resources (most likely files) are allowed. |
boolean |
isSelectAllowed()
Check if select is allowed |
boolean |
isUpdateAllowed()
Check if update is allowed |
void |
setDeleteAllowed(boolean deleteAllowed)
Set if delete is allowed |
void |
setInsertAllowed(boolean insertAllowed)
Set if insert is allowed |
void |
setModifiable(boolean modifiable)
Indicates if modifications to local resources are allowed. |
void |
setRealms(org.restlet.security.MemoryRealm realms)
Sets the value of realms |
void |
setSelectAllowed(boolean selectAllowed)
Set if select is allowed |
void |
setUpdateAllowed(boolean updateAllowed)
Set if update is allowed |
void |
sitoolsDescribe()
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality. |
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication |
---|
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getApplicationInfo, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONTEXT_KEY
Constructor Detail |
---|
public DBExplorerApplication(org.restlet.Context context, SitoolsSQLDataSource dataSource)
context
- RESTlet Host ContextdataSource
- SQL DataSourceMethod Detail |
---|
public boolean isSelectAllowed()
public org.restlet.security.MemoryRealm getRealms()
public void setRealms(org.restlet.security.MemoryRealm realms)
realms
- the realms to setpublic SitoolsSQLDataSource getDataSource()
public boolean isUpdateAllowed()
public boolean isDeleteAllowed()
public boolean isInsertAllowed()
public boolean isModifiable()
public void setSelectAllowed(boolean selectAllowed)
selectAllowed
- value to setpublic void setUpdateAllowed(boolean updateAllowed)
updateAllowed
- value to setpublic void setDeleteAllowed(boolean deleteAllowed)
deleteAllowed
- value to setpublic void setInsertAllowed(boolean insertAllowed)
insertAllowed
- value to setpublic void setModifiable(boolean modifiable)
modifiable
- True if modifications to local resources are allowed.public org.restlet.Restlet createInboundRoot()
public void sitoolsDescribe()
SitoolsApplication
sitoolsDescribe
in class SitoolsApplication
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |