|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.db.ebean.Model models.entity.layer.Group
@Entity public class Group
Class group of layers
Nested Class Summary |
---|
Nested classes/interfaces inherited from class play.db.ebean.Model |
---|
play.db.ebean.Model.Finder<I,T> |
Field Summary | |
---|---|
static play.db.ebean.Model.Finder<java.lang.Long,Group> |
find
|
Fields inherited from class play.db.ebean.Model |
---|
_ebean_identity, _ebean_intercept |
Constructor Summary | |
---|---|
Group(java.lang.String name,
java.lang.String order)
Constructor of class |
Method Summary | |
---|---|
static java.util.List<Group> |
all()
|
static Group |
findById(java.lang.Long id)
search group of layers by id |
static Group |
findById(java.lang.Long id,
java.lang.Long rightId)
Search group of layers by id, available to user. |
static java.util.List<Group> |
findByName(java.lang.String name)
Search group of layers by name. |
static java.util.List<Group> |
findByName(java.lang.String name,
java.lang.Long rightId)
Search group of layers by name, available to user. |
java.util.List<GroupLayers> |
getGroupLayers()
|
java.lang.Long |
getId()
|
java.lang.String |
getName()
|
java.lang.String |
getOrder()
|
static java.util.List<Group> |
list(java.lang.Long rightId)
|
static java.util.List<Group> |
removeEmptyGroups(java.util.List<Group> groups)
|
void |
setGroupsLayersList(java.util.List<GroupLayers> groupsLayersList)
set layers |
void |
setId(java.lang.Long id)
|
void |
setName(java.lang.String name)
|
void |
setOrder(java.lang.String order)
set order field |
Methods inherited from class play.db.ebean.Model |
---|
_ebean_createCopy, _ebean_get__idGetSet, _ebean_getField, _ebean_getFieldIntercept, _ebean_getFieldNames, _ebean_getIntercept, _ebean_getMarker, _ebean_getni__idGetSet, _ebean_intercept, _ebean_isEmbeddedNewOrDirty, _ebean_newInstance, _ebean_set__idGetSet, _ebean_setEmbeddedLoaded, _ebean_setField, _ebean_setFieldIntercept, _ebean_setni__idGetSet, addPropertyChangeListener, addPropertyChangeListener, delete, delete, deleteManyToManyAssociations, equals, hashCode, refresh, refresh, removePropertyChangeListener, removePropertyChangeListener, save, save, saveManyToManyAssociations, saveManyToManyAssociations, update, update, update, update |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static play.db.ebean.Model.Finder<java.lang.Long,Group> find
Constructor Detail |
---|
public Group(java.lang.String name, java.lang.String order)
name
- group nameorder
- field that is sorted groupsMethod Detail |
---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getOrder()
public java.util.List<GroupLayers> getGroupLayers()
GroupLayers
public void setGroupsLayersList(java.util.List<GroupLayers> groupsLayersList)
groupsLayersList
- ListGroupLayers
public void setOrder(java.lang.String order)
order
- field that is sorted groupspublic static java.util.List<Group> list(java.lang.Long rightId)
rightId
- id right of user.
Group
public static java.util.List<Group> all()
public static java.util.List<Group> removeEmptyGroups(java.util.List<Group> groups)
groups
- ListGroup
public static Group findById(java.lang.Long id)
id
- id group
public static Group findById(java.lang.Long id, java.lang.Long rightId)
id
- id grouprightId
- id right of user
Group
public static java.util.List<Group> findByName(java.lang.String name)
name
- name group of layers
Group
public static java.util.List<Group> findByName(java.lang.String name, java.lang.Long rightId)
name
- name group of layersrightId
- id right of user
Group
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |