~dhis2-devs-core/dhis2/trunk

« back to all changes in this revision

Viewing changes to dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descriptors/AttributeSchemaDescriptor.java

  • Committer: Morten Olav Hansen
  • Date: 2014-05-28 11:48:43 UTC
  • Revision ID: mortenoh@gmail.com-20140528114843-xwbltbu1chocq64g
wip, implement ordering of schemas

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    {
54
54
        Schema schema = new Schema( Attribute.class, SINGULAR, PLURAL );
55
55
        schema.setApiEndpoint( API_ENDPOINT );
 
56
        schema.setOrder( 106 );
56
57
 
57
58
        schema.getAuthorities().add( new Authority( AuthorityType.CREATE, Lists.newArrayList( "F_ATTRIBUTE_ADD" ) ) );
58
59
        schema.getAuthorities().add( new Authority( AuthorityType.DELETE, Lists.newArrayList( "F_ATTRIBUTE_DELETE" ) ) );