org.xiruss.xirussrepository.api
Interface XirussRepositoryServer

All Superinterfaces:
MultiUserRepository, Repository, SchemaAwareRepository, XirussRepository
All Known Implementing Classes:
XirussRepositoryDefaultImpl

public interface XirussRepositoryServer
extends XirussRepository

Defines the server-side API for XirussRepository servers. It provides set methods that should only be exposed on the server side for starting a server.


Field Summary
 
Fields inherited from interface org.xiruss.repository.multiuser.api.MultiUserRepository
nullSession, nullUser
 
Fields inherited from interface org.xiruss.repository.api.Repository
builtinContainerNames, nullBranch, nullDependencyLink, nullDependencyMap, nullMutableSnapshot, nullRepository, nullRepositoryObject, nullResolutionPolicy, nullResource, nullResourceMap, nullSnapshot, nullSnapshotMap, nullStorageManager, nullVersion, nullVersionByResourceMap, nullVersionMap
 
Method Summary
 void setHttpApiPort(int httpApiPort)
          Sets the port number by which the repository is served via the HTTP REST API.
 void setHttpViewPort(int httpViewPort)
          Sets the port number by which the repository is served for direct HTTP access to repository objects (members and version content).
 void setName(java.lang.String name)
           
 
Methods inherited from interface org.xiruss.xirussrepository.api.XirussRepository
accept, createUser, getHttpApiPort, getHttpHost, getHttpViewerPort, getURLforSnapshot, getUrlStringForBranch, getUrlStringForDependency, getUrlStringForObject, getUrlStringForRepository, getUrlStringForResource, getURLStringforResourceOnSnapshot, getUrlStringForSnapshot, whereUsedInCompoundDocOnSnapShot
 
Methods inherited from interface org.xiruss.repository.multiuser.api.MultiUserRepository
endSession, getSession, getSessionById, getSessionCount, getSessionIterator, getUser, getUserCount, getUserIterator
 
Methods inherited from interface org.xiruss.repository.api.Repository
addStorageManager, createBranch, createDependency, createDependency, createDependency, createMutableSnapshot, createMutableSnapshot, createResolutionPolicy, createResource, createSnapshot, createVersion, getBranch, getBranchById, getBranchByName, getBranchCount, getBranches, getBranchIds, getBranchNames, getDefaultStorageManager, getDependencies, getDependencyById, getDependencyCount, getId, getMutableSnapshotById, getMutableSnapshotCount, getMutableSnapshots, getName, getNullResource, getNullSnapshot, getObjectById, getPolicyById, getPolicyCount, getRepositoryObjectType, getResolutionPolicies, getResourceById, getResourceByKey, getResourceCount, getResourceIds, getResources, getSnapshotById, getSnapshotCount, getSnapShots, getStorageManager, getVersionById, getVersionCount, getVersions, hasBranchNamed, hasResourceNamed, importCompoundDoc, listVersionIds, registerBranchName, registerSnapshot, registerVersion, setDefaultStorageManager, setId, unRegisterBranchName, whereUsedByTypeOnSnapshot, whereUsedByTypeOnSnapshot, whereUsedOnSnapshot, whereUsedOnSnapshot
 
Methods inherited from interface org.xiruss.repository.schema_aware.api.SchemaAwareRepository
getSchemaResource, hasSchema, registerSchema
 

Method Detail

setHttpApiPort

void setHttpApiPort(int httpApiPort)
Sets the port number by which the repository is served via the HTTP REST API.

Parameters:
httpApiPort - Port number for the HTTP API.

setHttpViewPort

void setHttpViewPort(int httpViewPort)
Sets the port number by which the repository is served for direct HTTP access to repository objects (members and version content).

Parameters:
httpViewPort - Port number for the HTTP server

setName

void setName(java.lang.String name)
Specified by:
setName in interface XirussRepository