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 TypeMethodDescriptionvoid
addLocalizations
(Collection<? extends ILocalization> localizations) Add a collection of child localizationsvoid
Add aIUser
as a member of the localization.void
addMembers
(Collection<? extends IUser> members) Add a collection of members (IUser
objects)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 localizationvoid
removeMember
(IUser user) Removes a member from the localization.void
removeMembers
(Collection<? extends IUser> members) Removes a collection of members from the localization.void
setCustomType
(String type) Set the type of the localizationvoid
setDescription
(String description) Set the description of the localizationvoid
Sets the label of the localizationvoid
Set the name of the localizationvoid
setParent
(ILocalization parent) Set the parent of the localizationMethods 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 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
Date
object.
-
getCreatedBy
IUser getCreatedBy()Gets the creator of the localization.- Returns:
- a
IUser
object.
-
getModifiedDate
Date getModifiedDate()Gets the created date.- Returns:
- a
Date
object.
-
getModifiedBy
IUser getModifiedBy()Gets the editor of the localization.- Returns:
- a
IUser
object.
-
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
IUser
objects.
-
getParent
ILocalization getParent()Returns the parent localization- Returns:
- a
ILocalization
object
-
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 aIUser
as a member of the localization.- Parameters:
user
- TheIUser
object to add
-
addMembers
Add a collection of members (IUser
objects)- Parameters:
members
-
-
removeMember
Removes a member from the localization.- Parameters:
user
- TheIUser
object to remove.
-
removeMembers
Removes a collection of members from the localization.- Parameters:
members
- The collection ofIUser
objects to remove.
-
setParent
Set the parent of the localization- Parameters:
parent
-
-