C# Class DrutNET.OrganicGroup

Inheritance: DrutNETBase
Mostra file Open project: bricel/DrutNet Class Usage Examples

Public Methods

Method Description
AdminOrganicGroupsArray ( List ogList ) : DrutNET.OrganicGroup[]

return an array of Organic groups, this will return groups where the user is an admin

FindVocabulary ( int vid ) : TaxonomyVocabulary
LoadVocabulary ( ) : void

Ovelerload that reads vocabs for the group too

OrganicGroup ( int getID, string getName, bool getIsAdmin, Services servicesCon ) : System

Create group without reading vocab

SetSelectedTags ( CookComputing.XmlRpc.XmlRpcStruct selectedTags ) : void
ValidateTags ( ) : bool

Private Methods

Method Description
getOrganicGroupVocabularies ( int groupID ) : void

reads and save vocabulary from xmlRCP struct

Method Details

AdminOrganicGroupsArray() public static method

return an array of Organic groups, this will return groups where the user is an admin
public static AdminOrganicGroupsArray ( List ogList ) : DrutNET.OrganicGroup[]
ogList List
return DrutNET.OrganicGroup[]

FindVocabulary() public method

public FindVocabulary ( int vid ) : TaxonomyVocabulary
vid int
return TaxonomyVocabulary

LoadVocabulary() public method

Ovelerload that reads vocabs for the group too
public LoadVocabulary ( ) : void
return void

OrganicGroup() public method

Create group without reading vocab
public OrganicGroup ( int getID, string getName, bool getIsAdmin, Services servicesCon ) : System
getID int
getName string
getIsAdmin bool
servicesCon Services
return System

SetSelectedTags() public method

public SetSelectedTags ( CookComputing.XmlRpc.XmlRpcStruct selectedTags ) : void
selectedTags CookComputing.XmlRpc.XmlRpcStruct
return void

ValidateTags() public method

public ValidateTags ( ) : bool
return bool