public interface RecordServiceLocal extends CRUDServiceLocal<Record,RecordDTO,RecordData,RecordDataParams>, RecordService
RecordService| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_RECORD_TYPE
Attribute name for scripting: The record type being searched
|
static java.lang.String |
ATTR_USER
Attribute name for scripting: The user in which records are being searched
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeToSingleForm(RecordType recordType)
Returns true if the record type can be changed to single form layout.
|
int |
getRecordsCount(SystemRecordType type)
Returns the count for system records of the given type
|
int |
getRecordsCount(UserRecordType type,
User user)
Returns the count for records of the given type and user
|
java.util.List<RecordTypeCountVO> |
getRecordTypeCount(User user)
Returns a list with the visible record types by the logged user of the given user
|
java.util.List<UserRecordType> |
getSharedSearchableRecordTypes()
Returns the record types that has at least one searchable shared record custom field
|
SystemRecord |
getSingleFormRecord(SystemRecordType rt)
Returns the record for this single form system record type
|
UserRecord |
getSingleFormRecord(UserRecordType rt,
User user)
Returns the record for this single form user record type
|
java.util.List<RecordTypeCountVO> |
getSystemRecordTypeCount()
Returns a list with the visible system record types by the logged user
|
boolean |
hasRecordCustomFieldValue(RecordType type,
RecordCustomField field)
Returns true if there is at least one record custom field value for the given type and field.
|
java.util.List<SystemRecord> |
listSystem(SystemRecordType recordType)
Lists the system records for the given type
|
java.util.List<UserRecord> |
listUser(UserRecordType recordType,
User user)
Lists the user records for the given type and user
|
void |
purgeAll(User user)
Removes all user records of the given user whose types are set to remove records when purging users
|
find, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validateexportToCSV, getRecordTypeCount, getSearchData, getSharedFieldsSearchData, getTiledRecordsData, loadVO, searchgetData, getDataForNew, load, remove, removeAll, savestatic final java.lang.String ATTR_USER
static final java.lang.String ATTR_RECORD_TYPE
boolean canChangeToSingleForm(RecordType recordType)
int getRecordsCount(SystemRecordType type)
int getRecordsCount(UserRecordType type, User user)
java.util.List<RecordTypeCountVO> getRecordTypeCount(User user)
java.util.List<UserRecordType> getSharedSearchableRecordTypes()
SystemRecord getSingleFormRecord(SystemRecordType rt)
UserRecord getSingleFormRecord(UserRecordType rt, User user)
java.util.List<RecordTypeCountVO> getSystemRecordTypeCount()
boolean hasRecordCustomFieldValue(RecordType type, RecordCustomField field)
java.util.List<SystemRecord> listSystem(SystemRecordType recordType)
java.util.List<UserRecord> listUser(UserRecordType recordType, User user)
void purgeAll(User user)