1.0.0 • Published 5 years ago

apo-wsapi2 v1.0.0

Weekly downloads
3
License
-
Repository
-
Last release
5 years ago

Getting started

How to Build

The generated SDK relies on Node Package Manager (NPM) being available to resolve dependencies. If you don't already have NPM installed, please go ahead and follow instructions to install NPM from here. The SDK also requires Node to be installed. If Node isn't already installed, please install it from here

NPM is installed by default when Node is installed

To check if node and npm have been successfully installed, write the following commands in command prompt:

  • node --version
  • npm -version

Version Check

Now use npm to resolve all dependencies by running the following command in the root directory (of the SDK folder):

npm install

Resolve Dependencies

Resolve Dependencies

This will install all dependencies in the node_modules folder.

Once dependencies are resolved, you will need to move the folder APILib in to your node_modules folder.

How to Use

The following section explains how to use the library in a new project.

1. Open Project Folder

Open an IDE/Text Editor for JavaScript like Sublime Text. The basic workflow presented here is also applicable if you prefer using a different editor or IDE.

Click on File and select Open Folder.

Open Folder

Select the folder of your SDK and click on Select Folder to open it up in Sublime Text. The folder will become visible in the bar on the left.

Open Project

2. Creating a Test File

Now right click on the folder name and select the New File option to create a new test file. Save it as index.js Now import the generated NodeJS library using the following lines of code:

var lib = require('lib');

Save changes.

Create new file

Save new file

3. Running The Test File

To run the index.js file, open up the command prompt and navigate to the Path where the SDK folder resides. Type the following command to run the file:

node index.js

Run file

How to Test

These tests use Mocha framework for testing, coupled with Chai for assertions. These dependencies need to be installed for tests to run. Tests can be run in a number of ways:

Method 1 (Run all tests)

  1. Navigate to the root directory of the SDK folder from command prompt.
  2. Type mocha --recursive to run all the tests.

Method 2 (Run all tests)

  1. Navigate to the ../test/Controllers/ directory from command prompt.
  2. Type mocha * to run all the tests.

