Package datafinder :: Package script_api :: Module repository :: Class RepositoryDescription
[hide private]
[frames] | no frames]

Class RepositoryDescription

object --+
         |
        RepositoryDescription

The repository represents the container for the items.

Instance Methods [hide private]
 
__init__(self, repository)
Constructor.
 
determineUniqueItemName(self, proposedName, targetParentPath)
Determines a unique name.
tuple of bool, int
isValidIdentifier(self, identifier)
Checks whether the given string describes a valid identifier.
bool
isValidPropertyIdentifier(self, identifier)
Checks whether the given string describes a valid property identifier.
 
__cmp__(self, other)
Implements comparison.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  isManagedRepository
Checks whether the repository is a managed or an unmanaged repository.
  hasCustomMetadataSupport
Checks whether it is allowed to store custom meta data or not.
  hasMetadataSearchSupport
Checks whether a meta data search is supported.
  hasPrivilegeSupport
Checks whether privilege setting is supported.

Inherited from object: __class__

Method Details [hide private]

__init__(self, repository)
(Constructor)

 

Constructor.

Parameters:
  • repository (Repository) - The repository.
Overrides: object.__init__

isValidIdentifier(self, identifier)

 

Checks whether the given string describes a valid identifier.

Parameters:
  • identifier (unicode) - String describing the identifier.
Returns: tuple of bool, int
True,None if it is valid, otherwise False, position

isValidPropertyIdentifier(self, identifier)

 

Checks whether the given string describes a valid property identifier.

Parameters:
  • identifier (unicode) - String describing the property identifier.
Returns: bool
True if it is valid, otherwise False

Property Details [hide private]

isManagedRepository

Checks whether the repository is a managed or an unmanaged repository.

Get Method:
unreachable.isManagedRepository(self) - Checks whether the repository is a managed or an unmanaged repository.

hasCustomMetadataSupport

Checks whether it is allowed to store custom meta data or not.

Get Method:
unreachable.hasCustomMetadataSupport(self) - Checks whether it is allowed to store custom meta data or not.

hasMetadataSearchSupport

Checks whether a meta data search is supported.

Get Method:
unreachable.hasMetadataSearchSupport(self) - Checks whether a meta data search is supported.

hasPrivilegeSupport

Checks whether privilege setting is supported.

Get Method:
unreachable.hasPrivilegeSupport(self) - Checks whether privilege setting is supported.