PPLMetabaseRepositoryDescriptor

Description

The PPLMetabaseRepositoryDescriptor class is used to work with repository description.

Inheritance Hierarchy

          NObject

          PPLMetabaseRepositoryDescriptor

Designer

PPLMetabaseRepositoryDescriptor. Creates an instance of the PPLMetabaseRepositoryDescriptor class.

Destructor

~PPLMetabaseRepositoryDescriptor. Deletes an instance of the PPLMetabaseRepositoryDescriptor class.

Methods

addFavoriteObject. Adds a favorite object.

addLocalObject. Adds a local object.

addObjectToFavorite. Adds object to favorites.

addOutdatedObject. Adds an outdated object.

addRemoteObject. Adds a remote object.

allObjects. Returns all repository objects.

description. Returns text description of repository.

favoriteObjects. Returns favorite repository objects.

generateFavoriteName. Generates name of the favorite repository object.

generateNewObjectKey. Generates a new object key.

generatePlist. Returns a dictionary with repository settings.

getFavoriteObjectByObjectId. Returns a favorite repository object.

getLocalObjectByObjectId. Returns a local object by its identifier.

getLocalObjectByObjectKey. Returns a local object by its key.

getRemoteObjectByObjectId. Returns a remote repository object by its identifier.

hash. Returns hash code of repository object description.

host. Returns repository web address.

isEqual. Compares repository description with the specified object.

isObjectLocal. Checks if an object is local.

isObjectOutdated. Checks if an object is outdated.

isObjectRemote. Checks if an object is remote.

key. Returns repository key.

localObjects. Returns array of local objects.

merge. Merges repository description with the specified repository description.

mobileAppName. Returns mobile application name.

moveObjectToLocal. Moves repository object to a local storage.

moveObjectToRemote. Moves a local object to repository.

objectId. Returns object identifier.

outdatedObjects. Returns outdated objects.

registerNewObjectDescriptor. Registers repository object description.

remoteObjects. Returns array of remote repository objects.

removeFavorite. Removes a favorite object.

removeObject. Removes an object from repository by its description.

setHost. Sets repository web address.

setKey. Sets repository key.

setMobileAppName. Sets mobile application name.

setObjectId. Sets object identifier.

setSourceURL. Sets repository source web address.

setVersion. Sets repository version.

setWebAppName. Sets web application name.

sourceURL. Returns repository source web address.

version. Returns repository version.

webAppName. Returns web application name.

Static Methods

generateUrlBasedKey. Generates repository key based on the source web address.

repositoryDescriptor. Creates repository description with setting of path to repository directory.

repositoryDescriptor. Creates repository description with setting of path to the directory with repository and source address.

See also:

Working with pplib++ Library Classes