public final class CompetenceMapFacade
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.tencompetence.generated.model.CompetenceMap |
addCompetenceMap(org.tencompetence.generated.model.CompetenceMap map,
int competenceLevelValues,
int competenceProfileLevelValues,
com.liferay.portal.service.ServiceContext ctx)
Adds the competence map.
|
static org.tencompetence.generated.model.CompetenceMap |
createCompetenceMap()
Creates the competence map.
|
static org.tencompetence.generated.model.CompetenceMap |
getCompetenceMap(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence map.
|
static org.tencompetence.generated.model.CompetenceMap |
getCompetenceMapByCompanyId(long companyId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence map by company id.
|
static org.tencompetence.generated.model.CompetenceMap |
getCompetenceMapByGroupId(long groupId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence map by group id.
|
static void |
updateCompetenceLevelValues(org.tencompetence.generated.model.CompetenceMap competenceMap,
int numLevels,
com.liferay.portal.service.ServiceContext ctx)
Update the CompetenceLevelValues to a new number.
|
static org.tencompetence.generated.model.CompetenceMap |
updateCompetenceMap(org.tencompetence.generated.model.CompetenceMap competenceMap,
com.liferay.portal.service.ServiceContext ctx)
Update competence map.
|
static void |
updateCompetenceProfileLevelValues(org.tencompetence.generated.model.CompetenceMap competenceMap,
int newLevelCount)
Update the CompetenceProfileLevelValues to a new number.
|
static void |
updateCompetenceProfileLevelValues(org.tencompetence.generated.model.CompetenceMap competenceMap,
int numLevels,
com.liferay.portal.service.ServiceContext ctx)
Update competence profile level values.
|
public static org.tencompetence.generated.model.CompetenceMap createCompetenceMap() throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static org.tencompetence.generated.model.CompetenceMap addCompetenceMap(org.tencompetence.generated.model.CompetenceMap map, int competenceLevelValues, int competenceProfileLevelValues, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
map
- the mapcompetenceLevelValues
- the competence level valuescompetenceProfileLevelValues
- the competence profile level valuesctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.CompetenceMap getCompetenceMap(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
competenceMapId
- the competence map idctx
- the ctxcom.liferay.portal.kernel.exception.PortalException
- the portal exceptioncom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static org.tencompetence.generated.model.CompetenceMap getCompetenceMapByCompanyId(long companyId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
companyId
- the company idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.CompetenceMap getCompetenceMapByGroupId(long groupId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
groupId
- the group idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.CompetenceMap updateCompetenceMap(org.tencompetence.generated.model.CompetenceMap competenceMap, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceMap
- the competence mapctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static void updateCompetenceProfileLevelValues(org.tencompetence.generated.model.CompetenceMap competenceMap, int numLevels, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceMap
- the competence mapnumLevels
- the num levelsctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static void updateCompetenceLevelValues(org.tencompetence.generated.model.CompetenceMap competenceMap, int numLevels, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceMap
- The competenceMapnumLevels
- The new number of CompetenceLevelValuesctx
- ctxcom.liferay.portal.kernel.exception.SystemException
- SystemExceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static void updateCompetenceProfileLevelValues(org.tencompetence.generated.model.CompetenceMap competenceMap, int newLevelCount) throws com.liferay.portal.kernel.exception.SystemException
competenceMap
- The competenceMapnewLevelCount
- The new number of CompetenceProfileLevelValuescom.liferay.portal.kernel.exception.SystemException
- SystemException