Method 3 (Run specific controller's tests)

  1. Navigate to the ../test/Controllers/ directory from command prompt.
  2. Type mocha APIController to run all the tests in that controller file.

To increase mocha's default timeout, you can change the TEST_TIMEOUT parameter's value in TestBootstrap.js.

Run Tests

Initialization

API client can be initialized as following:

const lib = require('lib');

Class Reference

List of Controllers

Class: APIController

Get singleton instance

The singleton instance of the APIController class can be accessed from the API Client.

var controller = lib.APIController;

Method: getStaffSearchSortingFieldsGET

TODO: Add a method description

function getStaffSearchSortingFieldsGET(callback)

Example Usage

    controller.getStaffSearchSortingFieldsGET(function(error, response, context) {

    
    });

Method: getStaffSearchFieldsGET

TODO: Add a method description

function getStaffSearchFieldsGET(callback)

Example Usage

    controller.getStaffSearchFieldsGET(function(error, response, context) {

    
    });

Method: getDomainOptionsGET

TODO: Add a method description

function getDomainOptionsGET(callback)

Example Usage

    controller.getDomainOptionsGET(function(error, response, context) {

    
    });

Method: getAllStaffIdsGET

TODO: Add a method description

function getAllStaffIdsGET(callback)

Example Usage

    controller.getAllStaffIdsGET(function(error, response, context) {

    
    });

Method: getCheckingUrlIdByUrlIdGET

TODO: Add a method description

function getCheckingUrlIdByUrlIdGET(urlId, callback)

Parameters

ParameterTagsDescription
urlIdRequiredTODO: Add a parameter description

Example Usage

    var urlId = 'urlId';

    controller.getCheckingUrlIdByUrlIdGET(urlId, function(error, response, context) {

    
    });

Method: getDoesHaveCVByStaffIdGET

TODO: Add a method description

function getDoesHaveCVByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getDoesHaveCVByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getDoesHavePhotoByStaffIdGET

TODO: Add a method description

function getDoesHavePhotoByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getDoesHavePhotoByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getApproachOptionsByDomainIdGET

TODO: Add a method description

function getApproachOptionsByDomainIdGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';

    controller.getApproachOptionsByDomainIdGET(domainId, function(error, response, context) {

    
    });

Method: getAuthorDetailsByStaffIdGET

TODO: Add a method description

function getAuthorDetailsByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getAuthorDetailsByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getAuthorsNewKeywordsByStaffIdGET

TODO: Add a method description

function getAuthorsNewKeywordsByStaffIdGET(newKeywordGroupId, staffId, callback)

Parameters

ParameterTagsDescription
newKeywordGroupIdRequiredTODO: Add a parameter description
staffIdRequiredTODO: Add a parameter description

Example Usage

    var newKeywordGroupId = 158;
    var staffId = 'staffId';

    controller.getAuthorsNewKeywordsByStaffIdGET(newKeywordGroupId, staffId, function(error, response, context) {

    
    });

Method: getBookSellingLinksByStaffIdGET

TODO: Add a method description

function getBookSellingLinksByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getBookSellingLinksByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getBuildingByDomainIdModeByStaffIdGET

TODO: Add a method description

function getBuildingByDomainIdModeByStaffIdGET(staffId, domainId, mode, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description
domainIdRequiredTODO: Add a parameter description
modeRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';
    var domainId = 158;
    var mode = 'mode';

    controller.getBuildingByDomainIdModeByStaffIdGET(staffId, domainId, mode, function(error, response, context) {

    
    });

Method: getBuildingByOrgUnitCodeModeByStaffIdGET

TODO: Add a method description

function getBuildingByOrgUnitCodeModeByStaffIdGET(staffId, orgUnitCode, mode, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description
orgUnitCodeRequiredTODO: Add a parameter description
modeRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';
    var orgUnitCode = 'orgUnitCode';
    var mode = 'mode';

    controller.getBuildingByOrgUnitCodeModeByStaffIdGET(staffId, orgUnitCode, mode, function(error, response, context) {

    
    });

Method: getCentreListForStaffByStaffIdGET

TODO: Add a method description

function getCentreListForStaffByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getCentreListForStaffByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getCollaboratorByStaffIdGET

TODO: Add a method description

function getCollaboratorByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getCollaboratorByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getCountryOptionsByDomainIdGET

TODO: Add a method description

function getCountryOptionsByDomainIdGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';

    controller.getCountryOptionsByDomainIdGET(domainId, function(error, response, context) {

    
    });

Method: getCurrentGrantSizeByStaffIdGET

TODO: Add a method description

function getCurrentGrantSizeByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getCurrentGrantSizeByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getDepartmentMembersByCodeGET

TODO: Add a method description

function getDepartmentMembersByCodeGET(code, callback)

Parameters

ParameterTagsDescription
codeRequiredTODO: Add a parameter description

Example Usage

    var code = 'code';

    controller.getDepartmentMembersByCodeGET(code, function(error, response, context) {

    
    });

Method: createGetDesciplineOptionsPOST

TODO: Add a method description

function createGetDesciplineOptionsPOST(body, callback)

Parameters

ParameterTagsDescription
bodyRequiredTODO: Add a parameter description

Example Usage

    var body = new GetDesciplineOptionsPOSTRequest({"key":"value"});

    controller.createGetDesciplineOptionsPOST(body, function(error, response, context) {

    
    });

Method: getDomainMembersByDomainIdGET

TODO: Add a method description

function getDomainMembersByDomainIdGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';

    controller.getDomainMembersByDomainIdGET(domainId, function(error, response, context) {

    
    });

Method: getDomainMembersWithExpertiseInfoGET

TODO: Add a method description

function getDomainMembersWithExpertiseInfoGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';

    controller.getDomainMembersWithExpertiseInfoGET(domainId, function(error, response, context) {

    
    });

Method: getExpertiseDetailsByStaffIdGET

TODO: Add a method description

function getExpertiseDetailsByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getExpertiseDetailsByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getGrantDetailsByStaffIdGET

TODO: Add a method description

function getGrantDetailsByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getGrantDetailsByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getGrantSizeByStaffIdGET

TODO: Add a method description

function getGrantSizeByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getGrantSizeByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getGrantsForCentreByCentreIdGET

TODO: Add a method description

function getGrantsForCentreByCentreIdGET(centreId, callback)

Parameters

ParameterTagsDescription
centreIdRequiredTODO: Add a parameter description

Example Usage

    var centreId = 'centreId';

    controller.getGrantsForCentreByCentreIdGET(centreId, function(error, response, context) {

    
    });

Method: getHonoursProjectByProjIdGET

TODO: Add a method description

function getHonoursProjectByProjIdGET(projId, callback)

Parameters

ParameterTagsDescription
projIdRequiredTODO: Add a parameter description

Example Usage

    var projId = 'projId';

    controller.getHonoursProjectByProjIdGET(projId, function(error, response, context) {

    
    });

Method: getHonoursSupervisorByStaffIdGET

TODO: Add a method description

function getHonoursSupervisorByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getHonoursSupervisorByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getHrPersonByStaffIdGET

TODO: Add a method description

function getHrPersonByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getHrPersonByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getKeywordOptionsByDomainIdGET

TODO: Add a method description

function getKeywordOptionsByDomainIdGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';

    controller.getKeywordOptionsByDomainIdGET(domainId, function(error, response, context) {

    
    });

Method: getMediaKeywordsByStaffIdGET

TODO: Add a method description

function getMediaKeywordsByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getMediaKeywordsByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getMembersByCodeAndJobTypeByCodeGET

TODO: Add a method description

function getMembersByCodeAndJobTypeByCodeGET(code, jobType, callback)

Parameters

ParameterTagsDescription
codeRequiredTODO: Add a parameter description
jobTypeRequiredTODO: Add a parameter description

Example Usage

    var code = 'code';
    var jobType = 158;

    controller.getMembersByCodeAndJobTypeByCodeGET(code, jobType, function(error, response, context) {

    
    });

Method: createGetMembersByCodeListAndJobTypePOST

TODO: Add a method description

function createGetMembersByCodeListAndJobTypePOST(body, jobType, callback)

Parameters

ParameterTagsDescription
bodyRequiredTODO: Add a parameter description
jobTypeOptionalTODO: Add a parameter description

Example Usage

    var body = new GetMembersByCodeListAndJobTypePOSTRequest({"key":"value"});
    var jobType = 158;

    controller.createGetMembersByCodeListAndJobTypePOST(body, jobType, function(error, response, context) {

    
    });

Method: getMembersByDomainAndJobTypeByDomainIdGET

TODO: Add a method description

function getMembersByDomainAndJobTypeByDomainIdGET(domainId, jobType, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description
jobTypeRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';
    var jobType = 158;

    controller.getMembersByDomainAndJobTypeByDomainIdGET(domainId, jobType, function(error, response, context) {

    
    });

Method: createGetMembersByDomainListAndJobTypePOST

TODO: Add a method description

function createGetMembersByDomainListAndJobTypePOST(body, jobType, callback)

Parameters

ParameterTagsDescription
bodyRequiredTODO: Add a parameter description
jobTypeOptionalTODO: Add a parameter description

Example Usage

    var body = new GetMembersByDomainListAndJobTypePOSTRequest({"key":"value"});
    var jobType = 249;

    controller.createGetMembersByDomainListAndJobTypePOST(body, jobType, function(error, response, context) {

    
    });

Method: getNewKeywordsByGroupByNewKeywordGroupIdGET

TODO: Add a method description

function getNewKeywordsByGroupByNewKeywordGroupIdGET(newKeywordGroupId, callback)

Parameters

ParameterTagsDescription
newKeywordGroupIdRequiredTODO: Add a parameter description

Example Usage

    var newKeywordGroupId = 249;

    controller.getNewKeywordsByGroupByNewKeywordGroupIdGET(newKeywordGroupId, function(error, response, context) {

    
    });

Method: getOrgUnitsByTypeByTypeGET

TODO: Add a method description

function getOrgUnitsByTypeByTypeGET(type, callback)

Parameters

ParameterTagsDescription
typeRequiredTODO: Add a parameter description

Example Usage

    var type = 249;

    controller.getOrgUnitsByTypeByTypeGET(type, function(error, response, context) {

    
    });

Method: getProfileUrlByDomainIdByDomainIdGET

TODO: Add a method description

function getProfileUrlByDomainIdByDomainIdGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 249;

    controller.getProfileUrlByDomainIdByDomainIdGET(domainId, function(error, response, context) {

    
    });

Method: getProfileUrlByOrgUnitCodeByOrgUnitCodeGET

TODO: Add a method description

function getProfileUrlByOrgUnitCodeByOrgUnitCodeGET(orgUnitCode, callback)

Parameters

ParameterTagsDescription
orgUnitCodeRequiredTODO: Add a parameter description

Example Usage

    var orgUnitCode = 'orgUnitCode';

    controller.getProfileUrlByOrgUnitCodeByOrgUnitCodeGET(orgUnitCode, function(error, response, context) {

    
    });

Method: getProjectSearchResultSizeByQueryStringGET

TODO: Add a method description

function getProjectSearchResultSizeByQueryStringGET(queryString, callback)

Parameters

ParameterTagsDescription
queryStringRequiredTODO: Add a parameter description

Example Usage

    var queryString = 'queryString';

    controller.getProjectSearchResultSizeByQueryStringGET(queryString, function(error, response, context) {

    
    });

Method: getPublicationAuthorByYearYEndByStaffIdGET

TODO: Add a method description

function getPublicationAuthorByYearYEndByStaffIdGET(staffId, yStart, yEnd, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description
yStartRequiredTODO: Add a parameter description
yEndRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';
    var yStart = 'yStart';
    var yEnd = 'yEnd';

    controller.getPublicationAuthorByYearYEndByStaffIdGET(staffId, yStart, yEnd, function(error, response, context) {

    
    });

Method: createGetPublicationsPOST

TODO: Add a method description

function createGetPublicationsPOST(body, callback)

Parameters

ParameterTagsDescription
bodyRequiredTODO: Add a parameter description

Example Usage

    var body = new GetPublicationsPOSTRequest({"key":"value"});

    controller.createGetPublicationsPOST(body, function(error, response, context) {

    
    });

Method: getPublicationsForCentreByCentreIdGET

TODO: Add a method description

function getPublicationsForCentreByCentreIdGET(centreId, callback)

Parameters

ParameterTagsDescription
centreIdRequiredTODO: Add a parameter description

Example Usage

    var centreId = 'centreId';

    controller.getPublicationsForCentreByCentreIdGET(centreId, function(error, response, context) {

    
    });

Method: createGetPublicationsForGroupPOST

TODO: Add a method description

function createGetPublicationsForGroupPOST(body, callback)

Parameters

ParameterTagsDescription
bodyRequiredTODO: Add a parameter description

Example Usage

    var body = new GetPublicationsForGroupPOSTRequest({"key":"value"});

    controller.createGetPublicationsForGroupPOST(body, function(error, response, context) {

    
    });

Method: getPublishingActiveAuthorByStaffIdGET

TODO: Add a method description

function getPublishingActiveAuthorByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getPublishingActiveAuthorByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getResearchSupervisorByStaffIdGET

TODO: Add a method description

function getResearchSupervisorByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getResearchSupervisorByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getSearchResultSizeByQueryStringGET

TODO: Add a method description

function getSearchResultSizeByQueryStringGET(queryString, callback)

Parameters

ParameterTagsDescription
queryStringRequiredTODO: Add a parameter description

Example Usage

    var queryString = 'queryString';

    controller.getSearchResultSizeByQueryStringGET(queryString, function(error, response, context) {

    
    });

Method: getSelectOptionsByCategoryAndDomainIdGET

TODO: Add a method description

function getSelectOptionsByCategoryAndDomainIdGET(category, domainId, callback)

Parameters

ParameterTagsDescription
categoryRequiredTODO: Add a parameter description
domainIdRequiredTODO: Add a parameter description

Example Usage

    var category = 'category';
    var domainId = 'domainId';

    controller.getSelectOptionsByCategoryAndDomainIdGET(category, domainId, function(error, response, context) {

    
    });

Method: getStaffIdByUrlIdGET

TODO: Add a method description

function getStaffIdByUrlIdGET(urlId, callback)

Parameters

ParameterTagsDescription
urlIdRequiredTODO: Add a parameter description

Example Usage

    var urlId = 'urlId';

    controller.getStaffIdByUrlIdGET(urlId, function(error, response, context) {

    
    });

Method: getStaffListByCentreIdByCentreIdGET

TODO: Add a method description

function getStaffListByCentreIdByCentreIdGET(centreId, callback)

Parameters

ParameterTagsDescription
centreIdRequiredTODO: Add a parameter description

Example Usage

    var centreId = 'centreId';

    controller.getStaffListByCentreIdByCentreIdGET(centreId, function(error, response, context) {

    
    });

Method: getStaffListByIRMACenterIdByCenterIdGET

TODO: Add a method description

function getStaffListByIRMACenterIdByCenterIdGET(centerId, callback)

Parameters

ParameterTagsDescription
centerIdRequiredTODO: Add a parameter description

Example Usage

    var centerId = 'centerId';

    controller.getStaffListByIRMACenterIdByCenterIdGET(centerId, function(error, response, context) {

    
    });

Method: getStaffProfileUrlByStaffIdGET

TODO: Add a method description

function getStaffProfileUrlByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getStaffProfileUrlByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getStaffProfileUrlForReportingByStaffIdGET

TODO: Add a method description

function getStaffProfileUrlForReportingByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getStaffProfileUrlForReportingByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getSupervisedStudentsByStaffIdGET

TODO: Add a method description

function getSupervisedStudentsByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getSupervisedStudentsByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getThemeOptionsByDomainIdGET

TODO: Add a method description

function getThemeOptionsByDomainIdGET(domainId, callback)

Parameters

ParameterTagsDescription
domainIdRequiredTODO: Add a parameter description

Example Usage

    var domainId = 'domainId';

    controller.getThemeOptionsByDomainIdGET(domainId, function(error, response, context) {

    
    });

Method: getThemeOptionsByOrgUnitCodeGET

TODO: Add a method description

function getThemeOptionsByOrgUnitCodeGET(orgUnitCode, callback)

Parameters

ParameterTagsDescription
orgUnitCodeRequiredTODO: Add a parameter description

Example Usage

    var orgUnitCode = 'orgUnitCode';

    controller.getThemeOptionsByOrgUnitCodeGET(orgUnitCode, function(error, response, context) {

    
    });

Method: getThemesByStaffIdGET

TODO: Add a method description

function getThemesByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getThemesByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getThesisListByStaffIdGET

TODO: Add a method description

function getThesisListByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getThesisListByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getIsBlacklistedByStaffIdGET

TODO: Add a method description

function getIsBlacklistedByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getIsBlacklistedByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getIsCurrentByStaffIdGET

TODO: Add a method description

function getIsCurrentByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getIsCurrentByStaffIdGET(staffId, function(error, response, context) {

    
    });

Method: getIsCurrentInDomainByStaffIdAndDomainIdGET

TODO: Add a method description

function getIsCurrentInDomainByStaffIdAndDomainIdGET(staffId, domainId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description
domainIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';
    var domainId = 'domainId';

    controller.getIsCurrentInDomainByStaffIdAndDomainIdGET(staffId, domainId, function(error, response, context) {

    
    });

Method: getIsCurrentInOrgUnitCodeByStaffIdGET

TODO: Add a method description

function getIsCurrentInOrgUnitCodeByStaffIdGET(staffId, orgUnitCode, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description
orgUnitCodeRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';
    var orgUnitCode = 'orgUnitCode';

    controller.getIsCurrentInOrgUnitCodeByStaffIdGET(staffId, orgUnitCode, function(error, response, context) {

    
    });

Method: getPerformProjectSearchRangeSortIsReverseGET

TODO: Add a method description

function getPerformProjectSearchRangeSortIsReverseGET(queryString, startIndex, range, sort, isReverse, callback)

Parameters

ParameterTagsDescription
queryStringRequiredTODO: Add a parameter description
startIndexRequiredTODO: Add a parameter description
rangeRequiredTODO: Add a parameter description
sortRequiredTODO: Add a parameter description
isReverseRequiredTODO: Add a parameter description

Example Usage

    var queryString = 'queryString';
    var startIndex = 249;
    var range = 249;
    var sort = 'sort';
    var isReverse = true;

    controller.getPerformProjectSearchRangeSortIsReverseGET(queryString, startIndex, range, sort, isReverse, function(error, response, context) {

    
    });

Method: getPerformSimpleAttributeSearchRangeSortIsReverseGET

TODO: Add a method description

function getPerformSimpleAttributeSearchRangeSortIsReverseGET(queryString, startIndex, range, sort, isReverse, callback)

Parameters

ParameterTagsDescription
queryStringRequiredTODO: Add a parameter description
startIndexRequiredTODO: Add a parameter description
rangeRequiredTODO: Add a parameter description
sortRequiredTODO: Add a parameter description
isReverseRequiredTODO: Add a parameter description

Example Usage

    var queryString = 'queryString';
    var startIndex = 249;
    var range = 249;
    var sort = 'sort';
    var isReverse = true;

    controller.getPerformSimpleAttributeSearchRangeSortIsReverseGET(queryString, startIndex, range, sort, isReverse, function(error, response, context) {

    
    });

Method: getUpdateCacheByStaffIdGET

TODO: Add a method description

function getUpdateCacheByStaffIdGET(staffId, callback)

Parameters

ParameterTagsDescription
staffIdRequiredTODO: Add a parameter description

Example Usage

    var staffId = 'staffId';

    controller.getUpdateCacheByStaffIdGET(staffId, function(error, response, context) {

    
    });

Back to List of Controllers

1.0.0

5 years ago