Namespace: OpenEdge.Net.HTTP
Class
CookieCollection
Parent classes:
Inherits: OpenEdge.Core.Collections.Collection

Copyright (c) 2014 by Progress Software Corporation. All rights reserved.
File:CookieCollection
Purpose:A specialised collection containing Cookie objects
Author(s):pjudge
Created:Thu May 22 13:35:38 EDT 2014




Method Summary
Options Name Purpose
LOGICAL Add (Cookie) /** Add an object to the collection. @param {&ValueType} The object to add to the collection @return logical True if the operation succeeded. */
LOGICAL Add (Object)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL AddAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL AddArray (Cookie[]) /** Add an array of objects to the collection. @param {&CollectionType}[] The array to add to the collection @return logical True if the operation succeeded. */
LOGICAL AddArray (Object[])
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Clear ()
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Object Clone () /* Deep clone. or rather deep enough since we don't know what the elements' Clone() operations do, so this may end up being a memberwise clone */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
CloneElements (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Contains (Cookie) /** Determine whether an object is in the collection. @param {&ValueType} The object to check in the collection @return logical True if the operation succeeded. */
LOGICAL Contains (Object)
Overrides OpenEdge.Core.Collections.Collection:Contains (Object)
LOGICAL ContainsAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Equals (Object) /* Two Collections are defined to be equal if they are the same size and all of the elements in this collection are in the to-compare collection @param P.L.Object @return logical TRUE if the collections are equal. FALSE otherwise */
Inherited from OpenEdge.Core.Collections.Collection
FindBufferUseObject (Object) /* override this in subclass - used by remove(obj) and others */
Overrides OpenEdge.Core.Collections.Collection:FindBufferUseObject (Object)
FindBufferUseObject (Object, buffer)
Inherited from OpenEdge.Core.Collections.Collection
LOGICAL IsEmpty ()
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
IIterator Iterator () /* Returns a new IIterator over the collection. */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL Remove (Cookie) /** Remove an object from the collection. @param {&ValueType} The object to remove from the collection @return logical True if the operation succeeded. */
LOGICAL Remove (Object)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RemoveAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Resize () /** Recalculates the Size of this collections. Used particularly by Lists since there are operations like Remove() that are index-based and not item-based. */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
LOGICAL RetainAll (ICollection)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Object ToArray () /* ToArray should not be used with large collections If there is too much data the ABL will throw: Attempt to update data exceeding 32000. (12371) */
Inherited from OpenEdge.Core.Collections.AbstractTTCollection
OpenEdge.Net.HTTP.Cookie ToCookieArray () /* Returns the elements in this collection as an ABL array. @return {&ValueType}[] An ABL array of the objects in this collection */
ToTable (table-handle)
Inherited from OpenEdge.Core.Collections.AbstractTTCollection

Constructor Summary
Options Name Purpose
CookieCollection ()
CookieCollection (ICollection)

Property Summary
Options Name Purpose
INTEGER Size
Inherited from OpenEdge.Core.Collections.AbstractTTCollection


Method Detail
Top

PUBLIC LOGICAL Add (Cookie)

Purpose: Add an object to the collection.
Parameters:
newObject OpenEdge.Net.HTTP.Cookie
Returns LOGICAL
logical True if the operation succeeded.
Top

PUBLIC LOGICAL Add (Object)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
newObject Object
Returns LOGICAL
Top

PUBLIC LOGICAL AddAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
newCollection ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (Cookie[])

Purpose: Add an array of objects to the collection.
Parameters:
poArray OpenEdge.Net.HTTP.Cookie
Returns LOGICAL
logical True if the operation succeeded.
Top

PUBLIC LOGICAL AddArray (Object[])

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
objectArray Object
Returns LOGICAL
Top

PUBLIC Clear ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Top

PUBLIC Object Clone ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* Deep clone. or rather deep enough since we don't know what the elements' Clone()
operations do, so this may end up being a memberwise clone
Returns Object
Top

PROTECTED CloneElements (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
poClone ICollection
Top

PUBLIC LOGICAL Contains (Cookie)

Purpose: Determine whether an object is in the collection.
Parameters:
checkObject OpenEdge.Net.HTTP.Cookie
Returns LOGICAL
logical True if the operation succeeded.
Top

PUBLIC LOGICAL Contains (Object)

Overrides OpenEdge.Core.Collections.Collection:Contains (Object)
Parameters:
checkObject Object
Returns LOGICAL
Top

PUBLIC LOGICAL ContainsAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
poCollection ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL Equals (Object)

Inherited from OpenEdge.Core.Collections.Collection
/* Two Collections are defined to be equal if they are the same size and
all of the elements in this collection are in the to-compare collection
Parameters:
o Object
Returns LOGICAL
logical TRUE if the collections are equal. FALSE otherwise
Top

PROTECTED FindBufferUseObject (Object)

Overrides OpenEdge.Core.Collections.Collection:FindBufferUseObject (Object)
/* override this in subclass - used by remove(obj) and others
Parameters:
obj Object
Top

PROTECTED FindBufferUseObject (Object, buffer)

Inherited from OpenEdge.Core.Collections.Collection
Parameters:
obj Object
pbCollection buffer
Top

PUBLIC LOGICAL IsEmpty ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Returns LOGICAL
Top

PUBLIC IIterator Iterator ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* Returns a new IIterator over the collection.
Returns IIterator
Top

PUBLIC LOGICAL Remove (Cookie)

Purpose: Remove an object from the collection.
Parameters:
oldObject OpenEdge.Net.HTTP.Cookie
Returns LOGICAL
logical True if the operation succeeded.
Top

PUBLIC LOGICAL Remove (Object)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
oldObject Object
Returns LOGICAL
Top

PUBLIC LOGICAL RemoveAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
collection ICollection
Returns LOGICAL
Top

PROTECTED Resize ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Purpose: Recalculates the Size of this collections.
Used particularly by Lists since there are operations
like Remove() that are index-based and not item-based.
Top

PUBLIC LOGICAL RetainAll (ICollection)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
oCol ICollection
Returns LOGICAL
Top

PUBLIC Object ToArray ()

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
/* ToArray should not be used with large collections
If there is too much data the ABL will throw:
Attempt to update data exceeding 32000. (12371)
Returns Object
Top

PUBLIC OpenEdge.Net.HTTP.Cookie ToCookieArray ()

/* Returns the elements in this collection as an ABL array.
Returns OpenEdge.Net.HTTP.Cookie
{&ValueType}[] An ABL array of the objects in this collection
Top

PUBLIC ToTable (table-handle)

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

PUBLIC CookieCollection ()

Top

PUBLIC CookieCollection (ICollection)

Parameters:
poCollection OpenEdge.Core.Collections.ICollection


Property Detail
Top

PUBLIC INTEGER Size

Inherited from OpenEdge.Core.Collections.AbstractTTCollection
Returns INTEGER


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0