public interface IOrganization extends IElement, ISecuritySupport, IDeletionSupport, IAttributeSupport, IExternalSupport, ISearchSupport, IProtocolSupport, ILocalizationScopeSupport, IDirectory
IUser,
IGroup,
ILocalization| Modifier and Type | Method and Description |
|---|---|
void |
addGroups(Collection<? extends IGroup> groups)
Add a collection of groups
|
void |
addMembers(Collection<? extends IUser> members)
Add a collection of members (
IUser objects) |
void |
addOrganizations(Collection<? extends IOrganization> organizations)
Add a collection of child organizations
|
void |
disable()
Disable the organization
|
void |
enable()
Enable the organization
|
IUser |
getCreatedBy()
Gets the creator of the organization.
|
Date |
getCreatedDate()
Gets the created date.
|
String |
getCustomType()
Returns the type of the organization (company, subsidiary, etc...)
|
String |
getDescription()
Returns the description of the organization
|
Collection<? extends IGroup> |
getGroups()
Returns the list of groups
|
String |
getLabel()
Returns the label of the organization
|
Collection<? extends IUser> |
getMembers()
Returns the list of users
|
IUser |
getModifiedBy()
Gets the editor of the organization.
|
Date |
getModifiedDate()
Gets the modified date.
|
String |
getName()
Returns the name of the organization
|
Collection<? extends IOrganization> |
getOrganizations()
Returns the list of underneath organizations
|
IOrganization |
getParent()
Returns the parent organization
|
String |
getSkin()
Returns the skin of the organization
|
boolean |
isEnable()
Returns true if the organization is enabled, false otherwise
|
void |
setCustomType(String type)
Set the type of the organization (company, subsidiary, etc...)
|
void |
setDescription(String description)
Set the description of the organization
|
void |
setLabel(String label)
Sets the label of the organization
|
void |
setName(String name)
Set the name of the organization
|
void |
setParent(IOrganization parent)
Set the parent of the organization
|
void |
setSkin(String skin)
Set the name of the skin to be used by default for the organization
|
getId, getModule, getNativeObject, getPath, savegetProtocolURI, getProtocolURIdeleteaddAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributesgetExternalClassName, getExternalNativeIdgetExternalId, isExternalString getName()
String getLabel()
String getDescription()
String getSkin()
String getCustomType()
Collection<? extends IOrganization> getOrganizations()
IOrganizationCollection<? extends IGroup> getGroups()
IGroupCollection<? extends IUser> getMembers()
IOrganization getParent()
IOrganization objectvoid setName(String name)
name - void setLabel(String label)
label - void setDescription(String description)
description - void setSkin(String skin)
skin - void setCustomType(String type)
type - void addOrganizations(Collection<? extends IOrganization> organizations)
organizations - void addGroups(Collection<? extends IGroup> groups)
groups - void addMembers(Collection<? extends IUser> members)
IUser objects)members - void setParent(IOrganization parent)
parent - boolean isEnable()
void enable()
void disable()
Copyright © 2022 Visiativ. All rights reserved.