Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expected Service Methods

GetContents
Definition

Uygulamadaki değişikleri takip etmek, içerikleri almak için kullanılan metoddur. Ayarlanan zamanlarda bu servis çağrılarak değişen, eklenen içerkiler ile ilgili bilgi alınır.

Aynı parametreleri alan ve aynı nesneyi dönen bir .net soap api hazırlanmışsa metod üzerine It is the method used to follow the changes in the application and to get the contents. By calling this service at set times, information is received about the changed additions.

If a .net soap api that takes same parameters and returns same object as an output is implemented, then [ScriptMethod(ResponseFormat=ResponseFormat.Json)] attribute eklenmelidir attribute should be added to the method.

Reguest[ServiceURL]?m=GetContents
HttpMethodGET, POST
Expected Errors

401 Unauthorized access / Access denied

403 Forbidden

511 Network Authentication Required

Ek Bilgiler

Api Credential (NTLM,Digest,Basic Authentication) : GEODI için ayarlanmış api kullanıcısı. Uygulama bu kullanıcını yetkisi dahilindeki tüm içerikleri dönmelidir.

ChangeKey: İlk istekte tüm veriyi almak için iletilmez. İletilmesi halinde GEODI bu değerden sonra değişen içeriklerin dönmesini bekler. GEODI bu değeri son işlediği GetContents sonucundaki ChangeKey değerinden alır. Sonraki zamanlanmış taramada iletir. Uygulama geri döndüğünde değişimi takip için kullanabileceği herhangi bir değer gönderebilir.

Page : GetContents servisinden bir PageCount dönmüşse şu an hangi sayfanın istendiğini gösterir. Bu parametre ile CurrentKey parametreside iletilir

Return ValueÇoklu ContentObject JSON dönülmesi beklenir.

The api user set for GEODI. The application should return all contents within the authority of this user.

ChangeKey: The first request is not forwarded to receive all data. If transmitted, GEODI expects the contents to return after this value. GEODI retrieves this value from the ChangeKey value in the GetContents result it last processed and transmits the next scheduled scan. When the application returns, it can send any value it can use to track the change.

Page : Indicates which page is currently requested if a PageCount has returned from the GetContents service. This parameter is also passed to the CurrentKey parameter

Return Value

A JSON object that contains content information. Details can be reached from Geodi ContentObject - İçerik Tanım Nesnesi#İçerikTanımNesnesi-Çokluİçerik adresinden nesne detaylarına ulaşılabilir

Examples


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents + Credential
 {
	ChangeKey:'2015-05-07 12:10:00',
	PageCount:5,
	Contents : [
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1465',
			DisplayName:'Kontrol Listesi Dokümanı',
			ContentDate:'Mon, 04 May 2015 07:38:28 GMT',
			ViewURL : '~/MyApplication/ContentView.php?id=1465',
			Permission : {  Permit : ['S-151...']  }
		},
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1496',
			DisplayName:'Örnek Çalışmalar Notu',
			Content: {
				Extension:'.txt',
				Content: 'Kızılay civarında yapılan çalışmalar eklenmemiş.'
			}
			Permission : { Permit : ['S-151...'] }
		}
	]
 }


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents + Credential&CurrentKey=2015-05-07 12:10:00&Page=1
 {
	ChangeKey:'2015-05-07 12:10:00',
	PageCount:5,
	Contents : [
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1469',
			DisplayName:'Kontrol Listesi Dokümanı',
			ContentDate:'Mon, 04 May 2015 07:38:28 GMT',
			ViewURL : '~/MyApplication/ContentView.php?id=1469',
			Permission : {  Permit : ['S-151...']  }
		}
	]
 }


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents&ChangeKey=2015-05-07%2012%3A10%3A00 + Credential
 {
	ChangeKey:'2015-05-08 12:10:00',
 }

//Değişen yok


Code Block
languagejs
linenumberstrue
//Request : [ServiceURL]?m=GetContents&ChangeKey=2015-05-08%2012%3A10%3A00 + Credential
 {
	ChangeKey:'2015-05-09 12:10:00',
	Contents : [
		{ 
			ContentURL : '~/MyApplication/Content.php?id=1811',
			DisplayName:'Yeni Doküman',
			ContentDate:'Mon, 06 May 2015 10:15:20 GMT',
			ViewURL : '~/MyApplication/ContentView.php?id=1811',
			Permission : {   Permit : ['S-151...','Koordinator']  }
		}
	
	]
 }


Example applications

Enterprise Content

...

Management (ECM) , Content

...

Management System (CMS) , Document Content

...

Management (DMS)

...

  Integrations

WebDAV desteği bulunmakla birlikte bu destek entegre olunacak uygulamanın yetkilerinin dikkate alınması için yeterli değildir. WebDAV standardı bir ECM için yeterli ön bilgiyi sunmaz.

...

Although WebDAV support is available, it is not sufficient to take into account the authorizations of the application to be integrated. The WebDAV standard does not provide sufficient prior knowledge for an ECM.

WebDAV, FTP, WebSite, Standart Sitemap xml kullanılabilir.Standard Sitemap xml can be used in cases where it is sufficient to receive and publish data within the GEODI security policy without the special authorization of the integrated application.


Systems that implement CMIS 1.1 (Content Management Interoperability Services ) gerçekleyen sistemler servisleri varsayılanda pasif getirmekte, veya  eklenti yükleme gerektirmektelerServices) are inactive by default, or require plug-in installation. ( http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-5540003 )  Ayrıca bu yazılımlar kendi apileri ile daha yüksek performans ve daha fazla özellik sağlayabiliyorlar. CMIS entegrasyonu kısa vadeli hedeflerimiz arasında yer almamaktadır  In addition, these software can provide higher performance and more features with their own APIs. CMIS integration is not one of our short-term goals.


Sitemap xml, News Sitemap xml

Urlset içeriğinde must contain url loc, lastmod değerleri bulunmalıdır. bu değerlere göre son değişim kontrol edilerek tarama yapılır. Gösterim ve tarama için loc üzerinde belirtilen yol kullanılır.  Credential ile istek desteklenir.Bu yöntemde loc ve lastmod yanında Sistem(LDAP,Kerberos) kullanıcı gurubu ve kullanıcı bilgileri verilebilir. Özel Rol tabanlı/detay yetkiler desteklenmektedir. Scanning is done by checking the last change according to these values. The path specified on the loc is used for views and browsing. Request is supported with Credentials.

In this method, system (LDAP, Kerberos) user group and user information can be given in addition to loc and lastmod. Custom Role-based / detail privileges are supported.

Code Block
languagexml
titleÖrnekExample
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>http://mysite/mydoc?id=125</loc>
		<lastmod>2016-06-15T14:10:00Z</lastmod>
		<!--OpsiyonelOptional-->
		<permission>
				<permit>S-1515...,</permit>
				<deny/>
		</permission>
</url>


</urlset>

...