Class ObjectDefinitionLocalServiceUtil
com.liferay.object.service.impl.ObjectDefinitionLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectDefinition
addCustomObjectDefinition
(long userId, long objectFolderId, String className, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, Map<Locale, String> pluralLabelMap, boolean portlet, String scope, String storageType, List<ObjectField> objectFields) static ObjectDefinition
addObjectDefinition
(ObjectDefinition objectDefinition) Adds the object definition to the database.static ObjectDefinition
addObjectDefinition
(String externalReferenceCode, long userId, long objectFolderId, boolean modifiable, String scope, boolean system) static ObjectDefinition
addOrUpdateSystemObjectDefinition
(long companyId, long objectFolderId, SystemObjectDefinitionManager systemObjectDefinitionManager) static ObjectDefinition
addSystemObjectDefinition
(String externalReferenceCode, long userId, long objectFolderId, String className, String dbTableName, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, Map<Locale, String> labelMap, boolean modifiable, String name, String panelAppOrder, String panelCategoryKey, String pkObjectFieldDBColumnName, String pkObjectFieldName, Map<Locale, String> pluralLabelMap, boolean portlet, String scope, String titleObjectFieldName, int version, int status, List<ObjectField> objectFields) static ObjectDefinition
createObjectDefinition
(long objectDefinitionId) Creates a new object definition with the primary key.static com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) static void
deleteCompanyObjectDefinitions
(long companyId) static ObjectDefinition
deleteObjectDefinition
(long objectDefinitionId) Deletes the object definition with the primary key from the database.static ObjectDefinition
deleteObjectDefinition
(ObjectDefinition objectDefinition) Deletes the object definition from the database.static com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) static void
deployInactiveObjectDefinition
(ObjectDefinition objectDefinition) static void
deployObjectDefinition
(ObjectDefinition objectDefinition) static void
static <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static com.liferay.portal.kernel.dao.orm.DynamicQuery
static <T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.static <T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.static <T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.static long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.static long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.static ObjectDefinition
enableAccountEntryRestricted
(ObjectRelationship objectRelationship) static ObjectDefinition
static ObjectDefinition
fetchObjectDefinition
(long objectDefinitionId) static ObjectDefinition
fetchObjectDefinition
(long companyId, String name) static ObjectDefinition
fetchObjectDefinitionByClassName
(long companyId, String className) static ObjectDefinition
fetchObjectDefinitionByExternalReferenceCode
(String externalReferenceCode, long companyId) static ObjectDefinition
fetchObjectDefinitionByUuidAndCompanyId
(String uuid, long companyId) Returns the object definition with the matching UUID and company.static ObjectDefinition
fetchSystemObjectDefinition
(long companyId, String name) static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
static List<ObjectDefinition>
getBoundObjectDefinitions
(long companyId, long rootObjectDefinitionId) static List<ObjectDefinition>
getCustomObjectDefinitions
(int status) static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
static ObjectDefinition
getObjectDefinition
(long objectDefinitionId) Returns the object definition with the primary key.static ObjectDefinition
getObjectDefinition
(long companyId, String name) static ObjectDefinition
getObjectDefinitionByExternalReferenceCode
(String externalReferenceCode, long companyId) static ObjectDefinition
getObjectDefinitionByUuidAndCompanyId
(String uuid, long companyId) Returns the object definition with the matching UUID and company.static List<ObjectDefinition>
getObjectDefinitions
(boolean accountEntryRestricted) static List<ObjectDefinition>
getObjectDefinitions
(int start, int end) Returns a range of all the object definitions.static List<ObjectDefinition>
getObjectDefinitions
(long companyId, boolean active, boolean system, int status) static List<ObjectDefinition>
getObjectDefinitions
(long companyId, boolean active, int status) static List<ObjectDefinition>
getObjectDefinitions
(long companyId, int status) static int
Returns the number of object definitions.static int
getObjectDefinitionsCount
(long companyId) static List<ObjectDefinition>
getObjectFolderObjectDefinitions
(long objectFolderId) static int
getObjectFolderObjectDefinitionsCount
(long objectFolderId) static String
Returns the OSGi service identifier.static com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) static ObjectDefinitionLocalService
static List<ObjectDefinition>
static List<ObjectDefinition>
getUnmodifiableSystemObjectDefinitions
(long companyId) static boolean
hasObjectRelationship
(long objectDefinitionId) static ObjectDefinition
publishCustomObjectDefinition
(long userId, long objectDefinitionId) static ObjectDefinition
publishSystemObjectDefinition
(long userId, long objectDefinitionId) static void
undeployObjectDefinition
(ObjectDefinition objectDefinition) static ObjectDefinition
updateCustomObjectDefinition
(String externalReferenceCode, long objectDefinitionId, long accountEntryRestrictedObjectFieldId, long descriptionObjectFieldId, long objectFolderId, long titleObjectFieldId, boolean accountEntryRestricted, boolean active, String className, boolean enableCategorization, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, boolean enableObjectEntryHistory, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, boolean portlet, Map<Locale, String> pluralLabelMap, String scope, int status) static ObjectDefinition
updateExternalReferenceCode
(long objectDefinitionId, String externalReferenceCode) static ObjectDefinition
updateObjectDefinition
(ObjectDefinition objectDefinition) Updates the object definition in the database or adds it if it does not yet exist.static ObjectDefinition
updateObjectFolderId
(long objectDefinitionId, long objectFolderId) static ObjectDefinition
updatePortlet
(long objectDefinitionId) static ObjectDefinition
updateRootDescendantNodeObjectDefinition
(ObjectDefinition objectDefinition, long rootObjectDefinitionId) static ObjectDefinition
updateRootObjectDefinitionId
(long objectDefinitionId, long rootObjectDefinitionId) static ObjectDefinition
updateSystemObjectDefinition
(String externalReferenceCode, long objectDefinitionId, long objectFolderId, long titleObjectFieldId) static ObjectDefinition
updateTitleObjectFieldId
(long objectDefinitionId, long titleObjectFieldId) static void
updateUserId
(long companyId, long oldUserId, long newUserId)
-
Constructor Details
-
ObjectDefinitionLocalServiceUtil
public ObjectDefinitionLocalServiceUtil()
-
-
Method Details
-
addCustomObjectDefinition
public static ObjectDefinition addCustomObjectDefinition(long userId, long objectFolderId, String className, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> pluralLabelMap, boolean portlet, String scope, String storageType, List<ObjectField> objectFields) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addObjectDefinition
Adds the object definition to the database. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
objectDefinition
- the object definition- Returns:
- the object definition that was added
-
addObjectDefinition
public static ObjectDefinition addObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, boolean modifiable, String scope, boolean system) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateSystemObjectDefinition
public static ObjectDefinition addOrUpdateSystemObjectDefinition(long companyId, long objectFolderId, SystemObjectDefinitionManager systemObjectDefinitionManager) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSystemObjectDefinition
public static ObjectDefinition addSystemObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, String className, String dbTableName, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, Map<Locale, String> labelMap, boolean modifiable, String name, String panelAppOrder, String panelCategoryKey, String pkObjectFieldDBColumnName, String pkObjectFieldName, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> pluralLabelMap, boolean portlet, String scope, String titleObjectFieldName, int version, int status, List<ObjectField> objectFields) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
createObjectDefinition
Creates a new object definition with the primary key. Does not add the object definition to the database.- Parameters:
objectDefinitionId
- the primary key for the new object definition- Returns:
- the new object definition
-
createPersistedModel
public static com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCompanyObjectDefinitions
public static void deleteCompanyObjectDefinitions(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectDefinition
public static ObjectDefinition deleteObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the object definition with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
objectDefinitionId
- the primary key of the object definition- Returns:
- the object definition that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a object definition with the primary key could not be found
-
deleteObjectDefinition
public static ObjectDefinition deleteObjectDefinition(ObjectDefinition objectDefinition) throws com.liferay.portal.kernel.exception.PortalException Deletes the object definition from the database. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
objectDefinition
- the object definition- Returns:
- the object definition that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deployInactiveObjectDefinition
-
deployObjectDefinition
-
deployObjectDefinitions
public static void deployObjectDefinitions() -
dslQuery
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dslQueryCount
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dynamicQuery
public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() -
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectDefinitionModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public static <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectDefinitionModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public static long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
enableAccountEntryRestricted
public static ObjectDefinition enableAccountEntryRestricted(ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
enableAccountEntryRestrictedForNondefaultStorageType
public static ObjectDefinition enableAccountEntryRestrictedForNondefaultStorageType(ObjectField objectField) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchObjectDefinition
-
fetchObjectDefinition
-
fetchObjectDefinitionByClassName
-
fetchObjectDefinitionByExternalReferenceCode
public static ObjectDefinition fetchObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) -
fetchObjectDefinitionByUuidAndCompanyId
Returns the object definition with the matching UUID and company.- Parameters:
uuid
- the object definition's UUIDcompanyId
- the primary key of the company- Returns:
- the matching object definition, or
null
if a matching object definition could not be found
-
fetchSystemObjectDefinition
-
getActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() -
getBoundObjectDefinitions
public static List<ObjectDefinition> getBoundObjectDefinitions(long companyId, long rootObjectDefinitionId) -
getCustomObjectDefinitions
-
getExportActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) -
getIndexableActionableDynamicQuery
public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() -
getObjectDefinition
public static ObjectDefinition getObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the object definition with the primary key.- Parameters:
objectDefinitionId
- the primary key of the object definition- Returns:
- the object definition
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a object definition with the primary key could not be found
-
getObjectDefinition
public static ObjectDefinition getObjectDefinition(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitionByExternalReferenceCode
public static ObjectDefinition getObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitionByUuidAndCompanyId
public static ObjectDefinition getObjectDefinitionByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the object definition with the matching UUID and company.- Parameters:
uuid
- the object definition's UUIDcompanyId
- the primary key of the company- Returns:
- the matching object definition
- Throws:
com.liferay.portal.kernel.exception.PortalException
- if a matching object definition could not be found
-
getObjectDefinitions
-
getObjectDefinitions
Returns a range of all the object definitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectDefinitionModelImpl
.- Parameters:
start
- the lower bound of the range of object definitionsend
- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of object definitions
-
getObjectDefinitions
public static List<ObjectDefinition> getObjectDefinitions(long companyId, boolean active, boolean system, int status) -
getObjectDefinitions
public static List<ObjectDefinition> getObjectDefinitions(long companyId, boolean active, int status) -
getObjectDefinitions
-
getObjectDefinitionsCount
public static int getObjectDefinitionsCount()Returns the number of object definitions.- Returns:
- the number of object definitions
-
getObjectDefinitionsCount
public static int getObjectDefinitionsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectFolderObjectDefinitions
-
getObjectFolderObjectDefinitionsCount
public static int getObjectFolderObjectDefinitionsCount(long objectFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSystemObjectDefinitions
-
getUnmodifiableSystemObjectDefinitions
-
hasObjectRelationship
public static boolean hasObjectRelationship(long objectDefinitionId) -
publishCustomObjectDefinition
public static ObjectDefinition publishCustomObjectDefinition(long userId, long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishSystemObjectDefinition
public static ObjectDefinition publishSystemObjectDefinition(long userId, long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
undeployObjectDefinition
-
updateCustomObjectDefinition
public static ObjectDefinition updateCustomObjectDefinition(String externalReferenceCode, long objectDefinitionId, long accountEntryRestrictedObjectFieldId, long descriptionObjectFieldId, long objectFolderId, long titleObjectFieldId, boolean accountEntryRestricted, boolean active, String className, boolean enableCategorization, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, boolean enableObjectEntryHistory, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, boolean portlet, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> pluralLabelMap, String scope, int status) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public static ObjectDefinition updateExternalReferenceCode(long objectDefinitionId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectDefinition
Updates the object definition in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
objectDefinition
- the object definition- Returns:
- the object definition that was updated
-
updateObjectFolderId
public static ObjectDefinition updateObjectFolderId(long objectDefinitionId, long objectFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePortlet
public static ObjectDefinition updatePortlet(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRootDescendantNodeObjectDefinition
public static ObjectDefinition updateRootDescendantNodeObjectDefinition(ObjectDefinition objectDefinition, long rootObjectDefinitionId) -
updateRootObjectDefinitionId
public static ObjectDefinition updateRootObjectDefinitionId(long objectDefinitionId, long rootObjectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSystemObjectDefinition
public static ObjectDefinition updateSystemObjectDefinition(String externalReferenceCode, long objectDefinitionId, long objectFolderId, long titleObjectFieldId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateTitleObjectFieldId
public static ObjectDefinition updateTitleObjectFieldId(long objectDefinitionId, long titleObjectFieldId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUserId
public static void updateUserId(long companyId, long oldUserId, long newUserId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-