de.kiezatlas
public class KiezatlasPlugin extends de.deepamehta.core.osgi.PluginActivator implements KiezatlasService, de.deepamehta.core.service.event.PostUpdateTopicListener, de.deepamehta.core.service.event.PreSendTopicListener
| Modifier and Type | Field and Description |
|---|---|
static String |
GEO_OBJECT_KEYWORD_PROPERTY |
static String |
GEO_OBJECT_OWNER_PROPERTY |
static String |
KA2_GEO_OBJECT_URI_PREFIX |
GEO_OBJECT, GEO_OBJECT_ADDRESS, GEO_OBJECT_NAME, KIEZATLAS_WORKSPACE_NAME, KIEZATLAS_WORKSPACE_SHARING_MODE, KIEZATLAS_WORKSPACE_URI, WEBSITE| Constructor and Description |
|---|
KiezatlasPlugin() |
| Modifier and Type | Method and Description |
|---|---|
de.deepamehta.core.Association |
addGeoObjectToWebsite(long geoObjectId,
long siteId) |
javax.ws.rs.core.Response |
createGeoObjectAttribution(long id,
String owner,
String key) |
de.deepamehta.core.Topic |
createWebsite(String siteName,
String siteUri) |
List<de.deepamehta.core.Topic> |
getAllCriteria()
Returns all Kiezatlas criteria existing in the DB.
|
de.deepamehta.core.Topic |
getFacettedBezirksregionChildTopic(de.deepamehta.core.Topic facettedTopic)
This facet depends/just exists after installation of the dm4-kiezatlas-etl plugin.
|
List<de.deepamehta.core.RelatedTopic> |
getFacetTypes(long websiteId)
Returns the facet types assigned to the given Kiezatlas Website.
|
de.deepamehta.geomaps.model.GeoCoordinate |
getGeoCoordinateByGeoObject(de.deepamehta.core.Topic geoObject)
Fetches Geo Coordinate facet related to a Geo Objects topic.
|
de.deepamehta.core.Topic |
getGeoCoordinateFacet(de.deepamehta.core.Topic addressTopic)
Returns the Geo Coordinate topic (including its child topics) of a geo-facetted topic (e.g.
|
String |
getGeoObjectAttribution(de.deepamehta.core.Topic geoObject) |
de.deepamehta.core.Topic |
getGeoObjectByGeoCoordinateTopic(de.deepamehta.core.Topic geoCoords)
Fetches a Geo Object by a Geo Coordinate topic.
|
List<de.deepamehta.core.Topic> |
getGeoObjects(long geomapId)
Returns all Geo Objects assigned to the given geomap.
|
List<de.deepamehta.core.RelatedTopic> |
getGeoObjectsByCategory(long categoryId)
Returns all Geo Objects assigned to the given category.
|
de.deepamehta.core.Topic |
getImageFileFacetByGeoObject(de.deepamehta.core.Topic geoObject)
This facet depends/just exists after installation of the dm4-kiezatlas-etl plugin.
|
List<SocialInstitutionObject> |
getInstitutionsMissingBacklink() |
List<SocialInstitutionObject> |
getInstitutionsMissingBezirk() |
InputStream |
getKiezatlasAdministrationPage()
Fetches a simple page rendering objects for kiez-administrators.
|
List<de.deepamehta.core.RelatedTopic> |
getParentRelatedAggregatedGeoObjects(de.deepamehta.core.Topic bezirksFacet) |
List<SocialInstitutionObject> |
getSiteInstitutions(long topicId) |
de.deepamehta.core.Topic |
getWebsite(long geomapId)
Returns the "Kiezatlas Website" topic the given geomap is assigned to.
|
void |
postUpdateTopic(de.deepamehta.core.Topic topic,
de.deepamehta.core.model.TopicModel newModel,
de.deepamehta.core.model.TopicModel oldModel) |
void |
preSendTopic(de.deepamehta.core.Topic topic) |
GroupedGeoObjects |
searchCategories(String searchTerm,
long clock)
Searches for categories that match the search term (case-insensitive substring search)
and returns all Geo Objects of those categories, grouped by category.
|
GeoObjects |
searchGeoObjectNames(String searchTerm,
long clock)
Used by famportal editorial tool.
|
void |
updateImageFileFacet(de.deepamehta.core.Topic geoObject,
String imageFilePath) |
public static final String KA2_GEO_OBJECT_URI_PREFIX
public static final String GEO_OBJECT_OWNER_PROPERTY
public static final String GEO_OBJECT_KEYWORD_PROPERTY
public InputStream getKiezatlasAdministrationPage()
public de.deepamehta.core.Topic createWebsite(String siteName, String siteUri)
createWebsite in interface KiezatlasServicepublic de.deepamehta.core.Association addGeoObjectToWebsite(long geoObjectId,
long siteId)
addGeoObjectToWebsite in interface KiezatlasServicepublic de.deepamehta.core.Topic getWebsite(long geomapId)
KiezatlasServicegetWebsite in interface KiezatlasServicepublic List<de.deepamehta.core.RelatedTopic> getFacetTypes(long websiteId)
KiezatlasServicegetFacetTypes in interface KiezatlasServicepublic List<de.deepamehta.core.Topic> getAllCriteria()
KiezatlasServiceka2.criteria.
but does not end with .facet.getAllCriteria in interface KiezatlasServicepublic List<de.deepamehta.core.Topic> getGeoObjects(long geomapId)
KiezatlasServicegetGeoObjects in interface KiezatlasServicepublic List<de.deepamehta.core.RelatedTopic> getGeoObjectsByCategory(long categoryId)
KiezatlasServicegetGeoObjectsByCategory in interface KiezatlasServicepublic GeoObjects searchGeoObjectNames(String searchTerm, long clock)
searchGeoObjectNames in interface KiezatlasServiceclock - The logical clock value send back to the client (contained in GeoObjects).
Allows the client to order asynchronous responses.public List<SocialInstitutionObject> getInstitutionsMissingBezirk()
public List<SocialInstitutionObject> getInstitutionsMissingBacklink()
public List<SocialInstitutionObject> getSiteInstitutions(long topicId)
public javax.ws.rs.core.Response createGeoObjectAttribution(long id,
String owner,
String key)
public GroupedGeoObjects searchCategories(String searchTerm, long clock)
KiezatlasServicesearchCategories in interface KiezatlasServiceclock - The logical clock value send back to the client (contained in GroupedGeoObjects).
Allows the client to order asynchronous responses.public de.deepamehta.geomaps.model.GeoCoordinate getGeoCoordinateByGeoObject(de.deepamehta.core.Topic geoObject)
KiezatlasServicegetGeoCoordinateByGeoObject in interface KiezatlasServicepublic de.deepamehta.core.Topic getGeoObjectByGeoCoordinateTopic(de.deepamehta.core.Topic geoCoords)
KiezatlasServicegetGeoObjectByGeoCoordinateTopic in interface KiezatlasServicepublic de.deepamehta.core.Topic getGeoCoordinateFacet(de.deepamehta.core.Topic addressTopic)
null if no geo coordinate is stored.getGeoCoordinateFacet in interface KiezatlasServicepublic String getGeoObjectAttribution(de.deepamehta.core.Topic geoObject)
getGeoObjectAttribution in interface KiezatlasServicepublic de.deepamehta.core.Topic getFacettedBezirksregionChildTopic(de.deepamehta.core.Topic facettedTopic)
getFacettedBezirksregionChildTopic in interface KiezatlasServicepublic de.deepamehta.core.Topic getImageFileFacetByGeoObject(de.deepamehta.core.Topic geoObject)
getImageFileFacetByGeoObject in interface KiezatlasServicepublic List<de.deepamehta.core.RelatedTopic> getParentRelatedAggregatedGeoObjects(de.deepamehta.core.Topic bezirksFacet)
getParentRelatedAggregatedGeoObjects in interface KiezatlasServicepublic void updateImageFileFacet(de.deepamehta.core.Topic geoObject,
String imageFilePath)
updateImageFileFacet in interface KiezatlasServicepublic void preSendTopic(de.deepamehta.core.Topic topic)
preSendTopic in interface de.deepamehta.core.service.event.PreSendTopicListenerpublic void postUpdateTopic(de.deepamehta.core.Topic topic,
de.deepamehta.core.model.TopicModel newModel,
de.deepamehta.core.model.TopicModel oldModel)
postUpdateTopic in interface de.deepamehta.core.service.event.PostUpdateTopicListenerCopyright © 2016. All Rights Reserved.