Class AgrParty
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.agreementservices.jalo.AgrParty
- All Implemented Interfaces:
Serializable,Comparable
@Deprecated(since="2208",
forRemoval=true)
public class AgrParty
extends de.hybris.platform.jalo.GenericItem
Deprecated, for removal: This API element is subject to removal in a future version.
Generated class for type AgrParty.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
de.hybris.platform.jalo.GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.c2l.LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
de.hybris.platform.jalo.Item.AttributeFilter, de.hybris.platform.jalo.Item.AttributeMode, de.hybris.platform.jalo.Item.CachedGetter, de.hybris.platform.jalo.Item.CachedSetter, de.hybris.platform.jalo.Item.ItemAttributeMap, de.hybris.platform.jalo.Item.ItemConstraint, de.hybris.platform.jalo.Item.ItemImpl, de.hybris.platform.jalo.Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated, for removal: This API element is subject to removal in a future version.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.externalIdentifiersattributestatic final StringDeprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.idattributestatic final StringDeprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.nameattributestatic final StringDeprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.partyRolesattributeprotected static final de.hybris.platform.util.OneToManyHandler<AgrPartyRole>Deprecated, for removal: This API element is subject to removal in a future version.OneToManyHandlerfor handling 1:n PARTYROLES's relation attributes from 'many' side.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.partyUsersattributeprotected static final de.hybris.platform.util.OneToManyHandler<de.hybris.platform.jalo.security.Principal>Deprecated, for removal: This API element is subject to removal in a future version.OneToManyHandlerfor handling 1:n PARTYUSERS's relation attributes from 'many' side.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.typeattributeFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjectsFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
ConstructorsConstructorDescriptionAgrParty()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToPartyRoles(AgrPartyRole value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyRoles.voidaddToPartyRoles(de.hybris.platform.jalo.SessionContext ctx, AgrPartyRole value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyRoles.voidaddToPartyUsers(de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyUsers.voidaddToPartyUsers(de.hybris.platform.jalo.SessionContext ctx, de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyUsers.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.getAllName(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.externalIdentifiersattribute.getExternalIdentifiers(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.externalIdentifiersattribute.getId()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.idattribute.getId(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.idattribute.getName()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.getName(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyRolesattribute.getPartyRoles(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyRolesattribute.Set<de.hybris.platform.jalo.security.Principal>Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyUsersattribute.Set<de.hybris.platform.jalo.security.Principal>getPartyUsers(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyUsersattribute.de.hybris.platform.jalo.enumeration.EnumerationValuegetType()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.typeattribute.de.hybris.platform.jalo.enumeration.EnumerationValuegetType(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.typeattribute.voidremoveFromPartyRoles(AgrPartyRole value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyRoles.voidremoveFromPartyRoles(de.hybris.platform.jalo.SessionContext ctx, AgrPartyRole value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyRoles.voidremoveFromPartyUsers(de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyUsers.voidremoveFromPartyUsers(de.hybris.platform.jalo.SessionContext ctx, de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyUsers.voidsetAllName(de.hybris.platform.jalo.SessionContext ctx, Map<de.hybris.platform.jalo.c2l.Language, String> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.voidsetAllName(Map<de.hybris.platform.jalo.c2l.Language, String> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.voidsetExternalIdentifiers(de.hybris.platform.jalo.SessionContext ctx, List<TuaExternalIdentifier> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.externalIdentifiersattribute.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.externalIdentifiersattribute.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.idattribute.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.idattribute.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.voidsetPartyRoles(de.hybris.platform.jalo.SessionContext ctx, Set<AgrPartyRole> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyRolesattribute.voidsetPartyRoles(Set<AgrPartyRole> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyRolesattribute.voidsetPartyUsers(de.hybris.platform.jalo.SessionContext ctx, Set<de.hybris.platform.jalo.security.Principal> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyUsersattribute.voidsetPartyUsers(Set<de.hybris.platform.jalo.security.Principal> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyUsersattribute.voidsetType(de.hybris.platform.jalo.enumeration.EnumerationValue value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.typeattribute.voidsetType(de.hybris.platform.jalo.SessionContext ctx, de.hybris.platform.jalo.enumeration.EnumerationValue value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.typeattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
createItem, getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPartOfRemovedSessionMarker, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
ID
Deprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.idattribute- See Also:
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.nameattribute- See Also:
-
TYPE
Deprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.typeattribute- See Also:
-
EXTERNALIDENTIFIERS
Deprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.externalIdentifiersattribute- See Also:
-
PARTYROLES
Deprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.partyRolesattribute- See Also:
-
PARTYUSERS
Deprecated, for removal: This API element is subject to removal in a future version.Qualifier of theAgrParty.partyUsersattribute- See Also:
-
PARTYROLESHANDLER
Deprecated, for removal: This API element is subject to removal in a future version.OneToManyHandlerfor handling 1:n PARTYROLES's relation attributes from 'many' side. -
PARTYUSERSHANDLER
protected static final de.hybris.platform.util.OneToManyHandler<de.hybris.platform.jalo.security.Principal> PARTYUSERSHANDLERDeprecated, for removal: This API element is subject to removal in a future version.OneToManyHandlerfor handling 1:n PARTYUSERS's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
protected static final Map<String,de.hybris.platform.jalo.Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTESDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
AgrParty
public AgrParty()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getDefaultAttributeModes
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getDefaultAttributeModesin classde.hybris.platform.jalo.Item
-
getExternalIdentifiers
public List<TuaExternalIdentifier> getExternalIdentifiers(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.externalIdentifiersattribute.- Returns:
- the externalIdentifiers
-
getExternalIdentifiers
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.externalIdentifiersattribute.- Returns:
- the externalIdentifiers
-
setExternalIdentifiers
public void setExternalIdentifiers(de.hybris.platform.jalo.SessionContext ctx, List<TuaExternalIdentifier> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.externalIdentifiersattribute.- Parameters:
value- the externalIdentifiers
-
setExternalIdentifiers
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.externalIdentifiersattribute.- Parameters:
value- the externalIdentifiers
-
getId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.idattribute.- Returns:
- the id - Identifier of Agreement Party
-
getId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.idattribute.- Returns:
- the id - Identifier of Agreement Party
-
setId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.idattribute.- Parameters:
value- the id - Identifier of Agreement Party
-
setId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.idattribute.- Parameters:
value- the id - Identifier of Agreement Party
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.- Returns:
- the name - Name of the party
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.- Returns:
- the name - Name of the party
-
getAllName
public Map<de.hybris.platform.jalo.c2l.Language,String> getAllName(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.- Returns:
- the localized name - Name of the party
-
getAllName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.nameattribute.- Returns:
- the localized name - Name of the party
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.- Parameters:
value- the name - Name of the party
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.- Parameters:
value- the name - Name of the party
-
setAllName
public void setAllName(de.hybris.platform.jalo.SessionContext ctx, Map<de.hybris.platform.jalo.c2l.Language, String> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.- Parameters:
value- the name - Name of the party
-
setAllName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.nameattribute.- Parameters:
value- the name - Name of the party
-
getPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyRolesattribute.- Returns:
- the partyRoles - Party Roles
-
getPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyRolesattribute.- Returns:
- the partyRoles - Party Roles
-
setPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyRolesattribute.- Parameters:
value- the partyRoles - Party Roles
-
setPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyRolesattribute.- Parameters:
value- the partyRoles - Party Roles
-
addToPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyRoles.- Parameters:
value- the item to add to partyRoles - Party Roles
-
addToPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyRoles.- Parameters:
value- the item to add to partyRoles - Party Roles
-
removeFromPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyRoles.- Parameters:
value- the item to remove from partyRoles - Party Roles
-
removeFromPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyRoles.- Parameters:
value- the item to remove from partyRoles - Party Roles
-
getPartyUsers
public Set<de.hybris.platform.jalo.security.Principal> getPartyUsers(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyUsersattribute.- Returns:
- the partyUsers - The principals of the party.
-
getPartyUsers
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.partyUsersattribute.- Returns:
- the partyUsers - The principals of the party.
-
setPartyUsers
public void setPartyUsers(de.hybris.platform.jalo.SessionContext ctx, Set<de.hybris.platform.jalo.security.Principal> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyUsersattribute.- Parameters:
value- the partyUsers - The principals of the party.
-
setPartyUsers
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.partyUsersattribute.- Parameters:
value- the partyUsers - The principals of the party.
-
addToPartyUsers
public void addToPartyUsers(de.hybris.platform.jalo.SessionContext ctx, de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyUsers.- Parameters:
value- the item to add to partyUsers - The principals of the party.
-
addToPartyUsers
public void addToPartyUsers(de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Addsvalueto partyUsers.- Parameters:
value- the item to add to partyUsers - The principals of the party.
-
removeFromPartyUsers
public void removeFromPartyUsers(de.hybris.platform.jalo.SessionContext ctx, de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyUsers.- Parameters:
value- the item to remove from partyUsers - The principals of the party.
-
removeFromPartyUsers
public void removeFromPartyUsers(de.hybris.platform.jalo.security.Principal value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Removesvaluefrom partyUsers.- Parameters:
value- the item to remove from partyUsers - The principals of the party.
-
getType
public de.hybris.platform.jalo.enumeration.EnumerationValue getType(de.hybris.platform.jalo.SessionContext ctx) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.typeattribute.- Returns:
- the type - type of the party
-
getType
public de.hybris.platform.jalo.enumeration.EnumerationValue getType()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of theAgrParty.typeattribute.- Returns:
- the type - type of the party
-
setType
public void setType(de.hybris.platform.jalo.SessionContext ctx, de.hybris.platform.jalo.enumeration.EnumerationValue value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.typeattribute.- Parameters:
value- the type - type of the party
-
setType
public void setType(de.hybris.platform.jalo.enumeration.EnumerationValue value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter of theAgrParty.typeattribute.- Parameters:
value- the type - type of the party
-