Package de.xima.fc.api.entity
Class FormElementAPI
- java.lang.Object
-
- de.xima.fc.api.ASubAPI
-
- de.xima.fc.api.entity.AEntityAPI<FormElement>
-
- de.xima.fc.api.entity.FormElementAPI
-
public class FormElementAPI extends AEntityAPI<FormElement>
API class for manipulation ofFormElement
entities.- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
-
Constructor Summary
Constructors Constructor Description FormElementAPI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FormElement>
getAllByFormVersion(UserContext uc, FormVersion fv)
Method for determining allFormElement
objects of aFormVersion
.FormElement
getByUUID(UserContext uc, FormVersion formVersion, String uuid)
Returns the form element with the given UUID stringFormElement
getByUUID(UserContext uc, FormVersion formVersion, UUID uuid)
Returns the form element with the given UUIDvoid
removeAllFromFormVersion(UserContext uc, FormVersion fv)
Method for deleting allFormElement
s of aFormVersion
.-
Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
-
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
-
-
-
Method Detail
-
getAllByFormVersion
public List<FormElement> getAllByFormVersion(UserContext uc, FormVersion fv)
Method for determining allFormElement
objects of aFormVersion
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.fv
-FormVersion
whoseFormElement
objects are searched.- Returns:
List
with the searchedFormElement
objects.- Since:
- 2.4.3
-
getByUUID
public FormElement getByUUID(UserContext uc, FormVersion formVersion, String uuid)
Returns the form element with the given UUID string- Parameters:
uc
-UserContext
to useformVersion
-FormVersion
context in which to look for form elementuuid
-String
UUID string of the form element- Returns:
FormElement
for the given UUID and form version- Since:
- 6.x.x
-
getByUUID
public FormElement getByUUID(UserContext uc, FormVersion formVersion, UUID uuid)
Returns the form element with the given UUID- Parameters:
uc
-UserContext
to useformVersion
-FormVersion
context in which to look for form elementuuid
-UUID
UUID of the form element- Returns:
FormElement
for the given UUID and form version- Since:
- 6.x.x
-
removeAllFromFormVersion
public void removeAllFromFormVersion(UserContext uc, FormVersion fv)
Method for deleting allFormElement
s of aFormVersion
.- Parameters:
uc
-UserContext
the user context in which the action is to be performed.fv
-FormVersion
whoseFormElement
objects are searched.- Since:
- 2.4.3
-
-