Package com.axemble.vdoc.sdk.interfaces
Interface ILocalization
- All Superinterfaces:
IAttributeSupport,IDeletionSupport,IDirectory,IElement,IExternalSupport,IProtocolSupport,ISearchSupport,ISecuritySupport,Serializable
public interface ILocalization
extends IElement, ISecuritySupport, IDeletionSupport, IAttributeSupport, IExternalSupport, ISearchSupport, IProtocolSupport, IDirectory
The ILocalization 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 TypeMethodDescriptionvoidaddLocalizations(Collection<? extends ILocalization> localizations) Add a collection of child localizationsvoidAdd aIUseras a member of the localization.voidaddMembers(Collection<? extends IUser> members) Add a collection of members (IUserobjects)Collection<? extends IUser> Gets all localization members recursively.Gets the creator of the localization.Gets the created date.Returns the type of the localization (company, subsidiary, etc...)Returns the description of the localizationgetLabel()Returns the label of the localizationCollection<? extends ILocalization> Returns the list of underneath localizationsCollection<? extends IUser> Returns the list of usersGets the editor of the localization.Gets the created date.getName()Returns the name of the localizationReturns the parent localizationvoidremoveMember(IUser user) Removes a member from the localization.voidremoveMembers(Collection<? extends IUser> members) Removes a collection of members from the localization.voidsetCustomType(String type) Set the type of the localizationvoidsetDescription(String description) Set the description of the localizationvoidSets the label of the localizationvoidSet the name of the localizationvoidsetParent(ILocalization parent) Set the parent of the localizationMethods inherited from interface com.axemble.vdoc.sdk.supports.IAttributeSupport
addAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributesMethods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupport
deleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IDirectory
getExternalId, isExternalMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupport
getExternalClassName, getExternalNativeIdMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Method Details
-
getName
String getName()Returns the name of the localization- Returns:
- a String object
-
getLabel
String getLabel()Returns the label of the localization- Returns:
- a String object
-
getDescription
String getDescription()Returns the description of the localization- Returns:
- the description of the localization
-
getCustomType
String getCustomType()Returns the type of the localization (company, subsidiary, etc...)- Returns:
- a String object
-
getCreatedDate
Date getCreatedDate()Gets the created date.- Returns:
- a
Dateobject.
-
getCreatedBy
IUser getCreatedBy()Gets the creator of the localization.- Returns:
- a
IUserobject.
-
getModifiedDate
Date getModifiedDate()Gets the created date.- Returns:
- a
Dateobject.
-
getModifiedBy
IUser getModifiedBy()Gets the editor of the localization.- Returns:
- a
IUserobject.
-
getLocalizations
Collection<? extends ILocalization> getLocalizations()Returns the list of underneath localizations- Returns:
- a Collection object of
ILocalization
-
getMembers
Collection<? extends IUser> getMembers()Returns the list of users- Returns:
- a Collection object
-
getAllMembers
Collection<? extends IUser> getAllMembers()Gets all localization members recursively.- Returns:
- A collection of
IUserobjects.
-
getParent
ILocalization getParent()Returns the parent localization- Returns:
- a
ILocalizationobject
-
setName
Set the name of the localization- Parameters:
name-
-
setLabel
Sets the label of the localization- Parameters:
label-
-
setDescription
Set the description of the localization- Parameters:
description-
-
setCustomType
Set the type of the localization- Parameters:
type-
-
addLocalizations
Add a collection of child localizations- Parameters:
localizations-
-
addMember
Add aIUseras a member of the localization.- Parameters:
user- TheIUserobject to add
-
addMembers
Add a collection of members (IUserobjects)- Parameters:
members-
-
removeMember
Removes a member from the localization.- Parameters:
user- TheIUserobject to remove.
-
removeMembers
Removes a collection of members from the localization.- Parameters:
members- The collection ofIUserobjects to remove.
-
setParent
Set the parent of the localization- Parameters:
parent-
-