|
|||||||||
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.GroupLayers
@Entity public class GroupLayers
Class link between the layers and the groups.
Group
,
Layer
,
Serialized FormNested 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,GroupLayers> |
find
|
Fields inherited from class play.db.ebean.Model |
---|
_ebean_identity, _ebean_intercept |
Constructor Summary | |
---|---|
GroupLayers(Layer layer,
Group group,
java.lang.Integer order)
Constructor of class |
Method Summary | |
---|---|
static java.util.List<GroupLayers> |
all()
|
static GroupLayers |
findById(java.lang.Long id)
search layers by id |
static GroupLayers |
findById(java.lang.Long id,
java.lang.Long rightId)
search layers by id, available to user. |
static java.util.List<GroupLayers> |
findByTypeName(java.lang.String typeName)
Find layer by typeName |
static java.util.List<GroupLayers> |
findByTypeName(java.lang.String typeName,
java.lang.Long rightId)
Find layer by typeName, available to user. |
Group |
getGroup()
|
java.lang.Long |
getGroupId()
|
Layer |
getLayer()
|
java.lang.Integer |
getOrder()
|
static java.util.List<GroupLayers> |
list(java.lang.Long rightId)
|
void |
setGroupId(java.lang.Long groupId)
set group by id |
void |
setLayerId(Layer layer)
Set layer |
void |
setOrder(java.lang.Integer order)
set index number group. |
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,GroupLayers> find
Finder
Constructor Detail |
---|
public GroupLayers(Layer layer, Group group, java.lang.Integer order)
layer
- layergroup
- group of layersorder
- index number group.Layer
Method Detail |
---|
public Layer getLayer()
public void setLayerId(Layer layer)
layer
- layerLayer
public Group getGroup()
public java.lang.Long getGroupId()
public void setGroupId(java.lang.Long groupId)
groupId
- id group of layerspublic java.lang.Integer getOrder()
public void setOrder(java.lang.Integer order)
order
- index number group.public static java.util.List<GroupLayers> all()
public static java.util.List<GroupLayers> list(java.lang.Long rightId)
rightId
- id right of user.
public static java.util.List<GroupLayers> findByTypeName(java.lang.String typeName, java.lang.Long rightId)
typeName
- layer typeName.rightId
- id right of user.
public static java.util.List<GroupLayers> findByTypeName(java.lang.String typeName)
typeName
- layer typeName.
public static GroupLayers findById(java.lang.Long id)
id
- id layers
public static GroupLayers findById(java.lang.Long id, java.lang.Long rightId)
id
- id layersrightId
- id right of user.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |