Package com.axemble.vdoc.sdk.interfaces
Interface IOrganization
- All Superinterfaces:
- IAttributeSupport,- IDeletionSupport,- IDirectory,- IElement,- IExternalSupport,- ILocalizationScopeSupport,- IProtocolSupport,- ISearchSupport,- ISecuritySupport,- Serializable
public interface IOrganization
extends IElement, ISecuritySupport, IDeletionSupport, IAttributeSupport, IExternalSupport, ISearchSupport, IProtocolSupport, ILocalizationScopeSupport, IDirectory
The IOrganization interface is part of the VDoc directory.
- Since:
- 1.0
- Version:
- 1.0, 28/10/2007
- Author:
- Vassyly Lygeros
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddGroups(Collection<? extends IGroup> groups) Add a collection of groupsvoidaddMembers(Collection<? extends IUser> members) Add a collection of members (IUserobjects)voidaddOrganizations(Collection<? extends IOrganization> organizations) Add a collection of child organizationsvoiddisable()Disable the organizationvoidenable()Enable the organizationGets the creator of the organization.Gets the created date.Returns the type of the organization (company, subsidiary, etc...)Returns the description of the organizationCollection<? extends IGroup> Returns the list of groupsgetLabel()Returns the label of the organizationCollection<? extends IUser> Returns the list of usersGets the editor of the organization.Gets the modified date.getName()Returns the name of the organizationCollection<? extends IOrganization> Returns the list of underneath organizationsReturns the parent organizationgetSkin()Returns the skin of the organizationbooleanisEnable()Returns true if the organization is enabled, false otherwisevoidsetCustomType(String type) Set the type of the organization (company, subsidiary, etc...)voidsetDescription(String description) Set the description of the organizationvoidSets the label of the organizationvoidSet the name of the organizationvoidsetParent(IOrganization parent) Set the parent of the organizationvoidSet the name of the skin to be used by default for the organizationMethods inherited from interface com.axemble.vdoc.sdk.supports.IAttributeSupportaddAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributesMethods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupportdeleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IDirectorygetExternalId, isExternalMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupportgetExternalClassName, getExternalNativeIdMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Method Details- 
getNameString getName()Returns the name of the organization- Returns:
- a String object
 
- 
getLabelString getLabel()Returns the label of the organization- Returns:
- a String object
 
- 
getDescriptionString getDescription()Returns the description of the organization- Returns:
- the description of the organization
 
- 
getSkinString getSkin()Returns the skin of the organization- Returns:
- a String object
 
- 
getCustomTypeString getCustomType()Returns the type of the organization (company, subsidiary, etc...)- Returns:
- a String object
 
- 
getCreatedDateDate getCreatedDate()Gets the created date.- Returns:
- a Dateobject.
 
- 
getCreatedByIUser getCreatedBy()Gets the creator of the organization.- Returns:
- a IUserobject.
 
- 
getModifiedDateDate getModifiedDate()Gets the modified date.- Returns:
- a Dateobject.
 
- 
getModifiedByIUser getModifiedBy()Gets the editor of the organization.- Returns:
- a IUserobject.
 
- 
getOrganizationsCollection<? extends IOrganization> getOrganizations()Returns the list of underneath organizations- Returns:
- a Collection object of IOrganization
 
- 
getGroupsCollection<? extends IGroup> getGroups()Returns the list of groups- Returns:
- a Collection object of IGroup
 
- 
getMembersCollection<? extends IUser> getMembers()Returns the list of users- Returns:
- a Collection object
 
- 
getParentIOrganization getParent()Returns the parent organization- Returns:
- a IOrganizationobject
 
- 
setNameSet the name of the organization- Parameters:
- name-
 
- 
setLabelSets the label of the organization- Parameters:
- label-
 
- 
setDescriptionSet the description of the organization- Parameters:
- description-
 
- 
setSkinSet the name of the skin to be used by default for the organization- Parameters:
- skin-
 
- 
setCustomTypeSet the type of the organization (company, subsidiary, etc...)- Parameters:
- type-
 
- 
addOrganizationsAdd a collection of child organizations- Parameters:
- organizations-
 
- 
addGroupsAdd a collection of groups- Parameters:
- groups-
 
- 
addMembersAdd a collection of members (IUserobjects)- Parameters:
- members-
 
- 
setParentSet the parent of the organization- Parameters:
- parent-
 
- 
isEnableboolean isEnable()Returns true if the organization is enabled, false otherwise- Returns:
- true if the organization is enabled, false otherwise
 
- 
enablevoid enable()Enable the organization
- 
disablevoid disable()Disable the organization
 
-