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 Summary
Modifier and TypeMethodDescriptionvoid
addGroups
(Collection<? extends IGroup> groups) Add a collection of groupsvoid
addMembers
(Collection<? extends IUser> members) Add a collection of members (IUser
objects)void
addOrganizations
(Collection<? extends IOrganization> organizations) Add a collection of child organizationsvoid
disable()
Disable the organizationvoid
enable()
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 organizationboolean
isEnable()
Returns true if the organization is enabled, false otherwisevoid
setCustomType
(String type) Set the type of the organization (company, subsidiary, etc...)void
setDescription
(String description) Set the description of the organizationvoid
Sets the label of the organizationvoid
Set the name of the organizationvoid
setParent
(IOrganization parent) Set the parent of the organizationvoid
Set the name of the skin to be used by default for the organizationMethods inherited from interface com.axemble.vdoc.sdk.supports.IAttributeSupport
addAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributes
Methods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupport
delete
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IDirectory
getExternalId, isExternal
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupport
getExternalClassName, getExternalNativeId
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Method Details
-
getName
String getName()Returns the name of the organization- Returns:
- a String object
-
getLabel
String getLabel()Returns the label of the organization- Returns:
- a String object
-
getDescription
String getDescription()Returns the description of the organization- Returns:
- the description of the organization
-
getSkin
String getSkin()Returns the skin of the organization- Returns:
- a String object
-
getCustomType
String getCustomType()Returns the type of the organization (company, subsidiary, etc...)- Returns:
- a String object
-
getCreatedDate
Date getCreatedDate()Gets the created date.- Returns:
- a
Date
object.
-
getCreatedBy
IUser getCreatedBy()Gets the creator of the organization.- Returns:
- a
IUser
object.
-
getModifiedDate
Date getModifiedDate()Gets the modified date.- Returns:
- a
Date
object.
-
getModifiedBy
IUser getModifiedBy()Gets the editor of the organization.- Returns:
- a
IUser
object.
-
getOrganizations
Collection<? extends IOrganization> getOrganizations()Returns the list of underneath organizations- Returns:
- a Collection object of
IOrganization
-
getGroups
Collection<? extends IGroup> getGroups()Returns the list of groups- Returns:
- a Collection object of
IGroup
-
getMembers
Collection<? extends IUser> getMembers()Returns the list of users- Returns:
- a Collection object
-
getParent
IOrganization getParent()Returns the parent organization- Returns:
- a
IOrganization
object
-
setName
Set the name of the organization- Parameters:
name
-
-
setLabel
Sets the label of the organization- Parameters:
label
-
-
setDescription
Set the description of the organization- Parameters:
description
-
-
setSkin
Set the name of the skin to be used by default for the organization- Parameters:
skin
-
-
setCustomType
Set the type of the organization (company, subsidiary, etc...)- Parameters:
type
-
-
addOrganizations
Add a collection of child organizations- Parameters:
organizations
-
-
addGroups
Add a collection of groups- Parameters:
groups
-
-
addMembers
Add a collection of members (IUser
objects)- Parameters:
members
-
-
setParent
Set the parent of the organization- Parameters:
parent
-
-
isEnable
boolean isEnable()Returns true if the organization is enabled, false otherwise- Returns:
- true if the organization is enabled, false otherwise
-
enable
void enable()Enable the organization -
disable
void disable()Disable the organization
-